FileDocCategorySizeDatePackage
CollectionMemberDeclNode.javaAPI DocGlassfish v2 API3133Tue May 22 16:54:36 BST 2007oracle.toplink.essentials.internal.parsing

CollectionMemberDeclNode

public class CollectionMemberDeclNode extends IdentificationVariableDeclNode
INTERNAL

Purpose: Represent collection member identification variable declaration as part of the FROM clause: IN(c.orders) o.

Responsibilities:

  • Manage the path node specifying the collection.

Fields Summary
private Node
path
Constructors Summary
Methods Summary
public oracle.toplink.essentials.internal.parsing.NodegetPath()

        return path;
    
public oracle.toplink.essentials.internal.parsing.NodequalifyAttributeAccess(oracle.toplink.essentials.internal.parsing.ParseTreeContext context)
INTERNAL Check the path child node for an unqualified field access and if so, replace it by a qualified field access.

        if (path != null) {
            path = path.qualifyAttributeAccess(context);
        }
        return this;
    
public voidsetPath(oracle.toplink.essentials.internal.parsing.Node node)

        path = node;
    
public voidvalidate(oracle.toplink.essentials.internal.parsing.ParseTreeContext context)
INTERNAL Validate node and calculate its type.

        super.validate(context);
        if (path != null) {
            path.validate(context);
            setType(path.getType());
        }