addCheckConstraint
public void addCheckConstraint(String constraint)
addColumn
public void addColumn(Column column)
containsColumn
public boolean containsColumn(Column column)
createForeignKey
public ForeignKey createForeignKey(String keyName,
List keyColumns,
String referencedEntityName)
createForeignKey
public ForeignKey createForeignKey(String keyName,
List keyColumns,
String referencedEntityName,
List referencedColumns)
createForeignKeys
public void createForeignKeys()
createUniqueKey
public UniqueKey createUniqueKey(List keyColumns)
getCatalog
public String getCatalog()
getCheckConstraintsIterator
public Iterator getCheckConstraintsIterator()
getColumn
public Column getColumn(int n)
getColumn
public Column getColumn(Column column)
Return the column which is identified by column provided as argument.
column
- column with atleast a name.
- the underlying column or null if not inside this table. Note: the instance *can* be different than the input parameter, but the name will be the same.
getColumnIterator
public Iterator getColumnIterator()
getColumnSpan
public int getColumnSpan()
getComment
public String getComment()
getForeignKeyIterator
public Iterator getForeignKeyIterator()
getIdentifierValue
public KeyValue getIdentifierValue()
getIndex
public Index getIndex(String indexName)
getIndexIterator
public Iterator getIndexIterator()
getName
public String getName()
getOrCreateIndex
public Index getOrCreateIndex(String indexName)
getOrCreateUniqueKey
public UniqueKey getOrCreateUniqueKey(String keyName)
getQualifiedName
public String getQualifiedName(Dialect dialect,
String defaultCatalog,
String defaultSchema)
getQuotedName
public String getQuotedName()
returns quoted name as it would be in the mapping file.
getQuotedName
public String getQuotedName(Dialect dialect)
getQuotedSchema
public String getQuotedSchema()
returns quoted name as it is in the mapping file.
getQuotedSchema
public String getQuotedSchema(Dialect dialect)
getRowId
public String getRowId()
getSchema
public String getSchema()
getSubselect
public String getSubselect()
getUniqueInteger
public int getUniqueInteger()
getUniqueKey
public UniqueKey getUniqueKey(String keyName)
getUniqueKeyIterator
public Iterator getUniqueKeyIterator()
hasDenormalizedTables
public boolean hasDenormalizedTables()
hasPrimaryKey
public boolean hasPrimaryKey()
isAbstract
public boolean isAbstract()
isAbstractUnionTable
public boolean isAbstractUnionTable()
isPhysicalTable
public boolean isPhysicalTable()
isQuoted
public boolean isQuoted()
isSchemaQuoted
public boolean isSchemaQuoted()
isSubselect
public boolean isSubselect()
qualify
public static String qualify(String catalog,
String schema,
String table)
setAbstract
public void setAbstract(boolean isAbstract)
setCatalog
public void setCatalog(String catalog)
setComment
public void setComment(String comment)
setIdentifierValue
public void setIdentifierValue(KeyValue idValue)
setName
public void setName(String name)
setPrimaryKey
public void setPrimaryKey(PrimaryKey primaryKey)
setQuoted
public void setQuoted(boolean quoted)
setRowId
public void setRowId(String rowId)
setSchema
public void setSchema(String schema)
setSubselect
public void setSubselect(String subselect)
sqlCommentStrings
public Iterator sqlCommentStrings(Dialect dialect,
String defaultCatalog,
String defaultSchema)
toString
public String toString()
uniqueColumnString
public String uniqueColumnString(Iterator iterator)
uniqueColumnString
public String uniqueColumnString(Iterator iterator,
String referencedEntityName)