|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ntnu.cikmr.workflow.Statement
edu.ntnu.cikmr.workflow.Condition
public class Condition
Title: Condition statement
Description: A conditional block
Copyright: Copyright (c) 2007
Constructor Summary | |
---|---|
Condition()
|
Method Summary | |
---|---|
boolean |
execute()
|
void |
fromXML(org.w3c.dom.Node n)
|
boolean |
getAndBinding()
Return if the and or or binding is used. |
java.lang.String |
getIffalse()
Returns the id to execute if false |
java.lang.String |
getIftrue()
Return the id to execute if true. |
boolean |
getResult()
|
Statement |
getStatement(int index)
|
int |
getStatementCount()
|
java.util.Iterator<Statement> |
getStatementIterator()
|
void |
removeStatement(int index)
|
void |
setAndBinding(boolean andBinding)
Sets if the binding should be and or or. |
void |
setIffalse(java.lang.String iffalse)
Sets the acitity to execute if false. |
void |
setIftrue(java.lang.String iftrue)
Sets the activity to execute if true |
java.lang.String |
toXML()
|
Methods inherited from class edu.ntnu.cikmr.workflow.Statement |
---|
getParent, resolve, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Condition()
Method Detail |
---|
public void fromXML(org.w3c.dom.Node n)
public java.lang.String toXML()
public boolean execute()
public boolean getResult()
public java.lang.String getIftrue()
public java.lang.String getIffalse()
public boolean getAndBinding()
public void setAndBinding(boolean andBinding)
andBinding
- booleanpublic void setIffalse(java.lang.String iffalse)
iffalse
- idpublic void setIftrue(java.lang.String iftrue)
iftrue
- idpublic int getStatementCount()
public Statement getStatement(int index)
public void removeStatement(int index)
public java.util.Iterator<Statement> getStatementIterator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |