public abstract class AbstractDatabaseObject extends Object implements DatabaseObject
LiquibaseSerializable.SerializationType
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE
Constructor and Description |
---|
AbstractDatabaseObject() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
<T> T |
getAttribute(String attribute,
Class<T> type) |
Set<String> |
getAttributes() |
String |
getObjectTypeName() |
Set<String> |
getSerializableFields() |
LiquibaseSerializable.SerializationType |
getSerializableFieldType(String field) |
Object |
getSerializableFieldValue(String field) |
String |
getSerializedObjectName() |
String |
getSerializedObjectNamespace() |
UUID |
getSnapshotId() |
DatabaseObject |
setAttribute(String attribute,
Object value) |
void |
setSnapshotId(UUID snapshotId) |
boolean |
snapshotByDefault() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContainingObjects, getName, getSchema, setName
public String getObjectTypeName()
getObjectTypeName
in interface DatabaseObject
public UUID getSnapshotId()
getSnapshotId
in interface DatabaseObject
public void setSnapshotId(UUID snapshotId)
setSnapshotId
in interface DatabaseObject
public boolean snapshotByDefault()
snapshotByDefault
in interface DatabaseObject
public int compareTo(Object o)
compareTo
in interface Comparable
public Set<String> getAttributes()
getAttributes
in interface DatabaseObject
public <T> T getAttribute(String attribute, Class<T> type)
getAttribute
in interface DatabaseObject
public DatabaseObject setAttribute(String attribute, Object value)
setAttribute
in interface DatabaseObject
public String getSerializedObjectName()
getSerializedObjectName
in interface LiquibaseSerializable
public String getSerializedObjectNamespace()
getSerializedObjectNamespace
in interface LiquibaseSerializable
public Set<String> getSerializableFields()
getSerializableFields
in interface LiquibaseSerializable
public Object getSerializableFieldValue(String field)
getSerializableFieldValue
in interface LiquibaseSerializable
public LiquibaseSerializable.SerializationType getSerializableFieldType(String field)
getSerializableFieldType
in interface LiquibaseSerializable
Copyright © 2014 Liquibase.org. All rights reserved.