|
SORTIE Java Interface
1
|
This is a base class for packaging data values with additional information. More...
Public Member Functions | |
| ModelData (String sDescriptor, String sXMLTag) | |
| Constructor. | |
| String | getDescriptor () |
| Returns the descriptor string. | |
| void | setDescriptor (String sDescriptor) |
| Sets the descriptor string. | |
| String | getXMLTag () |
| Returns the XML tag associated with this piece of data. | |
| abstract String | toString () |
| String representation of the value. | |
| void | setXMLTag (String sXMLTag) |
| Sets the XML tag associated with this piece of data. | |
Protected Attributes | |
| String | m_sDescriptor |
| Descriptive string. | |
This is a base class for packaging data values with additional information.
The additional information allows for automation of lots of data operations.
Copyright: Copyright (c) Charles D. Canham 2003
Company: Cary Institute of Ecosystem Studies
Edit history:
---------------—
April 28, 2004: Submitted in beta version (LEM)
| sortie.data.simpletypes.ModelData.ModelData | ( | String | sDescriptor, |
| String | sXMLTag | ||
| ) |
Constructor.
| sDescriptor | Descriptor string. |
| sXMLTag | The XML tag associated with this piece of data. |
| String sortie.data.simpletypes.ModelData.getDescriptor | ( | ) |
Returns the descriptor string.
| String sortie.data.simpletypes.ModelData.getXMLTag | ( | ) |
Returns the XML tag associated with this piece of data.
| void sortie.data.simpletypes.ModelData.setDescriptor | ( | String | sDescriptor | ) |
Sets the descriptor string.
| sDescriptor | The Descriptor string. |
| void sortie.data.simpletypes.ModelData.setXMLTag | ( | String | sXMLTag | ) |
Sets the XML tag associated with this piece of data.
| sXMLTag | tag. |
|
pure virtual |
String representation of the value.
Required to be overridden.
Implemented in sortie.data.simpletypes.ModelVector, sortie.data.simpletypes.ModelEnum, sortie.data.simpletypes.ModelString, sortie.data.simpletypes.ModelFloat, and sortie.data.simpletypes.ModelInt.
|
protected |
Descriptive string.
This should be meaningful to the user because it will be used in error messages and entry windows.
1.8.2