SORTIE Java Interface  1
Public Member Functions | Public Attributes | Protected Attributes | List of all members
sortie.tools.parfileupdater.Behavior Class Reference

Represents a single behavior in the core. More...

Public Member Functions

 Behavior (String sOldParFileTag, String sNewParFileTag)
 Constructor.
 
 Behavior (String sOldParFileTag, String sNewParFileTag, String sParametersTag)
 Constructor.
 
String getOldXMLTag ()
 
void addRequiredData (ModelData oData)
 Adds a piece of required data to the list.
 

Public Attributes

StringBuffer m_jDataBuf = new StringBuffer()
 
StringBuffer m_jBehaviorListBuf = new StringBuffer()
 

Protected Attributes

Vector< ModelDatamp_oRequiredData = new Vector<ModelData>(0)
 The data objects which are required when this behavior is enabled (i.e.
 
String m_sOldParFileTag
 String which is used to identify this behavior in the 6.x parameter file.
 
String m_sNewParFileTag
 String which is used to identify this behavior in the 7.x parameter file.
 
String m_sParametersTag
 String which holds the tag used to encircle the parameters.
 
boolean m_bEnabled = false
 

Detailed Description

Represents a single behavior in the core.

Copyright: Copyright (c) 2012

Company: Cary Institute of Ecosystem Studies

Author
Lora E. Murphy
Version
1.0


Edit history:
---------------—
June 29, 2012: Created (LEM)

Constructor & Destructor Documentation

sortie.tools.parfileupdater.Behavior.Behavior ( String  sOldParFileTag,
String  sNewParFileTag 
)

Constructor.

Parameters
sOldParFileTagParameter file 6.x XML tag (no brackets);
sNewParFileTagParameter file 7.x XML tag (no brackets).
sortie.tools.parfileupdater.Behavior.Behavior ( String  sOldParFileTag,
String  sNewParFileTag,
String  sParametersTag 
)

Constructor.

Parameters
sOldParFileTagParameter file 6.x XML tag (no brackets);
sNewParFileTagParameter file 7.x XML tag (no brackets).
sParametersTagParameter file parameters tag.

Member Function Documentation

void sortie.tools.parfileupdater.Behavior.addRequiredData ( ModelData  oData)

Adds a piece of required data to the list.

Parameters
oDataData to add.
String sortie.tools.parfileupdater.Behavior.getOldXMLTag ( )

Member Data Documentation

boolean sortie.tools.parfileupdater.Behavior.m_bEnabled = false
protected
StringBuffer sortie.tools.parfileupdater.Behavior.m_jBehaviorListBuf = new StringBuffer()
StringBuffer sortie.tools.parfileupdater.Behavior.m_jDataBuf = new StringBuffer()
String sortie.tools.parfileupdater.Behavior.m_sNewParFileTag
protected

String which is used to identify this behavior in the 7.x parameter file.

String sortie.tools.parfileupdater.Behavior.m_sOldParFileTag
protected

String which is used to identify this behavior in the 6.x parameter file.

String sortie.tools.parfileupdater.Behavior.m_sParametersTag
protected

String which holds the tag used to encircle the parameters.

Vector<ModelData> sortie.tools.parfileupdater.Behavior.mp_oRequiredData = new Vector<ModelData>(0)
protected

The data objects which are required when this behavior is enabled (i.e.

the individual pieces of data that must have values)


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