Package de.aeb.xnsg.logistics.bf
Class QuantityWithTypeDTO
- java.lang.Object
-
- de.aeb.xnsg.logistics.bf.QuantityDTO
-
- de.aeb.xnsg.logistics.bf.QuantityWithTypeDTO
-
public class QuantityWithTypeDTO extends QuantityDTO
A quantity with a value, a quantity unit and a quantity unit type. This DTO is needed (instead of the superclass QuantityDTO), if the context of the DTO does not uniquely identify the quantity unit type.
-
-
Field Summary
Fields Modifier and Type Field Description String
unitType
Identifier of the quantity unit type.-
Fields inherited from class de.aeb.xnsg.logistics.bf.QuantityDTO
unit, value
-
-
Constructor Summary
Constructors Constructor Description QuantityWithTypeDTO()
-
-
-
Field Detail
-
unitType
public String unitType
Identifier of the quantity unit type. e.g. "WEIGHT", "VOLUME" or client specific (customized) quantity unit types.length=10
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classQuantityDTO
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classQuantityDTO
-
-