Package org.openwms.wms.inventory
Class Reservation
java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.wms.inventory.Reservation
- All Implemented Interfaces:
Serializable
,org.ameba.integration.TypedEntity<Long>
@Entity
public class Reservation
extends org.ameba.integration.jpa.ApplicationEntity
implements Serializable
A Reservation.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PackagingUnit
ThePackagingUnit
instance, theReservation
belongs to.private org.openwms.core.units.api.Measurable
The reserved quantity of this PackagingUnit.private ZonedDateTime
private String
An arbitrary field to store User, PickOrderPositionSplit etc.Fields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Dear JPA...Reservation
(org.openwms.core.units.api.Measurable quantityReserved, String reservedBy) -
Method Summary
Modifier and TypeMethodDescriptionboolean
All fields.org.openwms.core.units.api.Measurable
int
hashCode()
All fields.void
setPackagingUnit
(PackagingUnit packagingUnit) void
setQuantityReserved
(org.openwms.core.units.api.Measurable quantityReserved) void
setReservedBy
(String reservedBy) 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, setOl
-
Field Details
-
packagingUnit
ThePackagingUnit
instance, theReservation
belongs to. -
quantityReserved
private org.openwms.core.units.api.Measurable quantityReservedThe reserved quantity of this PackagingUnit. -
reservedBy
An arbitrary field to store User, PickOrderPositionSplit etc. -
reservedAt
-
-
Constructor Details
-
Reservation
protected Reservation()Dear JPA... -
Reservation
-
-
Method Details
-
getPackagingUnit
-
setPackagingUnit
-
getQuantityReserved
public org.openwms.core.units.api.Measurable getQuantityReserved() -
setQuantityReserved
public void setQuantityReserved(org.openwms.core.units.api.Measurable quantityReserved) -
getReservedBy
-
setReservedBy
-
getReservedAt
-
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
-