|
|||||||||
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
edu.ntnu.cikmr.workflow.Incentive
public class Incentive
Title: Incentive statment
Description: Checks if the conditions to start the workflows are fulfilled.
Copyright: Copyright (c) 2007
Constructor Summary | |
---|---|
Incentive()
|
Method Summary | |
---|---|
void |
fromXML(org.w3c.dom.Node n)
|
java.lang.String |
getExecuteIfFalse()
Returns the id to execute if false |
java.lang.String |
getExecuteIfTrue()
Returns the id to execute if true |
java.lang.String |
getIfFalse()
Returns the id to execute if false |
java.lang.String |
getIfTrue()
Returns the id to execute if true |
int |
getInterval()
Returns the incentive execution interval. |
void |
setExecuteIfFalse(java.lang.String s)
Sets the id to execute if false. |
void |
setExecuteIfTrue(java.lang.String s)
Sets the id to execute if true |
void |
setIfFalse(java.lang.String ifFalse)
Sets the id to execute if false |
void |
setIfTrue(java.lang.String ifTrue)
Sets the id to execute if true |
void |
setInterval(int interval)
Returns the execution interval of the incentive. |
void |
setParent(Goal goal)
|
java.lang.String |
toXML()
|
Methods inherited from class edu.ntnu.cikmr.workflow.Condition |
---|
execute, getAndBinding, getIffalse, getIftrue, getResult, getStatement, getStatementCount, getStatementIterator, removeStatement, setAndBinding, setIffalse, setIftrue |
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 Incentive()
Method Detail |
---|
public java.lang.String getExecuteIfTrue()
public java.lang.String getExecuteIfFalse()
public void setExecuteIfTrue(java.lang.String s)
s
- idpublic void setExecuteIfFalse(java.lang.String s)
s
- idpublic int getInterval()
public java.lang.String getIfFalse()
public java.lang.String getIfTrue()
public void setInterval(int interval)
interval
- public void fromXML(org.w3c.dom.Node n)
fromXML
in interface XMLRepresentation
fromXML
in class Condition
public java.lang.String toXML()
toXML
in interface XMLRepresentation
toXML
in class Condition
public void setParent(Goal goal)
public void setIfFalse(java.lang.String ifFalse)
s
- idpublic void setIfTrue(java.lang.String ifTrue)
s
- id
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |