Class TLcdGML31Measure

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, ILcdFeatured, ILcdSelfDescribedFeatured, ILcdISO19103Measure, Serializable, Cloneable
Direct Known Subclasses:
TLcdGML31Angle, TLcdGML31Area, TLcdGML31GridLength, TLcdGML31Length, TLcdGML31Scale, TLcdGML31Speed, TLcdGML31Time, TLcdGML31Volume

public class TLcdGML31Measure extends TLcdFeaturedDataObject implements ILcdISO19103Measure
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 Details

    • VALUE_PROPERTY

      public static final TLcdDataProperty VALUE_PROPERTY
      Data property that maps to the value defined by the simple content. The possible values for this property are instances of Double.
    • UOM_PROPERTY

      public static final TLcdDataProperty UOM_PROPERTY
      Data property that maps to the uom attribute. The possible values for this property are instances of URI.
    • TYPE_PROPERTY

      public static final TLcdDataProperty TYPE_PROPERTY
      Data property that holds the type of this instance. The possible values for this property are the public QName constants defined in this class.
  • Constructor Details

    • TLcdGML31Measure

      public TLcdGML31Measure()
    • TLcdGML31Measure

      public TLcdGML31Measure(TLcdDataType aType)
  • Method Details

    • convert

      public void convert(ILcdISO19103UnitOfMeasure aUnitOfMeasure, ILcdISO19103Measure aMeasureSFCT)
      Description copied from interface: ILcdISO19103Measure
      Converts this measure to another unit of measure by means of a side effect parameter.
      Specified by:
      convert in interface ILcdISO19103Measure
      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

      public ILcdISO19103UnitOfMeasure getUnitOfMeasure()
      Description copied from interface: ILcdISO19103Measure
      Returns the unit of measure this measure is expressed in.
      Specified by:
      getUnitOfMeasure in interface ILcdISO19103Measure
    • setUnitOfMeasure

      public void setUnitOfMeasure(ILcdISO19103UnitOfMeasure aUnitOfMeasure)
      Description copied from interface: ILcdISO19103Measure
      Sets the unit of measure this measure is expressed in.
      Specified by:
      setUnitOfMeasure in interface ILcdISO19103Measure
      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 interface ILcdISO19103Measure
      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 interface ILcdISO19103Measure
      Parameters:
      aValue -
      See Also:
    • getValueObject

      public Double 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

      public void setValueObject(Double aValue)
      Sets the value of the property that maps to the value defined by the simple content.
      Parameters:
      aValue - the value to set for the VALUE_PROPERTY property.
    • getUom

      public URI getUom()
      Returns the value of the property that maps to the uom attribute.
      Returns:
      the value of the UOM_PROPERTY property.
    • setUom

      public void setUom(URI aValue)
      Sets the value of the property that maps to the uom attribute.
      Parameters:
      aValue - the value to set for the UOM_PROPERTY property.
    • getType

      public QName 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

      public void setType(QName aValue)
      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 the TYPE_PROPERTY property.