Class LoadUnitType

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

@Entity public class LoadUnitType extends org.ameba.integration.jpa.ApplicationEntity implements Serializable
A LoadUnitType.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • type

      private String type
      Unique natural key.
    • description

      private String description
      Description for this type.
    • DEF_TYPE_DESCRIPTION

      public static final String DEF_TYPE_DESCRIPTION
      Default description of the LoadUnitType. Default "--".
      See Also:
    • weightTare

      private org.openwms.core.units.api.Weight weightTare
      Tare weight of the LoadUnitType.
    • weightMax

      private org.openwms.core.units.api.Weight weightMax
      Maximum allowed weight of the LoadUnitType.
    • outerLength

      private Integer outerLength
      The outer or external length of the LoadUnitType.
    • DEF_LENGTH

      public static final int DEF_LENGTH
      Default value of outerLength.
      See Also:
    • outerWidth

      private Integer outerWidth
      The outer or external width of the LoadUnitType.
    • DEF_WIDTH

      public static final int DEF_WIDTH
      Default value of outerWidth.
      See Also:
    • outerHeight

      private Integer outerHeight
      The outer or external height of the LoadUnitType.
    • DEF_HEIGHT

      public static final int DEF_HEIGHT
      Default value of outerHeight.
      See Also:
    • innerLength

      private Integer innerLength
      The inner or applicable length of the LoadUnitType.
    • innerWidth

      private Integer innerWidth
      The inner or applicable width of the LoadUnitType.
    • innerHeight

      private Integer innerHeight
      The inner or applicable height of the LoadUnitType.
  • Constructor Details

    • LoadUnitType

      protected LoadUnitType()
      Dear JPA...
    • LoadUnitType

      public LoadUnitType(String type)
  • Method Details

    • getType

      public String getType()
    • getDescription

      public String getDescription()
    • getWeightTare

      public org.openwms.core.units.api.Weight getWeightTare()
    • getWeightMax

      public org.openwms.core.units.api.Weight getWeightMax()
    • getOuterLength

      public Integer getOuterLength()
    • getOuterWidth

      public Integer getOuterWidth()
    • getOuterHeight

      public Integer getOuterHeight()
    • getInnerLength

      public Integer getInnerLength()
    • getInnerWidth

      public Integer getInnerWidth()
    • getInnerHeight

      public Integer getInnerHeight()
    • toString

      public String toString()
      Only use the business key.
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Only use the business key.
      Overrides:
      equals in class org.ameba.integration.jpa.ApplicationEntity
    • hashCode

      public int hashCode()
      Only use the business key.
      Overrides:
      hashCode in class org.ameba.integration.jpa.ApplicationEntity