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_PATTERNFields inherited from interface liquibase.serializer.LiquibaseSerializable
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDatabaseObject(DatabaseObject databaseObject) boolean<T extends DatabaseObject>
List<T>getDatabaseObjects(Class<T> type) getName()protected Map<Class<? extends DatabaseObject>,Set<DatabaseObject>> inthashCode()booleansetDefault(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:DatabaseObjectSets 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:
toStringin classAbstractDatabaseObject
-
toCatalogAndSchema
-
getObjects
-
getDatabaseObjects
-
addDatabaseObject
-
getSerializableFields
- Specified by:
getSerializableFieldsin interfaceLiquibaseSerializable- Overrides:
getSerializableFieldsin classAbstractDatabaseObject
-