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. More...
 
 Behavior (String sOldParFileTag, String sNewParFileTag, String sParametersTag)
 Constructor. More...
 
String getOldXMLTag ()
 
void addRequiredData (ModelData oData)
 Adds a piece of required data to the list. More...
 

Public Attributes

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

Protected Attributes

ArrayList< ModelDatamp_oRequiredData = new ArrayList<ModelData>(0)
 The data objects which are required when this behavior is enabled (i.e. More...
 
String m_sOldParFileTag
 String which is used to identify this behavior in the 6.x parameter file. More...
 
String m_sNewParFileTag
 String which is used to identify this behavior in the 7.x parameter file. More...
 
String m_sParametersTag
 String which holds the tag used to encircle the parameters. More...
 
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

◆ Behavior() [1/2]

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).

◆ Behavior() [2/2]

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

◆ addRequiredData()

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

Adds a piece of required data to the list.

Parameters
oDataData to add.

◆ getOldXMLTag()

String sortie.tools.parfileupdater.Behavior.getOldXMLTag ( )

Member Data Documentation

◆ m_bEnabled

boolean sortie.tools.parfileupdater.Behavior.m_bEnabled = false
protected

◆ m_jBehaviorListBuf

StringBuffer sortie.tools.parfileupdater.Behavior.m_jBehaviorListBuf = new StringBuffer()

◆ m_jDataBuf

StringBuffer sortie.tools.parfileupdater.Behavior.m_jDataBuf = new StringBuffer()

◆ m_sNewParFileTag

String sortie.tools.parfileupdater.Behavior.m_sNewParFileTag
protected

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

◆ m_sOldParFileTag

String sortie.tools.parfileupdater.Behavior.m_sOldParFileTag
protected

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

◆ m_sParametersTag

String sortie.tools.parfileupdater.Behavior.m_sParametersTag
protected

String which holds the tag used to encircle the parameters.

◆ mp_oRequiredData

ArrayList<ModelData> sortie.tools.parfileupdater.Behavior.mp_oRequiredData = new ArrayList<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: