Package org.openwms.wms.movements.impl
Class MovementGroup
java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.wms.movements.impl.MovementGroup
- All Implemented Interfaces:
Serializable
,org.ameba.integration.TypedEntity<Long>
@Entity
public class MovementGroup
extends org.ameba.integration.jpa.ApplicationEntity
implements Serializable
A MovementGroup is used to group
Movement
s.- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
A human user might be assigned to thisMovementGroup
.TheMovement
s that belong to theMovementGroup
.private @NotEmpty String
private String
The current state theMovementGroup
resides in.Fields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
All fieldsgetName()
getState()
int
hashCode()
All fieldsprotected void
void
setAssignedUser
(String assignedUser) void
setMovements
(Set<Movement> movements) void
void
toString()
All fieldsMethods 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, setOl
-
Field Details
-
name
-
state
The current state theMovementGroup
resides in. -
assignedUser
A human user might be assigned to thisMovementGroup
. -
movements
TheMovement
s that belong to theMovementGroup
.
-
-
Constructor Details
-
MovementGroup
protected MovementGroup()Dear JPA... -
MovementGroup
-
-
Method Details
-
prePersist
protected void prePersist() -
getName
-
setName
-
getState
-
setState
-
getAssignedUser
-
setAssignedUser
-
getMovements
-
setMovements
-
toString
All fields -
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
-