public class TLcdGML31Measure extends TLcdFeaturedDataObject implements ILcdISO19103Measure
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
TYPE_PROPERTY
Data property that holds the type of this instance.
|
static TLcdDataProperty |
UOM_PROPERTY
Data property that maps to the
uom attribute. |
static TLcdDataProperty |
VALUE_PROPERTY
Data property that maps to the value defined by the simple content.
|
Constructor and Description |
---|
TLcdGML31Measure() |
TLcdGML31Measure(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
void |
convert(ILcdISO19103UnitOfMeasure aUnitOfMeasure,
ILcdISO19103Measure aMeasureSFCT)
Converts this measure to another unit of measure by means of a side effect parameter.
|
QName |
getType()
Returns the value of the property that holds the type of this instance.
|
ILcdISO19103UnitOfMeasure |
getUnitOfMeasure()
Returns the unit of measure this measure is expressed in.
|
URI |
getUom()
Returns the value of the property that maps to the
uom attribute. |
double |
getValue()
The numerical value of a measurement, expressed in its unit of measure.
|
Double |
getValueObject()
Returns the value of the property that maps to the value defined by the simple content.
|
void |
setType(QName aValue)
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 |
setUom(URI aValue)
Sets the value of the property that maps to the
uom 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.
|
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
public static final TLcdDataProperty VALUE_PROPERTY
Double
.public static final TLcdDataProperty UOM_PROPERTY
uom
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty TYPE_PROPERTY
QName
constants defined in this class.public TLcdGML31Measure()
public TLcdGML31Measure(TLcdDataType aType)
public void convert(ILcdISO19103UnitOfMeasure aUnitOfMeasure, ILcdISO19103Measure aMeasureSFCT)
ILcdISO19103Measure
convert
in interface ILcdISO19103Measure
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.public ILcdISO19103UnitOfMeasure getUnitOfMeasure()
ILcdISO19103Measure
getUnitOfMeasure
in interface ILcdISO19103Measure
public void setUnitOfMeasure(ILcdISO19103UnitOfMeasure aUnitOfMeasure)
ILcdISO19103Measure
setUnitOfMeasure
in interface ILcdISO19103Measure
public double getValue()
ILcdISO19103Measure
getValue
in interface ILcdISO19103Measure
ILcdISO19103Measure.setValue(double)
public void setValue(double aValue)
ILcdISO19103Measure
setValue
in interface ILcdISO19103Measure
ILcdISO19103Measure.getValue()
public Double getValueObject()
VALUE_PROPERTY
property.public void setValueObject(Double aValue)
aValue
- the value to set for the VALUE_PROPERTY
property.public URI getUom()
uom
attribute.UOM_PROPERTY
property.public void setUom(URI aValue)
uom
attribute.aValue
- the value to set for the UOM_PROPERTY
property.public QName getType()
The possible values for this property are the public QName
constants defined in this class.
TYPE_PROPERTY
property.public void setType(QName aValue)
The possible values for this property are the public QName
constants defined in this class.
aValue
- the value to set for the TYPE_PROPERTY
property.