Package org.openwms.wms.inventory
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 Summary
Modifier and TypeFieldDescriptionstatic final int
Default value ofouterHeight
.static final int
Default value ofouterLength
.static final String
Default description of the LoadUnitType.static final int
Default value ofouterWidth
.private String
Description for this type.private Integer
The inner or applicable height of the LoadUnitType.private Integer
The inner or applicable length of the LoadUnitType.private Integer
The inner or applicable width of the LoadUnitType.private Integer
The outer or external height of the LoadUnitType.private Integer
The outer or external length of the LoadUnitType.private Integer
The outer or external width of the LoadUnitType.private String
Unique natural key.private org.openwms.core.units.api.Weight
Maximum allowed weight of the LoadUnitType.private org.openwms.core.units.api.Weight
Tare weight of the LoadUnitType.Fields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID
-
Constructor Summary
-
Method Summary
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
-
type
Unique natural key. -
description
Description for this type. -
DEF_TYPE_DESCRIPTION
Default description of the LoadUnitType. Default "--".- See Also:
-
weightTare
private org.openwms.core.units.api.Weight weightTareTare weight of the LoadUnitType. -
weightMax
private org.openwms.core.units.api.Weight weightMaxMaximum allowed weight of the LoadUnitType. -
outerLength
The outer or external length of the LoadUnitType. -
DEF_LENGTH
public static final int DEF_LENGTHDefault value ofouterLength
.- See Also:
-
outerWidth
The outer or external width of the LoadUnitType. -
DEF_WIDTH
public static final int DEF_WIDTHDefault value ofouterWidth
.- See Also:
-
outerHeight
The outer or external height of the LoadUnitType. -
DEF_HEIGHT
public static final int DEF_HEIGHTDefault value ofouterHeight
.- See Also:
-
innerLength
The inner or applicable length of the LoadUnitType. -
innerWidth
The inner or applicable width of the LoadUnitType. -
innerHeight
The inner or applicable height of the LoadUnitType.
-
-
Constructor Details
-
LoadUnitType
protected LoadUnitType()Dear JPA... -
LoadUnitType
-
-
Method Details
-
getType
-
getDescription
-
getWeightTare
public org.openwms.core.units.api.Weight getWeightTare() -
getWeightMax
public org.openwms.core.units.api.Weight getWeightMax() -
getOuterLength
-
getOuterWidth
-
getOuterHeight
-
getInnerLength
-
getInnerWidth
-
getInnerHeight
-
toString
Only use the business key. -
equals
Only use the business key.- Overrides:
equals
in classorg.ameba.integration.jpa.ApplicationEntity
-
hashCode
public int hashCode()Only use the business key.- Overrides:
hashCode
in classorg.ameba.integration.jpa.ApplicationEntity
-