org.drools.lang.descr
Class ConditionalBranchDescr

java.lang.Object
  extended by org.drools.lang.descr.BaseDescr
      extended by org.drools.lang.descr.ConditionalBranchDescr
All Implemented Interfaces:
Externalizable, Serializable, Namespaceable

public class ConditionalBranchDescr
extends BaseDescr

See Also:
Serialized Form

Constructor Summary
ConditionalBranchDescr()
           
 
Method Summary
 EvalDescr getCondition()
           
 NamedConsequenceDescr getConsequence()
           
 ConditionalBranchDescr getElseBranch()
           
 void readExternal(ObjectInput in)
           
 void setCondition(EvalDescr condition)
           
 void setConsequence(NamedConsequenceDescr consequence)
           
 void setElseBranch(ConditionalBranchDescr elseBranch)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.drools.lang.descr.BaseDescr
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConditionalBranchDescr

public ConditionalBranchDescr()
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class BaseDescr
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class BaseDescr
Throws:
IOException

getCondition

public EvalDescr getCondition()

setCondition

public void setCondition(EvalDescr condition)

getConsequence

public NamedConsequenceDescr getConsequence()

setConsequence

public void setConsequence(NamedConsequenceDescr consequence)

getElseBranch

public ConditionalBranchDescr getElseBranch()

setElseBranch

public void setElseBranch(ConditionalBranchDescr elseBranch)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.