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 Type
    Method
    Description
    Cost of this transportation.
    Duration of this transportation.
    Id of the device of the predecessor.
    Unique identifier among all DtoTransportation
    Id of the device of the successor.
    void
    Cost of this transportation.
    void
    setDuration(Long duration)
    Duration of this transportation.
    void
    Id of the device of the predecessor.
    void
    Unique identifier among all DtoTransportation
    void
    Id of the device of the successor.
  • Method Details

    • getId

      String getId()
      Unique identifier among all DtoTransportation
    • setId

      void setId(String id)
      Unique identifier among all DtoTransportation
    • getTo

      String getTo()
      Id of the device of the successor.
    • setTo

      void setTo(String to)
      Id of the device of the successor.
    • getFrom

      String getFrom()
      Id of the device of the predecessor.
    • setFrom

      void setFrom(String from)
      Id of the device of the predecessor.
    • getCost

      Double getCost()
      Cost of this transportation.
    • setCost

      void setCost(Double cost)
      Cost of this transportation.
    • getDuration

      Long getDuration()
      Duration of this transportation.
    • setDuration

      void setDuration(Long duration)
      Duration of this transportation.