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
Movements.- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringA human user might be assigned to thisMovementGroup.TheMovements that belong to theMovementGroup.private @NotEmpty Stringprivate StringThe current state theMovementGroupresides in.Fields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAll fieldsgetName()getState()inthashCode()All fieldsprotected voidvoidsetAssignedUser(String assignedUser) voidsetMovements(Set<Movement> movements) voidvoidtoString()All fieldsMethods 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
-
name
-
state
The current state theMovementGroupresides in. -
assignedUser
A human user might be assigned to thisMovementGroup. -
movements
TheMovements 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:
equalsin classorg.ameba.integration.jpa.ApplicationEntity
-
hashCode
public int hashCode()All fields- Overrides:
hashCodein classorg.ameba.integration.jpa.ApplicationEntity
-