Package com.luciad.format.gml32.model
Class TLcdGML32Measure
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.gml32.model.TLcdGML32Measure
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,ILcdISO19103Measure,Cloneable
- Direct Known Subclasses:
TLcdGML32Angle,TLcdGML32Area,TLcdGML32GridLength,TLcdGML32Length,TLcdGML32Quantity,TLcdGML32Scale,TLcdGML32Speed,TLcdGML32Time,TLcdGML32Volume
gml:MeasureType supports recording an amount encoded as a value of XML Schema double, together with a units of measure indicated by an attribute uom, short for "units Of measure". The value of the uom attribute identifies a reference system for the amount, usually a ratio or interval scale.
- Since:
- 10.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that holds the type of this instance.static final TLcdDataPropertyData property that maps to theuomattribute.static final TLcdDataPropertyData property that maps to the value defined by the simple content. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvert(ILcdISO19103UnitOfMeasure aUnitOfMeasure, ILcdISO19103Measure aMeasureSFCT) Converts this measure to another unit of measure by means of a side effect parameter.getType()Returns the value of the property that holds the type of this instance.Returns the unit of measure this measure is expressed in.getUom()Returns the value of the property that maps to theuomattribute.doublegetValue()The numerical value of a measurement, expressed in its unit of measure.Returns the value of the property that maps to the value defined by the simple content.voidSets the value of the property that holds the type of this instance.voidsetUnitOfMeasure(ILcdISO19103UnitOfMeasure aUnitOfMeasure) Sets the unit of measure this measure is expressed in.voidSets the value of the property that maps to theuomattribute.voidsetValue(double aValue) Sets the numerical value of a measurement,expressed in its unit of measure.voidsetValueObject(Double aValue) Sets the value of the property that maps to the value defined by the simple content.
-
Field Details
-
VALUE_PROPERTY
Data property that maps to the value defined by the simple content. The possible values for this property are instances ofDouble. -
UOM_PROPERTY
Data property that maps to theuomattribute. The possible values for this property are instances ofStringURI
-
TYPE_PROPERTY
Data property that holds the type of this instance. The possible values for this property are the publicQNameconstants defined in this class.
-
-
Constructor Details
-
TLcdGML32Measure
public TLcdGML32Measure() -
TLcdGML32Measure
-
-
Method Details
-
convert
Description copied from interface:ILcdISO19103MeasureConverts this measure to another unit of measure by means of a side effect parameter.- Specified by:
convertin interfaceILcdISO19103Measure- Parameters:
aUnitOfMeasure- the unit of measure to express the value in.aMeasureSFCT- the measure which will contain the new value and the unit of measure passed.
-
getUnitOfMeasure
Description copied from interface:ILcdISO19103MeasureReturns the unit of measure this measure is expressed in.- Specified by:
getUnitOfMeasurein interfaceILcdISO19103Measure
-
setUnitOfMeasure
Description copied from interface:ILcdISO19103MeasureSets the unit of measure this measure is expressed in.- Specified by:
setUnitOfMeasurein interfaceILcdISO19103Measure- Parameters:
aUnitOfMeasure-
-
getValue
public double getValue()Description copied from interface:ILcdISO19103MeasureThe numerical value of a measurement, expressed in its unit of measure.- Specified by:
getValuein interfaceILcdISO19103Measure- Returns:
- the numerical value of a measurement, expressed in its unit of measure.
- See Also:
-
setValue
public void setValue(double aValue) Description copied from interface:ILcdISO19103MeasureSets the numerical value of a measurement,expressed in its unit of measure.- Specified by:
setValuein interfaceILcdISO19103Measure- Parameters:
aValue-- See Also:
-
getValueObject
Returns the value of the property that maps to the value defined by the simple content.- Returns:
- the value of the
VALUE_PROPERTYproperty.
-
setValueObject
Sets the value of the property that maps to the value defined by the simple content.- Parameters:
aValue- the value to set for theVALUE_PROPERTYproperty.
-
getUom
Returns the value of the property that maps to theuomattribute.The possible values for this property are instances of
StringURI
- Returns:
- the value of the
UOM_PROPERTYproperty.
-
setUom
Sets the value of the property that maps to theuomattribute.The possible values for this property are instances of
StringURI
- Parameters:
aValue- the value to set for theUOM_PROPERTYproperty.
-
getType
Returns the value of the property that holds the type of this instance.The possible values for this property are the public
QNameconstants defined in this class.- Returns:
- the value of the
TYPE_PROPERTYproperty.
-
setType
Sets the value of the property that holds the type of this instance.The possible values for this property are the public
QNameconstants defined in this class.- Parameters:
aValue- the value to set for theTYPE_PROPERTYproperty.
-