Package liquibase.structure.core
Class Schema
java.lang.Object
liquibase.structure.AbstractDatabaseObject
liquibase.structure.core.Schema
- 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
<T extends DatabaseObject>
List<T>getDatabaseObjects
(Class<T> 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
-
Schema
public Schema() -
Schema
-
Schema
-
-
Method Details
-
getContainingObjects
-
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
-
getSchema
-
getCatalog
-
equals
-
hashCode
public int hashCode() -
getCatalogName
-
toString
- Overrides:
toString
in classAbstractDatabaseObject
-
toCatalogAndSchema
-
getObjects
-
getDatabaseObjects
-
addDatabaseObject
-
getSerializableFields
- Specified by:
getSerializableFields
in interfaceLiquibaseSerializable
- Overrides:
getSerializableFields
in classAbstractDatabaseObject
-