Package com.luciad.format.asdi
Class TLcdASDIMappedString
java.lang.Object
com.luciad.format.asdi.TLcdASDIMappedString
Represents a
String
value with an additional description.
ASDI messages sometimes use String
codes to choose from a list of possibilities,
for example for ILcdASDIFlightPlanMessageFeatures.RT_FLIGHT_STATUS_SF
it specifies:
- N
->
None - S
->
Scheduled - L
->
Controlled - F
->
Filed - ...
TLcdASDIMappedString
, so
ILcdFeatured.getFeature(int)
returns an object of this class. The method
stringValue()
returns the String
value,
and getValueDescription()
and toString()
return the description.
Please refer to ALcdASDIModelDescriptor
for more information about features.-
Constructor Summary
ConstructorDescriptionTLcdASDIMappedString
(String aValue, String aValueDescription) Constructs a newTLcdASDIMappedString
with aString
value and aString
describing that value. -
Method Summary
-
Constructor Details
-
TLcdASDIMappedString
Constructs a newTLcdASDIMappedString
with aString
value and aString
describing that value.- Parameters:
aValue
- The value.aValueDescription
- The human readable description for that value.
-
-
Method Details
-
getValueDescription
Returns theString
that represents the description of the object.- Returns:
- The
String
that represents the description of the object.
-
toString
-
stringValue
Returns theString
value of the object.- Returns:
- The
String
value of the object.
-
equals
-
hashCode
public int hashCode()
-