Package org.pgcodekeeper.core.schema
Class PgStatementMeta
java.lang.Object
org.pgcodekeeper.core.schema.PgStatementMeta
Metadata container for database statements.
Stores additional information about statements including location, author, and library information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(PgStatementMeta meta) Copies metadata from another PgStatementMeta instance.booleanisLib()Checks if this statement belongs to a library.voidvoidsetLibName(String libName) voidsetLocation(PgObjLocation location)
-
Constructor Details
-
PgStatementMeta
public PgStatementMeta()
-
-
Method Details
-
getLocation
-
setLocation
-
getAuthor
-
setAuthor
-
isLib
public boolean isLib()Checks if this statement belongs to a library.- Returns:
- true if this statement is from a library
-
getLibName
-
setLibName
-
copy
Copies metadata from another PgStatementMeta instance.- Parameters:
meta- the metadata to copy from
-