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
FieldsModifier and TypeFieldDescriptionprivate @NotBlank StringThe currentLocationof theTransportUnit.private @NotBlank StringUnique natural key.private @NotBlank StringThe foreign persistent key of theTransportUnit.Fields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDear JPA...TransportUnit(String barcode, String actualLocation) Dear JPA... -
Method Summary
Modifier and TypeMethodDescriptionbooleanAll fields.inthashCode()All fields.voidsetActualLocation(String actualLocation) voidsetForeignPKey(String foreignPKey) toString()Only the barcode.Methods inherited from class org.ameba.integration.jpa.ApplicationEntity
getPersistentKey, hasPersistentKey, onEntityPersist, onPersist, setPersistentKeyMethods inherited from class org.ameba.integration.jpa.BaseEntity
getCreatedBy, getCreateDt, getLastModifiedBy, getLastModifiedDt, getOl, getPk, isNew, setCreatedBy, setCreateDt, setLastModifiedBy, setLastModifiedDt, setOl
-
Field Details
-
foreignPKey
The foreign persistent key of theTransportUnit. -
barcode
Unique natural key. -
actualLocation
The currentLocationof theTransportUnit.
-
-
Constructor Details
-
TransportUnit
protected TransportUnit()Dear JPA... -
TransportUnit
Dear JPA...
-
-
Method Details
-
getForeignPKey
-
setForeignPKey
-
getBarcode
-
getActualLocation
-
setActualLocation
-
toString
Only the barcode. -
equals
All fields.- Overrides:
equalsin classorg.ameba.integration.jpa.ApplicationEntity
-
hashCode
public int hashCode()All fields.- Overrides:
hashCodein classorg.ameba.integration.jpa.ApplicationEntity
-