public abstract class Relation extends AbstractDatabaseObject
LiquibaseSerializable.SerializationType
CURLY_BRACKET_PATTERN
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE
Modifier | Constructor and Description |
---|---|
protected |
Relation() |
Modifier and Type | Method and Description |
---|---|
Relation |
addColumn(Column column) |
int |
compareTo(Object o) |
Column |
getColumn(String columnName)
Returns the column object for the given columnName.
|
List<Column> |
getColumns() |
DatabaseObject[] |
getContainingObjects() |
List<Index> |
getIndexes() |
String |
getName() |
String |
getRemarks() |
Schema |
getSchema() |
List<UniqueConstraint> |
getUniqueConstraints() |
Relation |
setName(String name)
Sets the name for the database object.
|
Relation |
setRemarks(String remarks) |
Relation |
setSchema(Schema schema) |
Relation |
setSchema(String catalog,
String schema) |
getAttribute, getAttribute, getAttributes, getObjectTypeName, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getSnapshotId, load, serialize, setAttribute, setSnapshotId, shouldIncludeCatalogInSpecification, snapshotByDefault, toString
public String getName()
public Relation setName(String name)
DatabaseObject
name
- the new name for the database objectpublic List<UniqueConstraint> getUniqueConstraints()
public DatabaseObject[] getContainingObjects()
public String getRemarks()
public Column getColumn(String columnName)
public Schema getSchema()
public int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class AbstractDatabaseObject
Copyright © 2023 Liquibase.org. All rights reserved.