Package liquibase.structure.core
Class StoredDatabaseLogic<T extends StoredDatabaseLogic>
- java.lang.Object
-
- liquibase.structure.AbstractDatabaseObject
-
- liquibase.structure.core.StoredDatabaseLogic<T>
-
- All Implemented Interfaces:
Comparable
,LiquibaseSerializable
,DatabaseObject
- Direct Known Subclasses:
StoredProcedure
public abstract class StoredDatabaseLogic<T extends StoredDatabaseLogic> extends AbstractDatabaseObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface liquibase.serializer.LiquibaseSerializable
LiquibaseSerializable.SerializationType
-
-
Field Summary
-
Fields inherited from class liquibase.structure.AbstractDatabaseObject
CURLY_BRACKET_PATTERN
-
Fields inherited from interface liquibase.serializer.LiquibaseSerializable
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description StoredDatabaseLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getBody()
DatabaseObject[]
getContainingObjects()
DatabaseObjectCollectionComparator
getDbObjectComparator()
String
getName()
Schema
getSchema()
int
hashCode()
Boolean
isValid()
T
setBody(String body)
T
setName(String name)
Sets the name for the database object.T
setSchema(Schema schema)
T
setValid(Boolean valid)
boolean
snapshotByDefault()
-
Methods inherited from class liquibase.structure.AbstractDatabaseObject
compareTo, getAttribute, getAttribute, getAttributes, getObjectTypeName, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getSnapshotId, load, serialize, setAttribute, setSnapshotId, shouldIncludeCatalogInSpecification, toString
-
-
-
-
Method Detail
-
getContainingObjects
public DatabaseObject[] getContainingObjects()
-
snapshotByDefault
public boolean snapshotByDefault()
- Specified by:
snapshotByDefault
in interfaceDatabaseObject
- Overrides:
snapshotByDefault
in classAbstractDatabaseObject
-
getName
public String getName()
-
setName
public T setName(String name)
Description copied from interface:DatabaseObject
Sets the name for the database object.- Parameters:
name
- the new name for the database object- Returns:
- a reference to the same object (implementing classes are expected to return a reference to the same object).
-
getSchema
public Schema getSchema()
-
isValid
public Boolean isValid()
-
getBody
public String getBody()
-
getDbObjectComparator
public DatabaseObjectCollectionComparator getDbObjectComparator()
-
-