liquibase.structure
Interface DatabaseObject

All Superinterfaces:
Comparable, LiquibaseSerializable
All Known Implementing Classes:
AbstractDatabaseObject, Catalog, Column, Data, ForeignKey, Index, PrimaryKey, Relation, Schema, Sequence, StoredDatabaseLogic, StoredProcedure, Table, UniqueConstraint, View

public interface DatabaseObject
extends Comparable, LiquibaseSerializable


Nested Class Summary
 
Nested classes/interfaces inherited from interface liquibase.serializer.LiquibaseSerializable
LiquibaseSerializable.SerializationType
 
Field Summary
 
Fields inherited from interface liquibase.serializer.LiquibaseSerializable
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE
 
Method Summary
<T> T
getAttribute(String attribute, Class<T> type)
           
<T> T
getAttribute(String attribute, T defaultValue)
           
 Set<String> getAttributes()
           
 DatabaseObject[] getContainingObjects()
           
 String getName()
           
 String getObjectTypeName()
           
 Schema getSchema()
           
 String getSnapshotId()
           
 DatabaseObject setAttribute(String attribute, Object value)
           
<T> T
setName(String name)
           
 void setSnapshotId(String id)
           
 boolean snapshotByDefault()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface liquibase.serializer.LiquibaseSerializable
getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, load, serialize
 

Method Detail

getSnapshotId

String getSnapshotId()

setSnapshotId

void setSnapshotId(String id)

getContainingObjects

DatabaseObject[] getContainingObjects()

getObjectTypeName

String getObjectTypeName()

getName

String getName()

setName

<T> T setName(String name)

getSchema

Schema getSchema()

snapshotByDefault

boolean snapshotByDefault()

getAttributes

Set<String> getAttributes()

getAttribute

<T> T getAttribute(String attribute,
                   Class<T> type)

getAttribute

<T> T getAttribute(String attribute,
                   T defaultValue)

setAttribute

DatabaseObject setAttribute(String attribute,
                            Object value)


Copyright © 2014 Liquibase.org. All rights reserved.