com.sodius.mdw.core.eval.debug
Interface RuleReference

All Superinterfaces:
ElementReference

public interface RuleReference
extends ElementReference

A reference to a rule.

This interface is not intended to be implemented by clients.

See Also:
RuleSetReference.getRules()

Method Summary
 int getParameterCount()
          Returns the number of parameters declared by the element.
 RuleReference getParent()
          Returns the container rule.
 RuleSetReference getRuleSet()
          Returns the container rule set.
 List<RuleReference> getSubRules()
          Returns the subrules used during the evaluation.
 VisibilityKind getVisibility()
          Returns the rule visibility.
 boolean isSubRule()
          Returns true if this is a subrule.
 
Methods inherited from interface com.sodius.mdw.core.eval.debug.ElementReference
getName, getProject
 

Method Detail

getParameterCount

int getParameterCount()
Returns the number of parameters declared by the element.

Returns:
the number of parameters declared by the element.

getRuleSet

RuleSetReference getRuleSet()
Returns the container rule set.

Returns:
the container rule set.

getVisibility

VisibilityKind getVisibility()
Returns the rule visibility.

Returns:
the rule visibility.

isSubRule

boolean isSubRule()
Returns true if this is a subrule.

Returns:
true if this is a subrule, false otherwise.

getParent

RuleReference getParent()
Returns the container rule.

Returns:
the container rule, null if this is not a subrule.

getSubRules

List<RuleReference> getSubRules()
Returns the subrules used during the evaluation.

Returns:
a unmodifiable list of RuleReference elements.