SORTIE Java Interface  1
Public Member Functions | Private Attributes | List of all members
sortie.data.simpletypes.ModelString Class Reference

Packages a String value together with additional data. More...

Inheritance diagram for sortie.data.simpletypes.ModelString:
sortie.data.simpletypes.ModelData

Public Member Functions

 ModelString (String sValue, String sDescriptor, String sXMLTag)
 Constructor. More...
 
String toString ()
 Required overridden method. More...
 
void setValue (String sValue)
 Sets the value of this object. More...
 
String getValue ()
 Gets the value of this object. More...
 
Object clone ()
 Creates a clone of this object. More...
 
- Public Member Functions inherited from sortie.data.simpletypes.ModelData
 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...
 

Private Attributes

String m_sValue
 String value being packaged. More...
 

Additional Inherited Members

- Protected Attributes inherited from sortie.data.simpletypes.ModelData
String m_sDescriptor
 Descriptive string. More...
 

Detailed Description

Packages a String value together with additional data.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Cary Institute of Ecosystem Studies

Author
Lora E. Murphy
Version
1.0


Edit history:
---------------—
April 28, 2004: Submitted in beta version (LEM)

Constructor & Destructor Documentation

◆ ModelString()

sortie.data.simpletypes.ModelString.ModelString ( String  sValue,
String  sDescriptor,
String  sXMLTag 
)

Constructor.

Parameters
sValueValue of this object.
sDescriptorDescriptive string. This should be meaningful to the user because it will be used in error messages and entry windows
sXMLTagData's XML tag.

Member Function Documentation

◆ clone()

Object sortie.data.simpletypes.ModelString.clone ( )

Creates a clone of this object.

Returns
Object

◆ getValue()

String sortie.data.simpletypes.ModelString.getValue ( )

Gets the value of this object.

Returns
Value of the object.

◆ setValue()

void sortie.data.simpletypes.ModelString.setValue ( String  sValue)

Sets the value of this object.

Parameters
sValueValue to set.

◆ toString()

String sortie.data.simpletypes.ModelString.toString ( )

Required overridden method.

Returns
String representation of the value.

Member Data Documentation

◆ m_sValue

String sortie.data.simpletypes.ModelString.m_sValue
private

String value being packaged.


The documentation for this class was generated from the following file: