org.drools.rule
Interface RuleConditionElement

All Superinterfaces:
Cloneable, Externalizable, RuleComponent, Serializable
All Known Subinterfaces:
PatternSource
All Known Implementing Classes:
Accumulate, Collect, ConditionalElement, EntryPoint, EvalCondition, Forall, From, GroupElement, Pattern, QueryElement

public interface RuleConditionElement
extends RuleComponent, Externalizable, Cloneable


Method Summary
 Object clone()
          Returns a clone from itself
 Map<String,Declaration> getInnerDeclarations()
          Returns a Map of declarations that are visible inside this conditional element
 List<RuleConditionElement> getNestedElements()
          Returs a list of RuleConditionElement's that are nested inside the current element
 Map<String,Declaration> getOuterDeclarations()
          Returns a Map of declarations that are visible outside this conditional element.
 boolean isPatternScopeDelimiter()
          Returns true in case this RuleConditionElement delimits a pattern visibility scope.
 Declaration resolveDeclaration(String identifier)
          Resolves the given identifier in the current scope and returns the Declaration object for the declaration.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getInnerDeclarations

Map<String,Declaration> getInnerDeclarations()
Returns a Map of declarations that are visible inside this conditional element

Returns:

getOuterDeclarations

Map<String,Declaration> getOuterDeclarations()
Returns a Map of declarations that are visible outside this conditional element.

Returns:

resolveDeclaration

Declaration resolveDeclaration(String identifier)
Resolves the given identifier in the current scope and returns the Declaration object for the declaration. Returns null if identifier can not be resolved.

Parameters:
identifier -
Returns:

clone

Object clone()
Returns a clone from itself

Returns:

getNestedElements

List<RuleConditionElement> getNestedElements()
Returs a list of RuleConditionElement's that are nested inside the current element

Returns:

isPatternScopeDelimiter

boolean isPatternScopeDelimiter()
Returns true in case this RuleConditionElement delimits a pattern visibility scope. For instance, AND CE is not a scope delimiter, while NOT CE is a scope delimiter

Returns:


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.