liquibase.structure.core
Class Table

java.lang.Object
  extended by liquibase.structure.AbstractDatabaseObject
      extended by liquibase.structure.core.Relation
          extended by liquibase.structure.core.Table
All Implemented Interfaces:
Comparable, LiquibaseSerializable, DatabaseObject

public class Table
extends Relation


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
 
Constructor Summary
Table()
           
Table(String catalogName, String schemaName, String tableName)
           
 
Method Summary
 boolean equals(Object o)
           
 List<Index> getIndexes()
           
 List<ForeignKey> getOutgoingForeignKeys()
           
 PrimaryKey getPrimaryKey()
           
 List<UniqueConstraint> getUniqueConstraints()
           
 int hashCode()
           
 Table setName(String name)
           
 void setPrimaryKey(PrimaryKey primaryKey)
           
 String toString()
           
 
Methods inherited from class liquibase.structure.core.Relation
addColumn, compareTo, getColumn, getColumns, getContainingObjects, getName, getRemarks, getSchema, setRemarks, setSchema, setSchema
 
Methods inherited from class liquibase.structure.AbstractDatabaseObject
getAttribute, getAttribute, getAttributes, getObjectTypeName, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getSnapshotId, load, serialize, setAttribute, setSnapshotId, snapshotByDefault
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Table

public Table()

Table

public Table(String catalogName,
             String schemaName,
             String tableName)
Method Detail

getPrimaryKey

public PrimaryKey getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(PrimaryKey primaryKey)

getOutgoingForeignKeys

public List<ForeignKey> getOutgoingForeignKeys()

getIndexes

public List<Index> getIndexes()

getUniqueConstraints

public List<UniqueConstraint> getUniqueConstraints()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class AbstractDatabaseObject

setName

public Table setName(String name)
Specified by:
setName in interface DatabaseObject
Overrides:
setName in class Relation


Copyright © 2016 Liquibase.org. All rights reserved.