Package com.luciad.util.iso19103
Class TLcdISO19103MeasureTypeCode
java.lang.Object
com.luciad.util.iso19103.ALcdISO19103Code
com.luciad.util.iso19103.TLcdISO19103MeasureTypeCode
- All Implemented Interfaces:
ILcdISO19103Code
- Direct Known Subclasses:
TLcdISO19103MeasureTypeCodeExtension
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 Summary
Modifier and TypeFieldDescriptionstatic final TLcdISO19103MeasureTypeCode
Constant for angle measurements.static final TLcdISO19103MeasureTypeCode
Constant for area measurements.static final TLcdISO19103MeasureTypeCode
Constant for currency measurements.static final TLcdISO19103MeasureTypeCode
Constant for distance measurements.static final TLcdISO19103MeasureTypeCode
Constant for length measurements.static final TLcdISO19103MeasureTypeCode
Constant for scale measurements.static final TLcdISO19103MeasureTypeCode
Constant for time measurements.static final TLcdISO19103MeasureTypeCode
Constant for velocity measurements.static final TLcdISO19103MeasureTypeCode
Constant for volume measurements.static final TLcdISO19103MeasureTypeCode
Constant for weight measurements. -
Constructor Summary
ModifierConstructorDescriptionprotected
Constructs a constant with the given name.protected
TLcdISO19103MeasureTypeCode
(String aName, TLcdISO19103MeasureTypeCode aGeneralization) Constructs a constant with the given name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the more general measure type.boolean
isSpecializationOf
(TLcdISO19103MeasureTypeCode aMeasureType) Returns if this measure is a specialization of the specified measure.Methods inherited from class com.luciad.util.iso19103.ALcdISO19103Code
equals, getName, hashCode, toString
-
Field Details
-
AREA
Constant for area measurements. -
LENGTH
Constant for length measurements. -
ANGLE
Constant for angle measurements. -
TIME
Constant for time measurements.- See Also:
-
VELOCITY
Constant for velocity measurements. -
VOLUME
Constant for volume measurements. -
SCALE
Constant for scale measurements. -
WEIGHT
Constant for weight measurements. -
DISTANCE
Constant for distance measurements. This is a specialization ofLENGTH
. -
CURRENCY
Constant for currency measurements.
-
-
Constructor Details
-
TLcdISO19103MeasureTypeCode
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
Constructs a constant with the given name. Note that the name should uniquely identify this measure type.- Parameters:
aName
- the name for the constantaGeneralization
- the more general measure type ornull
-
-
Method Details
-
getGeneralization
Returns the more general measure type. For exampleterrain height
is a specialization ofaltitude
.- Returns:
- the more general type or
null
-
isSpecializationOf
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 exampleterrain height
is a specialization ofaltitude
because the latter is the immediate generalization of the first.- Parameters:
aMeasureType
- the measure type- Returns:
true
if it is a specialization
-