|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.rule.ConditionalElement
org.drools.core.rule.QueryElement
public class QueryElement
| Constructor Summary | |
|---|---|
QueryElement()
|
|
QueryElement(Pattern resultPattern,
String queryName,
Object[] argTemplate,
Declaration[] requiredDeclarations,
int[] declIndexes,
int[] variableIndexes,
boolean openQuery,
boolean abductive)
|
|
| Method Summary | |
|---|---|
QueryElement |
clone()
Returns a clone from itself |
boolean |
equals(Object obj)
|
Object[] |
getArgTemplate()
|
int[] |
getDeclIndexes()
|
Map |
getInnerDeclarations()
Returns a Map of declarations that are visible inside this conditional element |
List |
getNestedElements()
Returs a list of RuleConditionElement's that are nested inside the current element |
Map |
getOuterDeclarations()
Returns a Map of declarations that are visible outside this conditional element. |
String |
getQueryName()
|
Declaration[] |
getRequiredDeclarations()
|
Pattern |
getResultPattern()
|
int[] |
getVariableIndexes()
|
int |
hashCode()
|
boolean |
isAbductive()
|
boolean |
isOpenQuery()
|
boolean |
isPatternScopeDelimiter()
Returns true in case this RuleConditionElement delimits a pattern visibility scope. |
void |
readExternal(ObjectInput in)
|
Declaration |
resolveDeclaration(String identifier)
Resolves the given identifier in the current scope and returns the Declaration object for the declaration. |
void |
setVariableIndexes(int[] varIndexes)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueryElement()
public QueryElement(Pattern resultPattern,
String queryName,
Object[] argTemplate,
Declaration[] requiredDeclarations,
int[] declIndexes,
int[] variableIndexes,
boolean openQuery,
boolean abductive)
| Method Detail |
|---|
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundExceptionpublic String getQueryName()
public Object[] getArgTemplate()
public int[] getDeclIndexes()
public void setVariableIndexes(int[] varIndexes)
public int[] getVariableIndexes()
public Map getInnerDeclarations()
RuleConditionElement
getInnerDeclarations in interface RuleConditionElementpublic Map getOuterDeclarations()
RuleConditionElement
getOuterDeclarations in interface RuleConditionElementpublic List getNestedElements()
RuleConditionElement
getNestedElements in interface RuleConditionElementpublic Pattern getResultPattern()
public boolean isPatternScopeDelimiter()
RuleConditionElement
isPatternScopeDelimiter in interface RuleConditionElementpublic Declaration[] getRequiredDeclarations()
public boolean isOpenQuery()
public boolean isAbductive()
public Declaration resolveDeclaration(String identifier)
RuleConditionElement
resolveDeclaration in interface RuleConditionElementpublic QueryElement clone()
RuleConditionElement
clone in interface RuleConditionElementclone in class ConditionalElementpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||