Package liquibase.structure.core
Class Table
java.lang.Object
liquibase.structure.AbstractDatabaseObject
liquibase.structure.core.Relation
liquibase.structure.core.Table
- 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 TypeMethodDescriptionbooleanReturns the list of all outgoing FOREIGN KEYS from this tableinthashCode()booleansetDefaultTablespace(Boolean tablespace) Sets the name for the database object.voidsetPrimaryKey(PrimaryKey primaryKey) setTablespace(String tablespace) toString()Methods inherited from class liquibase.structure.core.Relation
addColumn, compareTo, getColumn, getColumns, getContainingObjects, getName, getRemarks, getSchema, setRemarks, setSchema, setSchemaMethods inherited from class liquibase.structure.AbstractDatabaseObject
getAttribute, getAttribute, getAttributes, getObjectTypeName, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getSnapshotId, load, serialize, setAttribute, setSnapshotId, shouldIncludeCatalogInSpecification, snapshotByDefault
-
Constructor Details
-
Table
public Table() -
Table
-
-
Method Details
-
getPrimaryKey
-
setPrimaryKey
-
getOutgoingForeignKeys
Returns the list of all outgoing FOREIGN KEYS from this table -
getIndexes
- Overrides:
getIndexesin classRelation
-
getUniqueConstraints
- Overrides:
getUniqueConstraintsin classRelation
-
getNotNullConstraints
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classAbstractDatabaseObject
-
setName
Description copied from interface:DatabaseObjectSets the name for the database object.- Specified by:
setNamein interfaceDatabaseObject- Overrides:
setNamein classRelation- 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).
-
getTablespace
-
setTablespace
-
getDefaultTablespace
-
setDefaultTablespace
-
isDefaultTablespace
public boolean isDefaultTablespace()
-