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_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 TypeMethodDescriptionboolean
Returns the list of all outgoing FOREIGN KEYS from this tableint
hashCode()
boolean
setDefaultTablespace
(Boolean tablespace) Sets the name for the database object.void
setPrimaryKey
(PrimaryKey primaryKey) setTablespace
(String tablespace) toString()
Methods inherited from class liquibase.structure.core.Relation
addColumn, compareTo, getColumn, getColumns, getContainingObjects, getName, getRemarks, getSchema, setRemarks, setSchema, setSchema
Methods 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:
getIndexes
in classRelation
-
getUniqueConstraints
- Overrides:
getUniqueConstraints
in classRelation
-
getNotNullConstraints
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classAbstractDatabaseObject
-
setName
Description copied from interface:DatabaseObject
Sets the name for the database object.- Specified by:
setName
in interfaceDatabaseObject
- Overrides:
setName
in 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()
-