Interface IDtoTransportation
- All Known Implementing Classes:
DtoTransportation
public interface IDtoTransportation
Details about a transportation from one device to another or itself. Transportations happen between jobs that have a dependency between them.
-
Method Summary
Modifier and TypeMethodDescriptiongetCost()Cost of this transportation.Duration of this transportation.getFrom()Id of the device of the predecessor.getId()Unique identifier among all DtoTransportationgetTo()Id of the device of the successor.voidCost of this transportation.voidsetDuration(Long duration) Duration of this transportation.voidId of the device of the predecessor.voidUnique identifier among all DtoTransportationvoidId of the device of the successor.
-
Method Details
-
getId
String getId()Unique identifier among all DtoTransportation -
setId
Unique identifier among all DtoTransportation -
getTo
String getTo()Id of the device of the successor. -
setTo
Id of the device of the successor. -
getFrom
String getFrom()Id of the device of the predecessor. -
setFrom
Id of the device of the predecessor. -
getCost
Double getCost()Cost of this transportation. -
setCost
Cost of this transportation. -
getDuration
Long getDuration()Duration of this transportation. -
setDuration
Duration of this transportation.
-