org.opensha.gem.GEM1.calc.gemLogicTree
Class GemLogicTreeBranchingLevel

java.lang.Object
  extended by org.opensha.gem.GEM1.calc.gemLogicTree.GemLogicTreeBranchingLevel
All Implemented Interfaces:
Serializable

public class GemLogicTreeBranchingLevel
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
GemLogicTreeBranchingLevel()
           
GemLogicTreeBranchingLevel(int level, String branchingLabel, int appliesTo)
           
 
Method Summary
 void addTreeBranch(GemLogicTreeBranch treeBranch)
           
 int getAppliesTo()
           
 GemLogicTreeBranch getBranch(int idx)
           
 String getBranchingLabel()
           
 int getLevel()
           
 ArrayList<GemLogicTreeBranch> getTreeBranchList()
           
 void setAppliesTo(int appliesTo)
           
 void setBranchingLabel(String branchingLabel)
           
 void setLevel(int level)
           
 void setTreeBranchList(ArrayList<GemLogicTreeBranch> treeBranchList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GemLogicTreeBranchingLevel

public GemLogicTreeBranchingLevel()

GemLogicTreeBranchingLevel

public GemLogicTreeBranchingLevel(int level,
                                  String branchingLabel,
                                  int appliesTo)
Method Detail

addTreeBranch

public void addTreeBranch(GemLogicTreeBranch treeBranch)
Parameters:
treeBranch -

getTreeBranchList

public ArrayList<GemLogicTreeBranch> getTreeBranchList()
Returns:
treeBranchList

setTreeBranchList

public void setTreeBranchList(ArrayList<GemLogicTreeBranch> treeBranchList)
Parameters:
treeBranchList -

getLevel

public int getLevel()
Returns:
level

setLevel

public void setLevel(int level)

getBranchingLabel

public String getBranchingLabel()

setBranchingLabel

public void setBranchingLabel(String branchingLabel)

getAppliesTo

public int getAppliesTo()

setAppliesTo

public void setAppliesTo(int appliesTo)

getBranch

public GemLogicTreeBranch getBranch(int idx)
Parameters:
idx -
Returns: