org.citygml4j.jaxb.gml._3_1_1
Class ConventionalUnitType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
      extended by org.citygml4j.jaxb.gml._3_1_1.DefinitionType
          extended by org.citygml4j.jaxb.gml._3_1_1.UnitDefinitionType
              extended by org.citygml4j.jaxb.gml._3_1_1.ConventionalUnitType

public class ConventionalUnitType
extends UnitDefinitionType

Definition of a unit of measure which is related to a preferred unit for this quantity type through a conversion formula. A method for deriving this unit by algebraic combination of more primitive units, may also be provided.

Java class for ConventionalUnitType complex type.

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

 <complexType name="ConventionalUnitType">
   <complexContent>
     <extension base="{http://www.opengis.net/gml}UnitDefinitionType">
       <sequence>
         <choice>
           <element ref="{http://www.opengis.net/gml}conversionToPreferredUnit"/>
           <element ref="{http://www.opengis.net/gml}roughConversionToPreferredUnit"/>
         </choice>
         <element ref="{http://www.opengis.net/gml}derivationUnitTerm" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Constructor Summary
ConventionalUnitType()
           
 
Method Summary
 ConversionToPreferredUnitType getConversionToPreferredUnit()
          Gets the value of the conversionToPreferredUnit property.
 java.util.List<DerivationUnitTermType> getDerivationUnitTerm()
          Gets the value of the derivationUnitTerm property.
 ConversionToPreferredUnitType getRoughConversionToPreferredUnit()
          Gets the value of the roughConversionToPreferredUnit property.
 boolean isSetConversionToPreferredUnit()
           
 boolean isSetDerivationUnitTerm()
           
 boolean isSetRoughConversionToPreferredUnit()
           
 void setConversionToPreferredUnit(ConversionToPreferredUnitType value)
          Sets the value of the conversionToPreferredUnit property.
 void setDerivationUnitTerm(java.util.List<DerivationUnitTermType> derivationUnitTerm)
          Sets the value of the derivationUnitTerm property.
 void setRoughConversionToPreferredUnit(ConversionToPreferredUnitType value)
          Sets the value of the roughConversionToPreferredUnit property.
 void unsetDerivationUnitTerm()
           
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.UnitDefinitionType
getCatalogSymbol, getQuantityType, isSetCatalogSymbol, isSetQuantityType, setCatalogSymbol, setQuantityType
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConventionalUnitType

public ConventionalUnitType()
Method Detail

getConversionToPreferredUnit

public ConversionToPreferredUnitType getConversionToPreferredUnit()
Gets the value of the conversionToPreferredUnit property.

Returns:
possible object is ConversionToPreferredUnitType

setConversionToPreferredUnit

public void setConversionToPreferredUnit(ConversionToPreferredUnitType value)
Sets the value of the conversionToPreferredUnit property.

Parameters:
value - allowed object is ConversionToPreferredUnitType

isSetConversionToPreferredUnit

public boolean isSetConversionToPreferredUnit()

getRoughConversionToPreferredUnit

public ConversionToPreferredUnitType getRoughConversionToPreferredUnit()
Gets the value of the roughConversionToPreferredUnit property.

Returns:
possible object is ConversionToPreferredUnitType

setRoughConversionToPreferredUnit

public void setRoughConversionToPreferredUnit(ConversionToPreferredUnitType value)
Sets the value of the roughConversionToPreferredUnit property.

Parameters:
value - allowed object is ConversionToPreferredUnitType

isSetRoughConversionToPreferredUnit

public boolean isSetRoughConversionToPreferredUnit()

getDerivationUnitTerm

public java.util.List<DerivationUnitTermType> getDerivationUnitTerm()
Gets the value of the derivationUnitTerm property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the derivationUnitTerm property.

For example, to add a new item, do as follows:

    getDerivationUnitTerm().add(newItem);
 

Objects of the following type(s) are allowed in the list DerivationUnitTermType


isSetDerivationUnitTerm

public boolean isSetDerivationUnitTerm()

unsetDerivationUnitTerm

public void unsetDerivationUnitTerm()

setDerivationUnitTerm

public void setDerivationUnitTerm(java.util.List<DerivationUnitTermType> derivationUnitTerm)
Sets the value of the derivationUnitTerm property.

Parameters:
derivationUnitTerm - allowed object is DerivationUnitTermType