Package com.luciad.format.gml31.model
Class TLcdGML31Measure
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.datamodel.TLcdFeaturedDataObject
com.luciad.format.gml31.model.TLcdGML31Measure
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,ILcdFeatured
,ILcdSelfDescribedFeatured
,ILcdISO19103Measure
,Serializable
,Cloneable
- Direct Known Subclasses:
TLcdGML31Angle
,TLcdGML31Area
,TLcdGML31GridLength
,TLcdGML31Length
,TLcdGML31Scale
,TLcdGML31Speed
,TLcdGML31Time
,TLcdGML31Volume
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
- See Also:
-
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.Methods inherited from class com.luciad.datamodel.TLcdFeaturedDataObject
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
-
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 ofURI
. -
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
-
TLcdGML31Measure
public TLcdGML31Measure() -
TLcdGML31Measure
-
-
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.- Returns:
- the value of the
UOM_PROPERTY
property.
-
setUom
Sets the value of the property that maps to theuom
attribute.- 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.
-