com.irs.jam
Class PlanBranchConstruct

java.lang.Object
  |
  +--com.irs.jam.PlanConstruct
        |
        +--com.irs.jam.PlanBranchConstruct
All Implemented Interfaces:
java.io.Serializable

public class PlanBranchConstruct
extends PlanConstruct
implements java.io.Serializable

Represents conditional branching plan components

See Also:
Serialized Form

Field Summary
protected  java.util.Vector _branches
           
protected  int _branchType
           
static int PLAN_AND_BRANCH
           
static int PLAN_NO_BRANCH
           
static int PLAN_OR_BRANCH
           
 
Fields inherited from class com.irs.jam.PlanConstruct
_constructType, PLAN_ATOMIC, PLAN_BRANCH, PLAN_DO, PLAN_DOALL, PLAN_DOANY, PLAN_PARALLEL, PLAN_SEQUENCE, PLAN_SIMPLE, PLAN_UNDEFINED, PLAN_WAIT, PLAN_WHEN, PLAN_WHILE
 
Constructor Summary
PlanBranchConstruct()
           
PlanBranchConstruct(PlanSequenceConstruct s, int branchType)
           
 
Method Summary
 void addBranch(PlanConstruct be)
           
 PlanSequenceConstruct getBranch(int branchnum)
           
 int getBranchType()
           
 int getNumBranches()
           
 PlanRuntimeState newRuntimeState()
           
 void setBranchType(int bt)
           
 
Methods inherited from class com.irs.jam.PlanConstruct
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLAN_NO_BRANCH

public static final int PLAN_NO_BRANCH

PLAN_AND_BRANCH

public static final int PLAN_AND_BRANCH

PLAN_OR_BRANCH

public static final int PLAN_OR_BRANCH

_branchType

protected int _branchType

_branches

protected java.util.Vector _branches
Constructor Detail

PlanBranchConstruct

public PlanBranchConstruct()

PlanBranchConstruct

public PlanBranchConstruct(PlanSequenceConstruct s,
                           int branchType)
Method Detail

getNumBranches

public int getNumBranches()

getBranchType

public int getBranchType()

newRuntimeState

public PlanRuntimeState newRuntimeState()
Overrides:
newRuntimeState in class PlanConstruct

setBranchType

public void setBranchType(int bt)

getBranch

public PlanSequenceConstruct getBranch(int branchnum)

addBranch

public void addBranch(PlanConstruct be)