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
Modifier and TypeFieldDescriptionprivate @NotBlank String
The currentLocation
of theTransportUnit
.private @NotBlank String
Unique natural key.private @NotBlank String
The foreign persistent key of theTransportUnit
.Fields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID
-
Constructor Summary
ModifierConstructorDescriptionprotected
Dear JPA...TransportUnit
(String barcode, String actualLocation) Dear JPA... -
Method Summary
Modifier and TypeMethodDescriptionboolean
All fields.int
hashCode()
All fields.void
setActualLocation
(String actualLocation) void
setForeignPKey
(String foreignPKey) toString()
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
-
Field Details
-
foreignPKey
The foreign persistent key of theTransportUnit
. -
barcode
Unique natural key. -
actualLocation
The currentLocation
of 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:
equals
in classorg.ameba.integration.jpa.ApplicationEntity
-
hashCode
public int hashCode()All fields.- Overrides:
hashCode
in classorg.ameba.integration.jpa.ApplicationEntity
-