Class PgStatementMeta

java.lang.Object
org.pgcodekeeper.core.schema.PgStatementMeta

public class PgStatementMeta extends Object
Metadata container for database statements. Stores additional information about statements including location, author, and library information.
  • Constructor Details

    • PgStatementMeta

      public PgStatementMeta()
  • Method Details

    • getLocation

      public PgObjLocation getLocation()
    • setLocation

      public void setLocation(PgObjLocation location)
    • getAuthor

      public String getAuthor()
    • setAuthor

      public void setAuthor(String author)
    • isLib

      public boolean isLib()
      Checks if this statement belongs to a library.
      Returns:
      true if this statement is from a library
    • getLibName

      public String getLibName()
    • setLibName

      public void setLibName(String libName)
    • copy

      public void copy(PgStatementMeta meta)
      Copies metadata from another PgStatementMeta instance.
      Parameters:
      meta - the metadata to copy from