|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.opengis.gml.UnitOfMeasureType
net.opengis.gml.ConversionToPreferredUnitType
public class ConversionToPreferredUnitType
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".
Classe Java pour ConversionToPreferredUnitType complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<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>
| Field Summary | |
|---|---|
protected Double |
factor
|
protected FormulaType |
formula
|
| Fields inherited from class net.opengis.gml.UnitOfMeasureType |
|---|
uom |
| Constructor Summary | |
|---|---|
ConversionToPreferredUnitType()
|
|
| Method Summary | |
|---|---|
Double |
getFactor()
Obtient la valeur de la propriété factor. |
FormulaType |
getFormula()
Obtient la valeur de la propriété formula. |
boolean |
isSetFactor()
|
boolean |
isSetFormula()
|
void |
setFactor(Double value)
Définit la valeur de la propriété factor. |
void |
setFormula(FormulaType value)
Définit la valeur de la propriété formula. |
| Methods inherited from class net.opengis.gml.UnitOfMeasureType |
|---|
getUom, isSetUom, setUom |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Double factor
protected FormulaType formula
| Constructor Detail |
|---|
public ConversionToPreferredUnitType()
| Method Detail |
|---|
public Double getFactor()
Doublepublic void setFactor(Double value)
value - allowed object is
Doublepublic boolean isSetFactor()
public FormulaType getFormula()
FormulaTypepublic void setFormula(FormulaType value)
value - allowed object is
FormulaTypepublic boolean isSetFormula()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||