|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectantlr.BaseAST
antlr.CommonAST
org.apache.jdo.impl.jdoql.jdoqlc.JDOQLAST
org.apache.jdo.impl.jdoql.tree.NodeImpl
org.apache.jdo.impl.jdoql.tree.CandidateClassImpl
public final class CandidateClassImpl
This node represents the candidate class of a query. The candidate class defines the type of instances in the candidate collection on which the filter expression is applied.
| Field Summary |
|---|
| Fields inherited from class org.apache.jdo.impl.jdoql.jdoqlc.JDOQLAST |
|---|
column, line, typeInfo |
| Fields inherited from class antlr.BaseAST |
|---|
down, right |
| Constructor Summary | |
|---|---|
CandidateClassImpl()
The noarg constructor is needed for ANTLR support and deserialization. |
|
CandidateClassImpl(antlr.Token token)
The noarg constructor is needed for ANTLR support. |
|
| Method Summary | |
|---|---|
void |
arrive(NodeVisitor visitor)
Delegates to the argument visitor. |
java.lang.Object |
leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument visitor. |
void |
setCandidateClass(java.lang.Class clazz)
Sets the candidate class for this instance. |
| Methods inherited from class org.apache.jdo.impl.jdoql.tree.NodeImpl |
|---|
clone, getChildren, getJavaClass, getObject, getParent, getTokenType, setObject, setParent, toString, walkNextChild |
| Methods inherited from class org.apache.jdo.impl.jdoql.jdoqlc.JDOQLAST |
|---|
getColumn, getLine, getTypeInfo, initialize, initialize, initialize, setColumn, setLine, setTypeInfo, treeToString |
| Methods inherited from class antlr.CommonAST |
|---|
getText, getType, initialize, setText, setType |
| Methods inherited from class antlr.BaseAST |
|---|
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.jdo.jdoql.tree.Node |
|---|
getChildren, getJavaClass, getObject, getParent, getTokenType, setObject, setParent, walkNextChild |
| Constructor Detail |
|---|
public CandidateClassImpl()
setChildren optionally.
public CandidateClassImpl(antlr.Token token)
setChildren optionally.
| Method Detail |
|---|
public void setCandidateClass(java.lang.Class clazz)
clazz - the candidate clazzpublic void arrive(NodeVisitor visitor)
visitor.
arrive in interface Nodearrive in class NodeImplvisitor - the node visitor
public java.lang.Object leave(NodeVisitor visitor,
java.lang.Object[] results)
visitor.
leave in interface Nodeleave in class NodeImplvisitor - the node visitorresults - the result array
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||