|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deri.wsmo4j.orchestration.rule.AbstractTransitionRuleRI
public abstract class AbstractTransitionRuleRI
Implements common functionality for a Transition Rule.
Created on Jul 26, 2005
Committed by $Author: vassil_momtchev $
$Source$
| Field Summary | |
|---|---|
protected Condition |
condition
|
protected Set<Rule> |
rules
|
| Constructor Summary | |
|---|---|
AbstractTransitionRuleRI()
Default constructor for Abstract Transition Rules |
|
| Method Summary | |
|---|---|
void |
addRule(Rule rule)
Adds a nested Rule object |
void |
addRules(Set<Rule> rules)
Adds a set of rules |
void |
clearNestedRules()
Removes all the nested rules |
Condition |
getCondition()
Returns the Logical Expression which defines the condition of the rule. |
Set<Rule> |
listNestedRules()
Returns the list of Rule objects nested inside the transition rule |
void |
removeRule(Rule rule)
Removes a nested rule |
void |
setCondition(Condition condition)
Sets the Conditon of the rule. |
void |
setRules(Set<Rule> rules)
Sets the inner rules of the rule |
protected String |
stringInnerRules()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.wsmo.service.rule.Rule |
|---|
accept, toString |
| Field Detail |
|---|
protected Condition condition
protected Set<Rule> rules
| Constructor Detail |
|---|
public AbstractTransitionRuleRI()
| Method Detail |
|---|
public Condition getCondition()
OrchestrationTransitionRule
getCondition in interface OrchestrationTransitionRulepublic void setCondition(Condition condition)
OrchestrationTransitionRule
setCondition in interface OrchestrationTransitionRulecondition - A Condition object defining the condition of the rulepublic Set<Rule> listNestedRules()
OrchestrationTransitionRule
listNestedRules in interface OrchestrationTransitionRulepublic void clearNestedRules()
OrchestrationTransitionRule
clearNestedRules in interface OrchestrationTransitionRulepublic void addRule(Rule rule)
OrchestrationTransitionRule
addRule in interface OrchestrationTransitionRulerule - Adds a nested Rule objectpublic void addRules(Set<Rule> rules)
OrchestrationTransitionRule
addRules in interface OrchestrationTransitionRulerules - The set of Rule objects to be addedpublic void removeRule(Rule rule)
OrchestrationTransitionRule
removeRule in interface OrchestrationTransitionRulerule - Rule object to be removedpublic void setRules(Set<Rule> rules)
OrchestrationTransitionRule
setRules in interface OrchestrationTransitionRulerules - A set of Rule objects to be set
as the inner rulesprotected String stringInnerRules()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||