org.citygml4j.jaxb.gml._3_1_1
Class FormulaType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.FormulaType

public class FormulaType
extends java.lang.Object

Paremeters of a simple formula by which a value using this unit of measure can be converted to the corresponding value using the preferred unit of measure. The formula element contains elements a, b, c and d, whose values use the XML Schema type "double". These values are used in the formula y = (a + bx) / (c + dx), where x is a value using this unit, and y is the corresponding value using the preferred unit. The elements a and d are optional, and if values are not provided, those parameters are considered to be zero. If values are not provided for both a and d, the formula is equivalent to a fraction with numerator and denominator parameters.

Java class for FormulaType complex type.

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

 <complexType name="FormulaType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="a" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="b" type="{http://www.w3.org/2001/XMLSchema}double"/>
         <element name="c" type="{http://www.w3.org/2001/XMLSchema}double"/>
         <element name="d" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
FormulaType()
           
 
Method Summary
 java.lang.Double getA()
          Gets the value of the a property.
 double getB()
          Gets the value of the b property.
 double getC()
          Gets the value of the c property.
 java.lang.Double getD()
          Gets the value of the d property.
 boolean isSetA()
           
 boolean isSetB()
           
 boolean isSetC()
           
 boolean isSetD()
           
 void setA(java.lang.Double value)
          Sets the value of the a property.
 void setB(double value)
          Sets the value of the b property.
 void setC(double value)
          Sets the value of the c property.
 void setD(java.lang.Double value)
          Sets the value of the d property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormulaType

public FormulaType()
Method Detail

getA

public java.lang.Double getA()
Gets the value of the a property.

Returns:
possible object is Double

setA

public void setA(java.lang.Double value)
Sets the value of the a property.

Parameters:
value - allowed object is Double

isSetA

public boolean isSetA()

getB

public double getB()
Gets the value of the b property.


setB

public void setB(double value)
Sets the value of the b property.


isSetB

public boolean isSetB()

getC

public double getC()
Gets the value of the c property.


setC

public void setC(double value)
Sets the value of the c property.


isSetC

public boolean isSetC()

getD

public java.lang.Double getD()
Gets the value of the d property.

Returns:
possible object is Double

setD

public void setD(java.lang.Double value)
Sets the value of the d property.

Parameters:
value - allowed object is Double

isSetD

public boolean isSetD()