|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Consequence
Interface describing a representation of the <consequence> element of a Process Model.
Method Summary | |
---|---|
void |
addNotifiedUsers(QualifiedUsers notifyUsers)
Add a new notifiedUser to the collection |
void |
addTargetState(StateSetter stateSetter)
Add a new Target State to the collection |
void |
addUnsetState(StateSetter stateSetter)
Add a new Unset State to the collection |
StateSetter |
createStateSetter()
Create a new state Setter object |
Triggers |
createTriggers()
|
String |
getItem()
Get the item on which the comparison will be processed |
boolean |
getKill()
Get the flag that specifies if instance has to be removed |
List<QualifiedUsers> |
getNotifiedUsers()
Get all the users that have to be notified |
String |
getOperator()
Get the operator used to compare item and value |
State |
getTargetState(String strStateName)
Get the target state with the given state name |
State[] |
getTargetStates()
Get the target states |
Triggers |
getTriggers()
|
State |
getUnsetState(String strStateName)
Get the state to un-set with the given state name |
State[] |
getUnsetStates()
Get the states to un-set |
String |
getValue()
Get the value to compare with item |
boolean |
isVerified(String itemValue)
Check if the consequence is verified |
Iterator<StateSetter> |
iterateTargetState()
Iterate through Target States. |
Iterator<StateSetter> |
iterateUnsetState()
Iterate through Unset States. |
void |
setItem(String strName)
Set the item on which the comparison will be processed |
void |
setKill(boolean kill)
Set the flag that specifies if instance has to be removed |
void |
setNotifiedUsers(List<QualifiedUsers> notifiedUsersList)
Set all the users that have to be notified |
void |
setOperator(String strOperator)
Set the operator used to compare item and value |
void |
setValue(String strValue)
Set the value to compare with item |
Method Detail |
---|
String getItem()
void setItem(String strName)
the
- itemString getOperator()
void setOperator(String strOperator)
the
- operator (ie : =, >, >=, <, <=, !=)String getValue()
void setValue(String strValue)
the
- valueboolean isVerified(String itemValue)
State[] getTargetStates()
State getTargetState(String strStateName)
strStateName
- the name of the state
null
if not foundIterator<StateSetter> iterateTargetState()
StateSetter createStateSetter()
void addTargetState(StateSetter stateSetter)
stateSetter
- object to be addedState getUnsetState(String strStateName)
strStateName
- the name of the state
null
if not foundState[] getUnsetStates()
Iterator<StateSetter> iterateUnsetState()
void addUnsetState(StateSetter stateSetter)
stateSetter
- object to be addedvoid addNotifiedUsers(QualifiedUsers notifyUsers)
stateSetter
- object to be addedboolean getKill()
void setKill(boolean kill)
kill
- true if instance has to be removedList<QualifiedUsers> getNotifiedUsers()
null
void setNotifiedUsers(List<QualifiedUsers> notifiedUsersList)
QualifiedUsers
- object containing notified usersTriggers createTriggers()
Triggers getTriggers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |