Class UnitDefinitionType

  • Direct Known Subclasses:
    BaseUnitType, ConventionalUnitType, DerivedUnitType

    public class UnitDefinitionType
    extends DefinitionType
    Definition of a unit of measure (or uom). The definition includes a quantityType property, which indicates the phenomenon to which the units apply, and a catalogSymbol, which gives the short symbol used for this unit. This element is used when the relationship of this unit to other units or units systems is unknown.

    Java class for UnitDefinitionType complex type.

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

     <complexType name="UnitDefinitionType">
       <complexContent>
         <extension base="{http://www.opengis.net/gml}DefinitionType">
           <sequence>
             <element ref="{http://www.opengis.net/gml}quantityType"/>
             <element ref="{http://www.opengis.net/gml}catalogSymbol" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Method Detail

      • getQuantityType

        public QuantityType getQuantityType()
        Gets the value of the quantityType property.
        Returns:
        possible object is QuantityType
      • setQuantityType

        public void setQuantityType​(QuantityType value)
        Sets the value of the quantityType property.
        Parameters:
        value - allowed object is QuantityType
      • getCatalogSymbol

        public CatalogSymbol getCatalogSymbol()
        Gets the value of the catalogSymbol property.
        Returns:
        possible object is CatalogSymbol
      • setCatalogSymbol

        public void setCatalogSymbol​(CatalogSymbol value)
        Sets the value of the catalogSymbol property.
        Parameters:
        value - allowed object is CatalogSymbol