Package org.openwms.tms.routing
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 Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe foreign persistent key of the Location.private StringThe name of the LocationGroup this Location belongs to.private @NotNull StringThe unique business key.private booleanFlag to determine if this Location is marked for deletion and cannot be used anymore.Fields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID -
Constructor Summary
ConstructorsConstructorDescriptionJust to satisfy the shitty mapper implementation this constructor needs to be public.LocationEO(String locationId) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAll fields.inthashCode()All fields.booleanvoidsetForeignPKey(String foreignPKey) voidsetLocationGroupName(String locationGroupName) voidsetLocationId(String locationId) voidsetMarkForDeletion(boolean markForDeletion) toString()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 the Location. -
locationId
The unique business key. -
locationGroupName
The name of the LocationGroup this Location belongs to. -
markForDeletion
private boolean markForDeletionFlag 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
-
-
Method Details
-
getForeignPKey
-
setForeignPKey
-
getLocationId
-
setLocationId
-
getLocationGroupName
-
setLocationGroupName
-
isMarkForDeletion
public boolean isMarkForDeletion() -
setMarkForDeletion
public void setMarkForDeletion(boolean markForDeletion) -
toString
-
equals
All fields.- Overrides:
equalsin classorg.ameba.integration.jpa.ApplicationEntity
-
hashCode
public int hashCode()All fields.- Overrides:
hashCodein classorg.ameba.integration.jpa.ApplicationEntity
-