Class SubstringNode

  • All Implemented Interfaces:
    AliasableNode

    public class SubstringNode
    extends StringFunctionNode
    INTERNAL

    Purpose: Represent a SUBSTRING

    Responsibilities:

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

      • SubstringNode

        public SubstringNode()
        SubstringNode constructor comment.
    • 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
      • setStartPosition

        public void setStartPosition​(Node newStartPosition)
        Insert the method's description here. Creation date: (1/19/01 3:41:55 PM)
        Parameters:
        newStartPosition - java.lang.Integer
      • setStringLength

        public void setStringLength​(Node newStringLength)
        Insert the method's description here. Creation date: (1/19/01 3:42:26 PM)
        Parameters:
        newStringLength - java.lang.Integer