public class Table extends Relation
LiquibaseSerializable.SerializationTypeGENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE| Constructor and Description |
|---|
Table() |
Table(String catalogName,
String schemaName,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<Index> |
getIndexes() |
List<NotNullConstraint> |
getNotNullConstraints() |
List<ForeignKey> |
getOutgoingForeignKeys()
Returns the list of all outgoing FOREIGN KEYS from this table
|
PrimaryKey |
getPrimaryKey() |
String |
getTablespace() |
List<UniqueConstraint> |
getUniqueConstraints() |
int |
hashCode() |
Table |
setName(String name)
Sets the name for the database object.
|
void |
setPrimaryKey(PrimaryKey primaryKey) |
Table |
setTablespace(String tablespace) |
String |
toString() |
addColumn, compareTo, getColumn, getColumns, getContainingObjects, getName, getRemarks, getSchema, setRemarks, setSchema, setSchemagetAttribute, getAttribute, getAttributes, getObjectTypeName, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getSnapshotId, load, serialize, setAttribute, setSnapshotId, shouldIncludeCatalogInSpecification, snapshotByDefaultpublic PrimaryKey getPrimaryKey()
public void setPrimaryKey(PrimaryKey primaryKey)
public List<ForeignKey> getOutgoingForeignKeys()
public List<Index> getIndexes()
getIndexes in class Relationpublic List<UniqueConstraint> getUniqueConstraints()
getUniqueConstraints in class Relationpublic List<NotNullConstraint> getNotNullConstraints()
public String toString()
toString in class AbstractDatabaseObjectpublic Table setName(String name)
DatabaseObjectsetName in interface DatabaseObjectsetName in class Relationname - the new name for the database objectpublic String getTablespace()
Copyright © 2019 Liquibase.org. All rights reserved.