Class FromNode


  • public class FromNode
    extends MajorNode
    INTERNAL

    Purpose: Represent a FROM

    Responsibilities:

    • Determines the context for the Parse Tree
    • Determine the reference class for a query
    • Handle any FROM ... IN clauses
    Since:
    TopLink 5.0
    Author:
    Jon Driscoll
    • Constructor Detail

      • FromNode

        public FromNode()
    • Method Detail

      • getFirstVariable

        public String getFirstVariable()
      • getDeclarations

        public List getDeclarations()
      • setDeclarations

        public void setDeclarations​(List decls)
      • qualifyAttributeAccess

        public Node qualifyAttributeAccess​(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.
        Overrides:
        qualifyAttributeAccess in class Node