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
ConstructorsConstructorDescriptionTLcdASDIMappedString(String aValue, String aValueDescription) Constructs a newTLcdASDIMappedStringwith aStringvalue and aStringdescribing that value. -
Method Summary
-
Constructor Details
-
TLcdASDIMappedString
Constructs a newTLcdASDIMappedStringwith aStringvalue and aStringdescribing that value.- Parameters:
aValue- The value.aValueDescription- The human readable description for that value.
-
-
Method Details
-
getValueDescription
Returns theStringthat represents the description of the object.- Returns:
- The
Stringthat represents the description of the object.
-
toString
-
stringValue
Returns theStringvalue of the object.- Returns:
- The
Stringvalue of the object.
-
equals
-
hashCode
public int hashCode()
-