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
FieldsModifier and TypeFieldDescriptionstatic final TLcdISO19103MeasureTypeCodeConstant for angle measurements.static final TLcdISO19103MeasureTypeCodeConstant for area measurements.static final TLcdISO19103MeasureTypeCodeConstant for currency measurements.static final TLcdISO19103MeasureTypeCodeConstant for distance measurements.static final TLcdISO19103MeasureTypeCodeConstant for length measurements.static final TLcdISO19103MeasureTypeCodeConstant for scale measurements.static final TLcdISO19103MeasureTypeCodeConstant for time measurements.static final TLcdISO19103MeasureTypeCodeConstant for velocity measurements.static final TLcdISO19103MeasureTypeCodeConstant for volume measurements.static final TLcdISO19103MeasureTypeCodeConstant for weight measurements. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a constant with the given name.protectedTLcdISO19103MeasureTypeCode(String aName, TLcdISO19103MeasureTypeCode aGeneralization) Constructs a constant with the given name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the more general measure type.booleanisSpecializationOf(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 heightis 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 heightis a specialization ofaltitudebecause the latter is the immediate generalization of the first.- Parameters:
aMeasureType- the measure type- Returns:
trueif it is a specialization
-