Class StatementMeta

java.lang.Object
org.pgcodekeeper.core.database.base.schema.StatementMeta

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

    • StatementMeta

      public StatementMeta()
  • Method Details

    • getLocation

      public ObjectLocation getLocation()
    • setLocation

      public void setLocation(ObjectLocation 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(StatementMeta meta)
      Copies metadata from another StatementMeta instance.
      Parameters:
      meta - the metadata to copy from