Class CargoSpaceGood
java.lang.Object
com.dna.jopt.member.unit.pnd.util.AbstractCargoItem
com.dna.jopt.member.unit.pnd.util.CargoSpaceGood
- All Implemented Interfaces:
ICargoItem
,ICargoSpaceGood
-
Constructor Summary
ConstructorDescriptionCargoSpaceGood
(javax.measure.Quantity<javax.measure.quantity.Length> length, javax.measure.Quantity<javax.measure.quantity.Length> width) CargoSpaceGood
(javax.measure.Quantity<javax.measure.quantity.Length> length, javax.measure.Quantity<javax.measure.quantity.Length> width, javax.measure.Quantity<javax.measure.quantity.Length> height, boolean isStackable) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
isLengthOriented
(ICargoSpace space) void
setMaxStack
(int maxStack) Methods inherited from class com.dna.jopt.member.unit.pnd.util.AbstractCargoItem
getHeight, getLength, getWidth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.dna.jopt.member.unit.pnd.util.ICargoItem
getHeight, getLength, getWidth
-
Constructor Details
-
CargoSpaceGood
public CargoSpaceGood(javax.measure.Quantity<javax.measure.quantity.Length> length, javax.measure.Quantity<javax.measure.quantity.Length> width) -
CargoSpaceGood
public CargoSpaceGood(javax.measure.Quantity<javax.measure.quantity.Length> length, javax.measure.Quantity<javax.measure.quantity.Length> width, javax.measure.Quantity<javax.measure.quantity.Length> height, boolean isStackable)
-
-
Method Details
-
setMaxStack
public void setMaxStack(int maxStack) -
isLengthOriented
-
calculateMaxIndividualLoading
- Specified by:
calculateMaxIndividualLoading
in interfaceICargoSpaceGood
-