Package liquibase.structure.core
Class Data
- java.lang.Object
-
- liquibase.structure.AbstractDatabaseObject
-
- liquibase.structure.core.Data
-
- All Implemented Interfaces:
Comparable
,LiquibaseSerializable
,DatabaseObject
public class Data extends AbstractDatabaseObject
-
-
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
Constructors Constructor Description Data()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseObject[]
getContainingObjects()
String
getName()
Schema
getSchema()
Table
getTable()
Data
setName(String name)
Sets the name for the database object.Data
setTable(Table table)
boolean
snapshotByDefault()
-
Methods inherited from class liquibase.structure.AbstractDatabaseObject
compareTo, getAttribute, getAttribute, getAttributes, getObjectTypeName, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getSnapshotId, load, serialize, setAttribute, setSnapshotId, shouldIncludeCatalogInSpecification, toString
-
-
-
-
Method Detail
-
snapshotByDefault
public boolean snapshotByDefault()
- Specified by:
snapshotByDefault
in interfaceDatabaseObject
- Overrides:
snapshotByDefault
in classAbstractDatabaseObject
-
getTable
public Table getTable()
-
getContainingObjects
public DatabaseObject[] getContainingObjects()
-
getName
public String getName()
-
setName
public Data setName(String name)
Description copied from interface:DatabaseObject
Sets 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).
-
getSchema
public Schema getSchema()
-
-