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. More... | |
String | getDescriptor () |
Returns the descriptor string. More... | |
void | setDescriptor (String sDescriptor) |
Sets the descriptor string. More... | |
String | getXMLTag () |
Returns the XML tag associated with this piece of data. More... | |
abstract String | toString () |
String representation of the value. More... | |
void | setXMLTag (String sXMLTag) |
Sets the XML tag associated with this piece of data. More... | |
Protected Attributes | |
String | m_sDescriptor |
Descriptive string. More... | |
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. |
|
abstract |
String representation of the value.
Required to be overridden.
|
protected |
Descriptive string.
This should be meaningful to the user because it will be used in error messages and entry windows.