Package liquibase.structure.core
Class Catalog
java.lang.Object
liquibase.structure.AbstractDatabaseObject
liquibase.structure.core.Catalog
- All Implemented Interfaces:
Comparable
,LiquibaseSerializable
,DatabaseObject
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDatabaseObject
(DatabaseObject databaseObject) boolean
<DatabaseObjectType extends DatabaseObject>
List<DatabaseObjectType>getDatabaseObjects
(Class<DatabaseObjectType> type) getName()
protected Map<Class<? extends DatabaseObject>,
Set<DatabaseObject>> int
hashCode()
boolean
setDefault
(Boolean isDefault) Sets the name for the database object.toString()
Methods inherited from class liquibase.structure.AbstractDatabaseObject
compareTo, getAttribute, getAttribute, getAttributes, getObjectTypeName, getSerializableFieldNamespace, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getSnapshotId, load, serialize, setAttribute, setSnapshotId, shouldIncludeCatalogInSpecification, snapshotByDefault
-
Constructor Details
-
Catalog
public Catalog() -
Catalog
-
-
Method Details
-
toString
- Overrides:
toString
in classAbstractDatabaseObject
-
getContainingObjects
-
getSchema
-
getName
-
setName
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).
-
isDefault
public boolean isDefault() -
setDefault
-
getObjects
-
getDatabaseObjects
public <DatabaseObjectType extends DatabaseObject> List<DatabaseObjectType> getDatabaseObjects(Class<DatabaseObjectType> type) -
addDatabaseObject
-
equals
-
hashCode
public int hashCode() -
getSerializableFields
- Specified by:
getSerializableFields
in interfaceLiquibaseSerializable
- Overrides:
getSerializableFields
in classAbstractDatabaseObject
-