Class UnitOfMeasureType

  • Direct Known Subclasses:
    ConversionToPreferredUnitType, DerivationUnitTermType

    public class UnitOfMeasureType
    extends Object
    Reference to a unit of measure definition that applies to all the numerical values described by the element containing this element. Notice that a complexType which needs to include the uom attribute can do so by extending this complexType. Alternately, this complexType can be used as a pattern for a new complexType.

    Java class for UnitOfMeasureType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="UnitOfMeasureType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
           </sequence>
           <attribute name="uom" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

    • Constructor Detail

      • UnitOfMeasureType

        public UnitOfMeasureType()
        Default no-arg constructor
      • UnitOfMeasureType

        public UnitOfMeasureType​(String uom)
        Fully-initialising value constructor
    • Method Detail

      • getUom

        public String getUom()
        Gets the value of the uom property.
        Returns:
        possible object is String
      • setUom

        public void setUom​(String value)
        Sets the value of the uom property.
        Parameters:
        value - allowed object is String