Class DerivationUnitTermType


  • public class DerivationUnitTermType
    extends UnitOfMeasureType
    Definition of one unit term for a derived unit of measure. This unit term references another unit of measure (uom) and provides an integer exponent applied to that unit in defining the compound unit. The exponent can be positive or negative, but not zero.

    Java class for DerivationUnitTermType complex type.

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

     <complexType name="DerivationUnitTermType">
       <complexContent>
         <extension base="{http://www.opengis.net/gml}UnitOfMeasureType">
           <attribute name="exponent" type="{http://www.w3.org/2001/XMLSchema}integer" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • DerivationUnitTermType

        public DerivationUnitTermType()
        Default no-arg constructor
      • DerivationUnitTermType

        public DerivationUnitTermType​(String uom,
                                      BigInteger exponent)
        Fully-initialising value constructor
    • Method Detail

      • getExponent

        public BigInteger getExponent()
        Gets the value of the exponent property.
        Returns:
        possible object is BigInteger
      • setExponent

        public void setExponent​(BigInteger value)
        Sets the value of the exponent property.
        Parameters:
        value - allowed object is BigInteger