Livoa LogoLivoa
Shipmen


-String shipmenID

-String origin

-String destination

-Date shipmentDate

-String status


+getShipmenID() : String

+getShipmenID(String) : void

+addVehicle(Vehicle) : void

+assignTransport(Transport) : void

+assignContainer(StorageContaine) : void

+processShipment() : void

+trackShipment() : String

+calculateTotalCost() : double

abstract class Transport


-String transportID

-String transportType

-double costPerKm

-int maxCapacity


+getTransportID() : String

+setTransportID(String) : void

+calculateTransportCost(double) : double

+checkAvailability() : boolean

+displayTransportInfo() : void

Continen


-String continentName

-String[] countries

-boolean seaAccessible

-boolean landAccessible


+getContinentName() : String

+setContinentName(String) : void

+getAvailableTransportModes() : String[]

+displayContinentInfo() : void

SeaTransport


-String shipName

-String portOfDeparture

-String portOfArrival

-int voyageDuration


+getShipName() : String

+setShipName(String) : void

+calculateTransportCost(double km) : double

+scheduleVoyage() : void

+displayTransportInfo() : void

LandTransport


-String vehicleType

-String route

-double distance


+getVehicleType() : String

+setVehicleType(String) : void

+calculateTransportCost(double) : double

+planRoute() : void

+displayTransportInfo() : void

StorageContaine


-String containerID

-double length

-double width

-double height

-int maxVehicles

-boolean isSecure


+getContainerID() : String

+setContainerID(String) : void

+loadVehicle(Vehicle) : boolean

+unloadVehicle(Vehicle) : boolean

+checkStability() : boolean

+calculateCapacity() : double

abstract class Vehicle


-String vehicleID

-String model

-String manufacturer

-double price

-String color

-int year


+getVehicleID() : String

+setVehicleID(String) : void

+getModel() : String

+setModel(String) : void

+calculateShippingCost() : double

+displayVehicleInfo() : void

SmallVehicle


-int capacity

-double fuelConsumption

-String engineType

-int numberOfDoors


+getCapacity() : int

+setCapacity(int) : void

+getFuelConsumption() : double

+setFuelConsumption(double) : void

+calculateShippingCost() : double

+displayVehicleInfo() : void

LargeVehicle


-int capacity

-double fuelConsumption

-int numberOfSeats

-boolean slidingDoor


+getCapacity() : int

+setCapacity(int) : void

+getFuelConsumption() : double

+setFuelConsumption(double) : void

+calculateShippingCost() : double

+displayVehicleInfo() : void

cs304p

by hh

0
0 uses