|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openwms.core.domain.AbstractEntity
org.openwms.common.domain.TypeStackingRule
public class TypeStackingRule
A TypeStackingRule is a Rule
that defines which
TransportUnitType
can be stacked on other types. Additionally a
maximum number of TransportUnit
s can be defined.
TransportUnitType
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class org.openwms.core.domain.AbstractEntity |
---|
AbstractEntity.AbstractEntityListener |
Field Summary |
---|
Fields inherited from class org.openwms.core.domain.AbstractEntity |
---|
FIND_ALL, FIND_BY_ID |
Constructor Summary | |
---|---|
TypeStackingRule(short noTransportUnits,
TransportUnitType allowedTransportUnitType)
Create a new TypeStackingRule . |
Method Summary | |
---|---|
TransportUnitType |
getAllowedTransportUnitType()
Returns the allowed TransportUnitType that may be placed on the
owning TransportUnitType . |
Long |
getId()
Return the technical key value. |
short |
getNoTransportUnits()
Returns the number of TransportUnitType s that may be placed on
the owning TransportUnitType . |
TransportUnitType |
getTransportUnitType()
Get the transportUnitType. |
long |
getVersion()
Return the value of the optimistic locking field. |
boolean |
isNew()
Check whether the instance is a transient or persisted one. |
Methods inherited from class org.openwms.core.domain.AbstractEntity |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeStackingRule(short noTransportUnits, TransportUnitType allowedTransportUnitType)
TypeStackingRule
. Define how many
TransportUnit
s of the
allowedTransportUnitType may stacked on this TransportUnitType
.
noTransportUnits
- The number of allowed
TransportUnit
sallowedTransportUnitType
- The allowed TransportUnitType
Method Detail |
---|
public Long getId()
getId
in interface DomainObject<Long>
public boolean isNew()
isNew
in interface DomainObject<Long>
true
if transient (not persisted before), otherwise
false
public TransportUnitType getTransportUnitType()
public short getNoTransportUnits()
TransportUnitType
s that may be placed on
the owning TransportUnitType
.
public TransportUnitType getAllowedTransportUnitType()
TransportUnitType
that may be placed on the
owning TransportUnitType
.
public long getVersion()
getVersion
in interface DomainObject<Long>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |