Class TLcdISO19103MeasureTypeCode

java.lang.Object
com.luciad.util.iso19103.ALcdISO19103Code
com.luciad.util.iso19103.TLcdISO19103MeasureTypeCode
All Implemented Interfaces:
ILcdISO19103Code
Direct Known Subclasses:
TLcdISO19103MeasureTypeCodeExtension

public class TLcdISO19103MeasureTypeCode extends ALcdISO19103Code
Code list of possible types of measurements (also called physical quantities).

Custom measures should extend from TLcdISO19103MeasureTypeCodeExtension and their name should be uniquely identify the measure type.

  • Field Details

  • Constructor Details

    • TLcdISO19103MeasureTypeCode

      protected TLcdISO19103MeasureTypeCode(String aName)
      Constructs a constant with the given name.

      Note that the name should uniquely identify this measure type.

      Parameters:
      aName - the name for the constant
    • TLcdISO19103MeasureTypeCode

      protected TLcdISO19103MeasureTypeCode(String aName, TLcdISO19103MeasureTypeCode aGeneralization)
      Constructs a constant with the given name.

      Note that the name should uniquely identify this measure type.

      Parameters:
      aName - the name for the constant
      aGeneralization - the more general measure type or null
  • Method Details

    • getGeneralization

      public TLcdISO19103MeasureTypeCode getGeneralization()
      Returns the more general measure type.

      For example terrain height is a specialization of altitude.

      Returns:
      the more general type or null
    • isSpecializationOf

      public boolean isSpecializationOf(TLcdISO19103MeasureTypeCode aMeasureType)
      Returns if this measure is a specialization of the specified measure.

      This measure is a specialization if it is equal to the specified measure or one of its ancestor generalizations.

      For example terrain height is a specialization of altitude because the latter is the immediate generalization of the first.

      Parameters:
      aMeasureType - the measure type
      Returns:
      true if it is a specialization