Class TransportUnit

java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.wms.receiving.transport.TransportUnit
All Implemented Interfaces:
Serializable, org.ameba.integration.TypedEntity<Long>

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

    • foreignPKey

      @NotEmpty private @NotEmpty String foreignPKey
      The foreign persistent key of the TransportUnit.
    • barcode

      @NotNull private @NotNull String barcode
      Unique natural key.
    • actualLocation

      private String actualLocation
      The current Location of the TransportUnit.
  • Constructor Details

    • TransportUnit

      protected TransportUnit()
      Dear JPA...
    • TransportUnit

      public TransportUnit(String barcode, String actualLocation)
      Dear JPA...
  • Method Details

    • getForeignPKey

      public String getForeignPKey()
    • setForeignPKey

      public void setForeignPKey(String foreignPKey)
    • getBarcode

      public String getBarcode()
    • getActualLocation

      public String getActualLocation()
    • setActualLocation

      public void setActualLocation(String actualLocation)
    • toString

      public String toString()
      Only the barcode.
      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