public class TLcdASDIMappedString extends Object
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:
->
None
->
Scheduled
->
Controlled
->
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 and Description |
---|
TLcdASDIMappedString(String aValue,
String aValueDescription)
Constructs a new
TLcdASDIMappedString with a String value
and a String describing that value. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getValueDescription()
Returns the
String that represents the description of the object. |
int |
hashCode() |
String |
stringValue()
Returns the
String value of the object. |
String |
toString() |
public String getValueDescription()
String
that represents the description of the object.String
that represents the description of the object.public String stringValue()
String
value of the object.String
value of the object.