Methods Summary |
---|
public java.util.List | getDeclarations()
return declarations;
|
public java.lang.String | getFirstVariable()
String variable = null;
if ((declarations != null) && (declarations.size() > 0)) {
variable = ((IdentificationVariableDeclNode)declarations.get(0)).getCanonicalVariableName();
}
return variable;
|
public oracle.toplink.essentials.internal.parsing.Node | qualifyAttributeAccess(oracle.toplink.essentials.internal.parsing.ParseTreeContext context)INTERNAL
Check the declaration nodes for a path expression starting with a
unqualified field access and if so, replace it by a qualified field
access.
for (int i = 0; i < declarations.size(); i++) {
Node decl = (Node)declarations.get(i);
declarations.set(i, decl.qualifyAttributeAccess(context));
}
return this;
|
public void | setDeclarations(java.util.List decls)
declarations = decls;
|
public void | validate(oracle.toplink.essentials.internal.parsing.ParseTreeContext context)INTERNAL
Validate the current node.
for (Iterator i = declarations.iterator(); i.hasNext();) {
Node decl = (Node)i.next();
decl.validate(context);
}
|