Class LocateNode

  • All Implemented Interfaces:
    AliasableNode

    public class LocateNode
    extends ArithmeticFunctionNode
    INTERNAL

    Purpose: Represent a LOCATE

    Responsibilities:

    • Generate the correct expression for a LOCATE
    Since:
    TopLink 4.0
    Author:
    Jon Driscoll and Joel Lucuik
    • Constructor Detail

      • LocateNode

        public LocateNode()
        Return a new LocateNode.
    • Method Detail

      • qualifyAttributeAccess

        public Node qualifyAttributeAccess​(ParseTreeContext context)
        INTERNAL Check the child nodes for an unqualified field access and if so, replace them by a qualified field access.
        Overrides:
        qualifyAttributeAccess in class Node
      • validate

        public void validate​(ParseTreeContext context)
        INTERNAL Validate node and calculate its type.
        Overrides:
        validate in class Node
      • getFind

        public Node getFind()
      • getFindIn

        public Node getFindIn()
      • setFind

        public void setFind​(Node newFind)
      • setFindIn

        public void setFindIn​(Node newFindIn)
      • getStartPosition

        public Node getStartPosition()
      • setStartPosition

        public void setStartPosition​(Node newStartPosition)