Class AbstractCargoItem

java.lang.Object
com.dna.jopt.member.unit.pnd.util.AbstractCargoItem
All Implemented Interfaces:
ICargoItem
Direct Known Subclasses:
CargoSpace, CargoSpaceGood

public class AbstractCargoItem extends Object implements ICargoItem
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractCargoItem(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

    Modifier and Type
    Method
    Description
    Optional<javax.measure.Quantity<javax.measure.quantity.Length>>
     
    javax.measure.Quantity<javax.measure.quantity.Length>
     
    javax.measure.Quantity<javax.measure.quantity.Length>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface ICargoItem
    • getWidth

      public javax.measure.Quantity<javax.measure.quantity.Length> getWidth()
      Specified by:
      getWidth in interface ICargoItem
    • getHeight

      public Optional<javax.measure.Quantity<javax.measure.quantity.Length>> getHeight()
      Specified by:
      getHeight in interface ICargoItem