public class Table extends AbstractDbObject
comparisonUtils| Constructor and Description |
|---|
Table(Schema parentSchema,
java.lang.String name,
java.util.Collection columns,
PrimaryKey primaryKey,
java.util.Collection foreignKeys,
java.util.Collection indexes) |
Table(java.lang.String name) |
Table(java.lang.String name,
java.util.Collection columns,
PrimaryKey primaryKey,
java.util.Collection foreignKeys,
java.util.Collection indexes) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DbObjectVisitor visitor)
Allows a visitor to be invoked against this DbObject.
|
protected void |
doDiff(DbObject other,
DiffContext ctx)
Override this method to provide subclass specific diffing logic.
|
boolean |
equals(java.lang.Object obj) |
java.util.List |
getColumns() |
java.util.List |
getForeignKeys() |
java.util.List |
getIndexes() |
PrimaryKey |
getPrimaryKey() |
int |
hashCode() |
boolean |
hasPrimaryKey() |
void |
setColumns(java.util.Collection columns) |
void |
setForeignKeys(java.util.Collection foreignKeys) |
void |
setIndexes(java.util.Collection indexes) |
void |
setPrimaryKey(PrimaryKey primaryKey) |
diff, getName, getParent, getTypeName, getValidators, hasObjectLevelValidator, hasValidators, sameAs, setComparisonUtils, setName, setParent, setValidators, toStringpublic Table(java.lang.String name)
public Table(java.lang.String name,
java.util.Collection columns,
PrimaryKey primaryKey,
java.util.Collection foreignKeys,
java.util.Collection indexes)
public Table(Schema parentSchema, java.lang.String name, java.util.Collection columns, PrimaryKey primaryKey, java.util.Collection foreignKeys, java.util.Collection indexes)
public java.util.List getColumns()
public void setColumns(java.util.Collection columns)
columns - the columns to setpublic PrimaryKey getPrimaryKey()
public boolean hasPrimaryKey()
public void setPrimaryKey(PrimaryKey primaryKey)
primaryKey - the primaryKey to setpublic java.util.List getForeignKeys()
public void setForeignKeys(java.util.Collection foreignKeys)
foreignKeys - the foreignKeys to setpublic java.util.List getIndexes()
public void setIndexes(java.util.Collection indexes)
indexes - the indexes to setpublic int hashCode()
hashCode in class AbstractDbObjectpublic boolean equals(java.lang.Object obj)
equals in class AbstractDbObjectprotected void doDiff(DbObject other, DiffContext ctx)
AbstractDbObjectdoDiff in class AbstractDbObjectpublic void accept(DbObjectVisitor visitor)
DbObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.