Class StatementMeta
java.lang.Object
org.pgcodekeeper.core.database.base.schema.StatementMeta
Metadata container for database statements.
Stores additional information about statements including location, author, and library information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(StatementMeta meta) Copies metadata from another StatementMeta instance.booleanisLib()Checks if this statement belongs to a library.voidvoidsetLibName(String libName) voidsetLocation(ObjectLocation location)
-
Constructor Details
-
StatementMeta
public StatementMeta()
-
-
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 StatementMeta instance.- Parameters:
meta- the metadata to copy from
-