Class Reservation

java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.wms.inventory.AbstractReservation
org.openwms.wms.inventory.Reservation
All Implemented Interfaces:
Serializable, org.ameba.integration.TypedEntity<Long>

@Entity public class Reservation extends AbstractReservation implements Serializable
A Reservation.
Author:
Heiko Scherrer
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The PackagingUnit instance, the Reservation belongs to.
    private org.openwms.core.units.api.Measurable<?,?,?>
    The reserved quantity of this PackagingUnit.

    Fields inherited from class org.ameba.integration.jpa.ApplicationEntity

    C_ID
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Dear JPA...
     
    Reservation(org.openwms.core.units.api.Measurable quantityReserved, String reservedBy)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    All fields.
     
    org.openwms.core.units.api.Measurable
     
    int
    All fields.
    void
     
    void
    setQuantityReserved(org.openwms.core.units.api.Measurable quantityReserved)
     
     

    Methods inherited from class org.openwms.wms.inventory.AbstractReservation

    getReservedAt, getReservedBy, setReservedBy

    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, setCreatedBy, setCreateDt, setLastModifiedBy, setLastModifiedDt, setOl

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • packagingUnit

      private PackagingUnit packagingUnit
      The PackagingUnit instance, the Reservation belongs to.
    • quantityReserved

      private org.openwms.core.units.api.Measurable<?,?,?> quantityReserved
      The reserved quantity of this PackagingUnit.
  • Constructor Details

    • Reservation

      protected Reservation()
      Dear JPA...
    • Reservation

      public Reservation(org.openwms.core.units.api.Measurable quantityReserved, String reservedBy)
  • Method Details

    • getPackagingUnit

      public PackagingUnit getPackagingUnit()
    • setPackagingUnit

      public void setPackagingUnit(PackagingUnit packagingUnit)
    • getQuantityReserved

      public org.openwms.core.units.api.Measurable getQuantityReserved()
    • setQuantityReserved

      public void setQuantityReserved(org.openwms.core.units.api.Measurable quantityReserved)
    • toString

      public String toString()
      Overrides:
      toString in class AbstractReservation
    • equals

      public boolean equals(Object o)
      All fields. All fields.
      Overrides:
      equals in class AbstractReservation
    • hashCode

      public int hashCode()
      All fields. All fields.
      Overrides:
      hashCode in class AbstractReservation