Inheritance diagram for javawrapper::ModelEnum:
Public Member Functions | |
ModelEnum (int[] p_iAllowedValues, String[] p_sValueLabels, String sDescriptor, String sXMLTag) | |
Constructor. | |
String | toString () |
Required overridden method. | |
void | SetValue (int iValue) throws ModelException |
Sets the value. | |
void | SetValue (String sValue) throws ModelException |
Sets the value using one of the string literals. | |
int | GetValue () |
Gets the integer value. | |
String | GetStringValue () |
Get the string label corresponding to the current integer value. | |
int[] | GetAllowedValues () |
Gets the set of all allowed values. | |
String[] | GetAllowedValueLabels () |
Gets the set of allowed value labels. | |
boolean | equals (Object oTest) |
Overriding equality tester. | |
Protected Attributes | |
int | m_iValue |
Variable's value. | |
int[] | mp_iAllowedValues |
String[] | mp_sValueLabels |
This object has a limited number of values it can accept.
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
|
Constructor.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Overriding equality tester.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Gets the set of allowed value labels.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Gets the set of all allowed values.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Get the string label corresponding to the current integer value.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Gets the integer value.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Sets the value using one of the string literals.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Sets the value.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
Required overridden method.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implements javawrapper::ModelData. |