public class ConversionToPreferredUnitType extends UnitOfMeasureType
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>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
factor |
protected FormulaType |
formula |
uom| Constructor and Description |
|---|
ConversionToPreferredUnitType()
Default no-arg constructor
|
ConversionToPreferredUnitType(String uom,
Double factor,
FormulaType formula)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getFactor()
Gets the value of the factor property.
|
FormulaType |
getFormula()
Gets the value of the formula property.
|
void |
setFactor(Double value)
Sets the value of the factor property.
|
void |
setFormula(FormulaType value)
Sets the value of the formula property.
|
getUom, setUomprotected Double factor
protected FormulaType formula
public ConversionToPreferredUnitType()
public ConversionToPreferredUnitType(String uom, Double factor, FormulaType formula)
public Double getFactor()
Doublepublic void setFactor(Double value)
value - allowed object is
Doublepublic FormulaType getFormula()
FormulaTypepublic void setFormula(FormulaType value)
value - allowed object is
FormulaTypeCopyright © 2016. All rights reserved.