com.ibm.commerce.foundation.common.datatypes

Interface QuantityType



  • public interface QuantityType
    A representation of the model object 'Quantity Type'. The type definition of a quantity.

    The following features are supported:

    See Also:
    CommerceFoundationPackage.getQuantityType()
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getUom()
      Returns the value of the 'Uom' attribute.
      double getValue()
      Returns the value of the 'Value' attribute.
      boolean isSetValue()
      Returns whether the value of the 'Value' attribute is set.
      void setUom(java.lang.String value)
      Sets the value of the 'Uom' attribute.
      void setValue(double value)
      Sets the value of the 'Value' attribute.
      void unsetValue()
      Unsets the value of the 'Value' attribute.
    • Method Detail

      • getValue

        double getValue()
        Returns the value of the 'Value' attribute. The quantity value.
        Returns:
        the value of the 'Value' attribute.
        See Also:
        isSetValue(), unsetValue(), setValue(double), CommerceFoundationPackage.getQuantityType_Value()
      • getUom

        java.lang.String getUom()
        Returns the value of the 'Uom' attribute. The unit of measure.
        Returns:
        the value of the 'Uom' attribute.
        See Also:
        setUom(String), CommerceFoundationPackage.getQuantityType_Uom()
      • setUom

        void setUom(java.lang.String value)
        Sets the value of the 'Uom' attribute.
        Parameters:
        value - the new value of the 'Uom' attribute.
        See Also:
        getUom()