|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.validation.valdoc.rulebase.ValidationDocumentRuleSet
public class ValidationDocumentRuleSet
Constructor Summary | |
---|---|
ValidationDocumentRuleSet()
|
|
ValidationDocumentRuleSet(IRuleBase iRuleBase)
|
Method Summary | |
---|---|
void |
addRule(IRule rule)
add a rule to this ruleset |
ICriterionFactory |
getCriterionFactory()
get the criterion factory responsible for creating criterions in this ruleset |
ICriterionMapping |
getCriterionMap()
|
String |
getExecutionPointName()
get the name of the execution point descriptor that triggers rules in this ruleset |
String |
getName()
get the name of this ruleset |
IRule |
getRule(String name)
get the rule with the given name |
IRuleBase |
getRuleBase()
get the rulebase to which this ruleset belongs |
IRule[] |
getRules()
return all of the rules within this ruleset |
boolean |
isEnabled()
return whether or not this ruleset is enabled |
void |
removeRule(String name)
remove the rule with the given name |
void |
setCriterionFactory(ICriterionFactory factory)
set the criterion factory for this ruleset. |
void |
setCriterionMap(ICriterionMapping criterionMapping)
|
void |
setEnabled(boolean enabled)
set whether or not this ruleset is enabled. |
void |
setExecutionPoint(String executionPoint)
set the name of the execution point that triggered this ruleset \ |
void |
setName(String name)
set the name of this ruleset |
void |
setRuleBase(IRuleBase iRuleBase)
set the rulebase to which this ruleset belongs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationDocumentRuleSet()
public ValidationDocumentRuleSet(IRuleBase iRuleBase)
Method Detail |
---|
public void addRule(IRule rule)
IRuleSet
addRule
in interface IRuleSet
public String getExecutionPointName()
IRuleSet
getExecutionPointName
in interface IRuleSet
public String getName()
IRuleSet
getName
in interface IRuleSet
public IRule getRule(String name)
IRuleSet
getRule
in interface IRuleSet
name
- name of desired rule
null
if no such rule
exists in this rulesetpublic IRuleBase getRuleBase()
IRuleSet
getRuleBase
in interface IRuleSet
public ICriterionFactory getCriterionFactory()
IRuleSet
getCriterionFactory
in interface IRuleSet
public IRule[] getRules()
IRuleSet
getRules
in interface IRuleSet
public boolean isEnabled()
IRuleSet
isEnabled
in interface IRuleSet
true
if this ruleset is enabled,
false
otherwiseIRuleSet.setEnabled(boolean)
public void removeRule(String name)
IRuleSet
removeRule
in interface IRuleSet
name
- name of rule to be removedpublic void setEnabled(boolean enabled)
IRuleSet
setEnabled
in interface IRuleSet
public void setExecutionPoint(String executionPoint)
IRuleSet
setExecutionPoint
in interface IRuleSet
executionPoint
- name of executionPointpublic void setName(String name)
IRuleSet
setName
in interface IRuleSet
public void setRuleBase(IRuleBase iRuleBase)
IRuleSet
setRuleBase
in interface IRuleSet
public void setCriterionFactory(ICriterionFactory factory)
IRuleSet
setCriterionFactory
in interface IRuleSet
public ICriterionMapping getCriterionMap()
public void setCriterionMap(ICriterionMapping criterionMapping)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |