Class UnitType


  • public class UnitType
    extends Object
    Used to hold the unit(s) plus possibly the exponent and factor for the units

    Java class for UnitType complex type.

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

     <complexType name="UnitType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="power" type="{http://www.w3.org/2001/XMLSchema}decimal" default="1" />
           <attribute name="factor" type="{http://www.w3.org/2001/XMLSchema}string" default="1" />
           <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • UnitType

        public UnitType()
    • Method Detail

      • getContent

        public String getContent()
        Used to hold the unit(s) plus possibly the exponent and factor for the units
        Returns:
        possible object is String
      • setContent

        public void setContent​(String value)
        Sets the value of the content property.
        Parameters:
        value - allowed object is String
      • getPower

        public BigDecimal getPower()
        Gets the value of the power property.
        Returns:
        possible object is BigDecimal
      • setPower

        public void setPower​(BigDecimal value)
        Sets the value of the power property.
        Parameters:
        value - allowed object is BigDecimal
      • getFactor

        public String getFactor()
        Gets the value of the factor property.
        Returns:
        possible object is String
      • setFactor

        public void setFactor​(String value)
        Sets the value of the factor property.
        Parameters:
        value - allowed object is String
      • getDescription

        public String getDescription()
        Gets the value of the description property.
        Returns:
        possible object is String
      • setDescription

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