Package org.openwms.wms.receiving.impl
Class ReceivingTransportUnitOrderPosition
java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.openwms.wms.receiving.impl.AbstractReceivingOrderPosition
org.openwms.wms.receiving.impl.ReceivingTransportUnitOrderPosition
- All Implemented Interfaces:
Serializable,org.ameba.integration.TypedEntity<Long>,Convertable
@Entity
public class ReceivingTransportUnitOrderPosition
extends AbstractReceivingOrderPosition
implements Convertable, Serializable
A ReceivingTransportUnitOrderPosition is a persisted entity class that represents an expected receipt of a
TransportUnit.- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @NotBlank(groups=CreateExpectedTUReceipt.class) StringThe business key of the expectedTransportUnitthat is expected to be received.private @NotBlank(groups=CreateExpectedTUReceipt.class) StringThe name of theTransportUnitTypethe expectedTransportUnitis of. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUsed by the JPA provider.ReceivingTransportUnitOrderPosition(@NotNull Integer posNo, @NotBlank String transportUnitBK, @NotBlank String transportUnitTypeName) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(BaseReceivingOrderPositionVisitor visitor) booleanAll fields without the details map.inthashCode()All fields without the details map.voidvalidateOnCreation(jakarta.validation.Validator validator, Class<?> clazz) Subclasses may validate themselves.Methods inherited from class org.openwms.wms.receiving.impl.AbstractReceivingOrderPosition
addDetail, changePositionState, doesStateAllowCapturing, getDetails, getExpectedReceiptWarehouse, getLatestDueDate, getOrder, getPosNo, getState, preCreate, setDetails, setExpectedReceiptWarehouse, setLatestDueDate, setOrder, setState, toStringMethods inherited from class org.ameba.integration.jpa.BaseEntity
getCreatedBy, getCreateDt, getLastModifiedBy, getLastModifiedDt, getOl, getPk, isNew, setCreatedBy, setCreateDt, setLastModifiedBy, setLastModifiedDt, setOl
-
Field Details
-
transportUnitBK
@NotBlank(groups=CreateExpectedTUReceipt.class) private @NotBlank(groups=CreateExpectedTUReceipt.class) String transportUnitBKThe business key of the expectedTransportUnitthat is expected to be received. -
transportUnitTypeName
@NotBlank(groups=CreateExpectedTUReceipt.class) private @NotBlank(groups=CreateExpectedTUReceipt.class) String transportUnitTypeNameThe name of theTransportUnitTypethe expectedTransportUnitis of.
-
-
Constructor Details
-
ReceivingTransportUnitOrderPosition
protected ReceivingTransportUnitOrderPosition()Used by the JPA provider. -
ReceivingTransportUnitOrderPosition
-
-
Method Details
-
validateOnCreation
Subclasses may validate themselves.- Specified by:
validateOnCreationin classAbstractReceivingOrderPosition- Parameters:
validator- The Validator instanceclazz- The validation group
-
accept
- Specified by:
acceptin interfaceConvertable
-
equals
All fields without the details map. All fields.- Overrides:
equalsin classAbstractReceivingOrderPosition
-
hashCode
public int hashCode()All fields without the details map. All fields.- Overrides:
hashCodein classAbstractReceivingOrderPosition
-
getTransportUnitBK
-
getTransportUnitTypeName
-