Package wt.part

Class _Quantity

java.lang.Object
wt.part._Quantity
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, NetFactor, ObjectMappable
Direct Known Subclasses:
Quantity

public abstract class _Quantity extends Object implements ObjectMappable, Externalizable
See Also:
  • Field Details

  • Method Details

    • getAmount

      public double getAmount()
      The amount attributes represents the amount portion of the Quantity.

      Supported API: true

      See Also:
    • setAmount

      public void setAmount(double amount)
      The amount attributes represents the amount portion of the Quantity.

      Supported API: true

      See Also:
    • getUnit

      public QuantityUnit getUnit()
      Supported API: true
      See Also:
    • setUnit

      public void setUnit(QuantityUnit unit)
      Supported API: true
      See Also: