Class AbstractCargoItem
java.lang.Object
com.dna.jopt.member.unit.pnd.util.AbstractCargoItem
- All Implemented Interfaces:
ICargoItem
- Direct Known Subclasses:
CargoSpace
,CargoSpaceGood
-
Constructor Summary
ConstructorDescriptionAbstractCargoItem
(javax.measure.Quantity<javax.measure.quantity.Length> length, javax.measure.Quantity<javax.measure.quantity.Length> width) AbstractCargoItem
(javax.measure.Quantity<javax.measure.quantity.Length> length, javax.measure.Quantity<javax.measure.quantity.Length> width, javax.measure.Quantity<javax.measure.quantity.Length> height) -
Method Summary
-
Constructor Details
-
AbstractCargoItem
public AbstractCargoItem(javax.measure.Quantity<javax.measure.quantity.Length> length, javax.measure.Quantity<javax.measure.quantity.Length> width, javax.measure.Quantity<javax.measure.quantity.Length> height) -
AbstractCargoItem
public AbstractCargoItem(javax.measure.Quantity<javax.measure.quantity.Length> length, javax.measure.Quantity<javax.measure.quantity.Length> width)
-
-
Method Details
-
getLength
public javax.measure.Quantity<javax.measure.quantity.Length> getLength()- Specified by:
getLength
in interfaceICargoItem
-
getWidth
public javax.measure.Quantity<javax.measure.quantity.Length> getWidth()- Specified by:
getWidth
in interfaceICargoItem
-
getHeight
- Specified by:
getHeight
in interfaceICargoItem
-