Class LocationEO

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

@Entity public class LocationEO extends org.ameba.integration.jpa.ApplicationEntity
A LocationEO is an Entity Object (EO) that represents a Location in a simple way.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • foreignPKey

      private String foreignPKey
      The foreign persistent key of the Location.
    • locationId

      @NotNull private @NotNull String locationId
      The unique business key.
    • locationGroupName

      private String locationGroupName
      The name of the LocationGroup this Location belongs to.
    • markForDeletion

      private boolean markForDeletion
      Flag to determine if this Location is marked for deletion and cannot be used anymore.
  • Constructor Details

    • LocationEO

      public LocationEO()
      Just to satisfy the shitty mapper implementation this constructor needs to be public.
    • LocationEO

      public LocationEO(String locationId)
  • Method Details

    • getForeignPKey

      public String getForeignPKey()
    • setForeignPKey

      public void setForeignPKey(String foreignPKey)
    • getLocationId

      public String getLocationId()
    • setLocationId

      public void setLocationId(String locationId)
    • getLocationGroupName

      public String getLocationGroupName()
    • setLocationGroupName

      public void setLocationGroupName(String locationGroupName)
    • isMarkForDeletion

      public boolean isMarkForDeletion()
    • setMarkForDeletion

      public void setMarkForDeletion(boolean markForDeletion)
    • toString

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

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

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