Class PrintObj

java.lang.Object
org.pgcodekeeper.core.model.graph.PrintObj

public class PrintObj extends Object
Represents a database object for printing in dependency tree output. Contains statement information along with formatting details like indentation, hidden object count, and cyclic dependency indicators.
  • Constructor Details

    • PrintObj

      public PrintObj(IStatement statement, IStatement parentSt, int indent, int hiddenObj, boolean isCyclic)
      Creates a new print object with formatting information.
      Parameters:
      statement - the database statement to print
      parentSt - the parent statement in the dependency tree
      indent - the indentation level for display
      hiddenObj - count of hidden objects at this level
      isCyclic - whether this object is part of a cyclic dependency
  • Method Details

    • getStatement

      public IStatement getStatement()
    • getParentSt

      public IStatement getParentSt()
    • getIndent

      public int getIndent()
    • getHiddenObj

      public int getHiddenObj()
    • isCyclic

      public boolean isCyclic()
    • toString

      public String toString()
      Overrides:
      toString in class Object