org.drools.compiler.lang.descr
Class ConditionalBranchDescr
java.lang.Object
org.drools.compiler.lang.descr.BaseDescr
org.drools.compiler.lang.descr.ConditionalBranchDescr
- All Implemented Interfaces:
- Externalizable, Serializable, org.drools.core.rule.Namespaceable
public class ConditionalBranchDescr
- extends BaseDescr
- See Also:
- Serialized Form
| Methods inherited from class org.drools.compiler.lang.descr.BaseDescr |
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText |
ConditionalBranchDescr
public ConditionalBranchDescr()
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-2015 JBoss by Red Hat. All Rights Reserved.