org.citygml4j.jaxb.gml._3_1_1
Class ConversionToPreferredUnitType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.UnitOfMeasureType
      extended by org.citygml4j.jaxb.gml._3_1_1.ConversionToPreferredUnitType

public class ConversionToPreferredUnitType
extends UnitOfMeasureType

Relation of a unit to the preferred unit for this quantity type, specified by an arithmetic conversion (scaling and/or offset). A preferred unit is either a base unit or a derived unit selected for all units of one quantity type. The mandatory attribute "uom" shall reference the preferred unit that this conversion applies to. The conversion is specified by one of two alternative elements: "factor" or "formula".

Java class for ConversionToPreferredUnitType complex type.

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

 <complexType name="ConversionToPreferredUnitType">
   <complexContent>
     <extension base="{http://www.opengis.net/gml}UnitOfMeasureType">
       <choice>
         <element name="factor" type="{http://www.w3.org/2001/XMLSchema}double"/>
         <element name="formula" type="{http://www.opengis.net/gml}FormulaType"/>
       </choice>
     </extension>
   </complexContent>
 </complexType>
 


Constructor Summary
ConversionToPreferredUnitType()
           
 
Method Summary
 java.lang.Double getFactor()
          Gets the value of the factor property.
 FormulaType getFormula()
          Gets the value of the formula property.
 boolean isSetFactor()
           
 boolean isSetFormula()
           
 void setFactor(java.lang.Double value)
          Sets the value of the factor property.
 void setFormula(FormulaType value)
          Sets the value of the formula property.
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.UnitOfMeasureType
getUom, isSetUom, setUom
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversionToPreferredUnitType

public ConversionToPreferredUnitType()
Method Detail

getFactor

public java.lang.Double getFactor()
Gets the value of the factor property.

Returns:
possible object is Double

setFactor

public void setFactor(java.lang.Double value)
Sets the value of the factor property.

Parameters:
value - allowed object is Double

isSetFactor

public boolean isSetFactor()

getFormula

public FormulaType getFormula()
Gets the value of the formula property.

Returns:
possible object is FormulaType

setFormula

public void setFormula(FormulaType value)
Sets the value of the formula property.

Parameters:
value - allowed object is FormulaType

isSetFormula

public boolean isSetFormula()