Package com.luciad.format.asdi
Class TLcdASDIMappedInteger
java.lang.Object
java.lang.Number
com.luciad.format.asdi.TLcdASDIMappedInteger
- All Implemented Interfaces:
Serializable
Deprecated.
Extension of
java.lang.Number that represents an integer value.
The difference with a regular java.lang.Integer is that the integer value has
some specific meaning that corresponds to a human readable name for the integer number.
ASDI messages sometimes use integer values to choose from a list of possibilities,
for example for ILcdASDIFlightPlanMessageFeatures.RT_CAUSING_MESSAGE_TYPE_SF it specifies:
- 1
->AF message - 4
->DZ message - 5
->FZ message - ...
ASDI messages sometimes contain type information that is extracted from the format of the message,
for example ILcdASDIFeatures.SPEED_CF__TYPE_SF contains speed type information.
Following types can be distincted :
- Unknown speed type
- True air speed
- Mach speed
- Classified speed
TLcdASDIMappedInteger, so
ILcdFeatured.getFeature(int) returns an object of this class.
In the second case the integer values are not described in the specification,
but this class defines constants for these values allowing to work easily with them.
The method intValue() returns the actual integer value, and getValueDescription() and
toString() return the human readable description.
Please refer to ALcdASDIModelDescriptor for more information about features.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Altitude type option, indicates an altitude that an aircraft is operating above.static final intDeprecated.Altitude type option, indicates a general altitude.static final intDeprecated.Altitude type option, indicates a block of altitudes.static final intDeprecated.Altitude type option, indicates an altitude that an aircraft has been cleared to.static final intDeprecated.Altitude type option, indicates an altitude and a second altitude that is assigned after a specified fix.static final intDeprecated.Altitude type option, indicates a mode C altitude.static final intDeprecated.Altitude type option, indicates an unknown altitude type.static final intDeprecated.Altitude type option, indicates VFR, possibly also an altitude is specified.static final intDeprecated.Altitude type option, indicates VFR-on-top, possibly also an altitude is specified.static final intDeprecated.Speed type option, indicates a classified speed.static final intDeprecated.Speed type option, indicates a mach speed.static final intDeprecated.Speed type option, indicates a true air speed.static final intDeprecated.Speed type option, indicates an unknown speed type. -
Constructor Summary
ConstructorsConstructorDescriptionTLcdASDIMappedInteger(int aValue, String aValueDescription) Deprecated.Constructs a newTLcdASDIMappedIntegerwith an integer number and a string describing that value. -
Method Summary
Modifier and TypeMethodDescriptiondoubleDeprecated.Returns the integer value of the object as adouble.booleanDeprecated.floatDeprecated.Returns the integer value of the object as afloat.Deprecated.Returns theStringdescribing the value of the object.inthashCode()Deprecated.intintValue()Deprecated.Returns the integer value of the object.longDeprecated.Returns the integer value of the object as along.Deprecated.Returns the String describing the integer value of the object.toString()Deprecated.Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
ALTITUDE_TYPE_UNKNOWN
public static final int ALTITUDE_TYPE_UNKNOWNDeprecated.Altitude type option, indicates an unknown altitude type.- See Also:
-
ALTITUDE_TYPE_ALTITUDE
public static final int ALTITUDE_TYPE_ALTITUDEDeprecated.Altitude type option, indicates a general altitude.- See Also:
-
ALTITUDE_TYPE_CLEARED_TO_ALTITUDE
public static final int ALTITUDE_TYPE_CLEARED_TO_ALTITUDEDeprecated.Altitude type option, indicates an altitude that an aircraft has been cleared to.- See Also:
-
ALTITUDE_TYPE_ALTITUDE_BLOCK
public static final int ALTITUDE_TYPE_ALTITUDE_BLOCKDeprecated.Altitude type option, indicates a block of altitudes.- See Also:
-
ALTITUDE_TYPE_MODE_C_ALTITUDE
public static final int ALTITUDE_TYPE_MODE_C_ALTITUDEDeprecated.Altitude type option, indicates a mode C altitude.- See Also:
-
ALTITUDE_TYPE_VFR_ON_TOP
public static final int ALTITUDE_TYPE_VFR_ON_TOPDeprecated.Altitude type option, indicates VFR-on-top, possibly also an altitude is specified.- See Also:
-
ALTITUDE_TYPE_ABOVE_ALTITUDE
public static final int ALTITUDE_TYPE_ABOVE_ALTITUDEDeprecated.Altitude type option, indicates an altitude that an aircraft is operating above.- See Also:
-
ALTITUDE_TYPE_VFR
public static final int ALTITUDE_TYPE_VFRDeprecated.Altitude type option, indicates VFR, possibly also an altitude is specified.- See Also:
-
ALTITUDE_TYPE_FIX_ALTITUDES
public static final int ALTITUDE_TYPE_FIX_ALTITUDESDeprecated.Altitude type option, indicates an altitude and a second altitude that is assigned after a specified fix.- See Also:
-
SPEED_TYPE_UNKNOWN
public static final int SPEED_TYPE_UNKNOWNDeprecated.Speed type option, indicates an unknown speed type.- See Also:
-
SPEED_TYPE_TRUE_AIR_SPEED
public static final int SPEED_TYPE_TRUE_AIR_SPEEDDeprecated.Speed type option, indicates a true air speed.- See Also:
-
SPEED_TYPE_MACH_SPEED
public static final int SPEED_TYPE_MACH_SPEEDDeprecated.Speed type option, indicates a mach speed.- See Also:
-
SPEED_TYPE_CLASSIFIED_SPEED
public static final int SPEED_TYPE_CLASSIFIED_SPEEDDeprecated.Speed type option, indicates a classified speed.- See Also:
-
-
Constructor Details
-
TLcdASDIMappedInteger
Deprecated.Constructs a newTLcdASDIMappedIntegerwith an integer number and a string describing that value.- Parameters:
aValue- The integer value.aValueDescription- The human readable description for that value.
-
-
Method Details
-
getValueDescription
Deprecated.Returns theStringdescribing the value of the object.- Returns:
- The
Stringdescribing the value of the object.
-
toString
Deprecated. -
doubleValue
public double doubleValue()Deprecated.Returns the integer value of the object as adouble.- Specified by:
doubleValuein classNumber- Returns:
- The integer value of the object as a
double.
-
floatValue
public float floatValue()Deprecated.Returns the integer value of the object as afloat.- Specified by:
floatValuein classNumber- Returns:
- The integer value of the object as a
float.
-
longValue
public long longValue()Deprecated.Returns the integer value of the object as along. -
intValue
public int intValue()Deprecated.Returns the integer value of the object. -
stringValue
Deprecated.Returns the String describing the integer value of the object.- Returns:
- The String describing the integer value of the object.
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-
TLcdASDIModelDecoderfor more information.