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
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that holds the type of this instance.static final TLcdDataProperty
Data property that maps to theuom
attribute.static final TLcdDataProperty
Data property that maps to the value defined by the simple content. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
convert
(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 theuom
attribute.double
getValue()
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.void
Sets the value of the property that holds the type of this instance.void
setUnitOfMeasure
(ILcdISO19103UnitOfMeasure aUnitOfMeasure) Sets the unit of measure this measure is expressed in.void
Sets the value of the property that maps to theuom
attribute.void
setValue
(double aValue) Sets the numerical value of a measurement,expressed in its unit of measure.void
setValueObject
(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 theuom
attribute. The possible values for this property are instances ofString
URI
-
TYPE_PROPERTY
Data property that holds the type of this instance. The possible values for this property are the publicQName
constants defined in this class.
-
-
Constructor Details
-
TLcdGML32Measure
public TLcdGML32Measure() -
TLcdGML32Measure
-
-
Method Details
-
convert
Description copied from interface:ILcdISO19103Measure
Converts this measure to another unit of measure by means of a side effect parameter.- Specified by:
convert
in 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:ILcdISO19103Measure
Returns the unit of measure this measure is expressed in.- Specified by:
getUnitOfMeasure
in interfaceILcdISO19103Measure
-
setUnitOfMeasure
Description copied from interface:ILcdISO19103Measure
Sets the unit of measure this measure is expressed in.- Specified by:
setUnitOfMeasure
in interfaceILcdISO19103Measure
- Parameters:
aUnitOfMeasure
-
-
getValue
public double getValue()Description copied from interface:ILcdISO19103Measure
The numerical value of a measurement, expressed in its unit of measure.- Specified by:
getValue
in 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:ILcdISO19103Measure
Sets the numerical value of a measurement,expressed in its unit of measure.- Specified by:
setValue
in 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_PROPERTY
property.
-
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_PROPERTY
property.
-
getUom
Returns the value of the property that maps to theuom
attribute.The possible values for this property are instances of
String
URI
- Returns:
- the value of the
UOM_PROPERTY
property.
-
setUom
Sets the value of the property that maps to theuom
attribute.The possible values for this property are instances of
String
URI
- Parameters:
aValue
- the value to set for theUOM_PROPERTY
property.
-
getType
Returns the value of the property that holds the type of this instance.The possible values for this property are the public
QName
constants defined in this class.- Returns:
- the value of the
TYPE_PROPERTY
property.
-
setType
Sets the value of the property that holds the type of this instance.The possible values for this property are the public
QName
constants defined in this class.- Parameters:
aValue
- the value to set for theTYPE_PROPERTY
property.
-