Class MeasureType

  • Direct Known Subclasses:
    AngleType, AreaType, GridLengthType, LengthType, ScaleType, SpeedType, TimeType, VolumeType

    public class MeasureType
    extends Object
    Number with a scale. The value of uom (Units Of Measure) attribute is a reference to a Reference System for the amount, either a ratio or position scale.

    Java class for MeasureType complex type.

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

     <complexType name="MeasureType">
       <simpleContent>
         <extension base="<http://www.w3.org/2001/XMLSchema>double">
           <attribute name="uom" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
         </extension>
       </simpleContent>
     </complexType>
     
    • Field Detail

      • value

        protected double value
    • Constructor Detail

      • MeasureType

        public MeasureType()
        Default no-arg constructor
      • MeasureType

        public MeasureType​(double value,
                           String uom)
        Fully-initialising value constructor
    • Method Detail

      • getValue

        public double getValue()
        Gets the value of the value property.
      • setValue

        public void setValue​(double value)
        Sets the value of the value property.
      • 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