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-Klasse für ConversionToPreferredUnitType complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.

 <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()
          Ruft den Wert der factor-Eigenschaft ab.
 FormulaType getFormula()
          Ruft den Wert der formula-Eigenschaft ab.
 boolean isSetFactor()
           
 boolean isSetFormula()
           
 void setFactor(java.lang.Double value)
          Legt den Wert der factor-Eigenschaft fest.
 void setFormula(FormulaType value)
          Legt den Wert der formula-Eigenschaft fest.
 
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()
Ruft den Wert der factor-Eigenschaft ab.

Returns:
possible object is Double

setFactor

public void setFactor(java.lang.Double value)
Legt den Wert der factor-Eigenschaft fest.

Parameters:
value - allowed object is Double

isSetFactor

public boolean isSetFactor()

getFormula

public FormulaType getFormula()
Ruft den Wert der formula-Eigenschaft ab.

Returns:
possible object is FormulaType

setFormula

public void setFormula(FormulaType value)
Legt den Wert der formula-Eigenschaft fest.

Parameters:
value - allowed object is FormulaType

isSetFormula

public boolean isSetFormula()