Class WindowReferenceNode

All Implemented Interfaces:
Visitable

public final class WindowReferenceNode extends WindowNode
Represents a reference to an explicitly defined window
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Description copied from class: QueryTreeNode
      Format this node as a string Each sub-class of QueryTreeNode should implement its own toString() method. In each case, toString() should format the class members that are not sub-types of QueryTreeNode (printSubNodes() takes care of following the references to sub-nodes, and toString() takes care of all members that are not sub-nodes). Newlines should be used liberally - one good way to do this is to have a newline at the end of each formatted member. It's also a good idea to put the name of each member in front of the formatted value. For example, the code might look like: "memberName: " + memberName + "\n" + ... Vector members containing subclasses of QueryTreeNode should subclass QueryTreeNodeVector. Such subclasses form a special case: These classes should not implement printSubNodes, since there is generic handling in QueryTreeNodeVector. They should only implement toString if they contain additional members.
      Overrides:
      toString in class QueryTreeNode
      Returns:
      This node formatted as a String