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
Modifier and TypeFieldDescriptionprivate String
The foreign persistent key of the Location.private String
The name of the LocationGroup this Location belongs to.private @NotNull String
The unique business key.private boolean
Flag 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
ConstructorDescriptionJust to satisfy the shitty mapper implementation this constructor needs to be public.LocationEO
(String locationId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
All fields.int
hashCode()
All fields.boolean
void
setForeignPKey
(String foreignPKey) void
setLocationGroupName
(String locationGroupName) void
setLocationId
(String locationId) void
setMarkForDeletion
(boolean markForDeletion) toString()
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 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:
equals
in classorg.ameba.integration.jpa.ApplicationEntity
-
hashCode
public int hashCode()All fields.- Overrides:
hashCode
in classorg.ameba.integration.jpa.ApplicationEntity
-