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 Summary

    Fields
    Modifier and Type
    Field
    Description
    private @NotBlank String
    The current Location of the TransportUnit.
    private @NotBlank String
    Unique natural key.
    private @NotBlank String
    The foreign persistent key of the TransportUnit.

    Fields inherited from class org.ameba.integration.jpa.ApplicationEntity

    C_ID
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Dear JPA...
     
    TransportUnit(String barcode, String actualLocation)
    Dear JPA...
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    All fields.
     
     
     
    int
    All fields.
    void
    setActualLocation(String actualLocation)
     
    void
    setForeignPKey(String foreignPKey)
     
    Only the barcode.

    Methods inherited from class org.ameba.integration.jpa.ApplicationEntity

    getPersistentKey, hasPersistentKey, onEntityPersist, onPersist, setPersistentKey

    Methods inherited from class org.ameba.integration.jpa.BaseEntity

    getCreatedBy, getCreateDt, getLastModifiedBy, getLastModifiedDt, getOl, getPk, isNew, setCreatedBy, setCreateDt, setLastModifiedBy, setLastModifiedDt, setOl

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • foreignPKey

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

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

      @NotBlank private @NotBlank 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