Class RouteImpl

java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.tms.routing.RouteImpl
All Implemented Interfaces:
Serializable, org.ameba.integration.TypedEntity<Long>, Route

@Entity public class RouteImpl extends org.ameba.integration.jpa.ApplicationEntity implements Route
A RouteImpl.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • NO_ROUTE

      public static final Route NO_ROUTE
      For TransportUnits without active TransportOrder.
    • DEF_ROUTE

      public static final Route DEF_ROUTE
      For all TransportOrders with no explicitly defined Route.
    • routeId

      @NotNull private @NotNull String routeId
    • description

      private String description
    • sourceLocation

      private LocationEO sourceLocation
    • targetLocation

      private LocationEO targetLocation
    • sourceLocationGroupName

      private String sourceLocationGroupName
    • targetLocationGroupName

      private String targetLocationGroupName
    • enabled

      private boolean enabled
  • Constructor Details

  • Method Details

    • setPersistentKey

      public void setPersistentKey(String pKey)
      Overrides:
      setPersistentKey in class org.ameba.integration.jpa.ApplicationEntity
    • getRouteId

      public String getRouteId()
      Specified by:
      getRouteId in interface Route
    • setRouteId

      public void setRouteId(String routeId)
    • getDescription

      public String getDescription()
    • hasSourceLocation

      public boolean hasSourceLocation()
    • getSourceLocation

      public LocationEO getSourceLocation()
    • setSourceLocation

      public void setSourceLocation(LocationEO sourceLocation)
    • hasTargetLocation

      public boolean hasTargetLocation()
    • getTargetLocation

      public LocationEO getTargetLocation()
    • setTargetLocation

      public void setTargetLocation(LocationEO targetLocation)
    • getSourceLocationGroupName

      public String getSourceLocationGroupName()
    • getTargetLocationGroupName

      public String getTargetLocationGroupName()
    • isEnabled

      public boolean isEnabled()
    • of

      public static Route of(String routeId)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.ameba.integration.jpa.ApplicationEntity
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.ameba.integration.jpa.ApplicationEntity