com.semarchy.mdm.runtime.model.dbschema
Interface IDBTable

All Known Subinterfaces:
ITable

public interface IDBTable


Method Summary
 boolean containsColumn(String pColName)
           
 boolean containsIndex(String pIndexName)
           
 IDBColumn getColumn(String pColumnName)
           
 List<? extends IDBColumn> getColumns()
           
 List<? extends IDBIndex> getIndexes()
           
 List<? extends IDBColumn> getPkColumns()
           
 String getPkName()
           
 IDBPrimaryKey getPrimaryKey()
           
 String getTableName()
           
 

Method Detail

getTableName

String getTableName()
Returns:
the name of the physical table

getPkName

String getPkName()
Returns:
the name of the primary key of this table or null if getPrimaryKey() returns null

getPrimaryKey

IDBPrimaryKey getPrimaryKey()
Returns:

getColumn

IDBColumn getColumn(String pColumnName)
                    throws NoSuchColumnException
Parameters:
pColumnName - name of column to get
Returns:
a column given its name
Throws:
NoSuchColumnException - if the column name does not match any column of this table

getColumns

List<? extends IDBColumn> getColumns()
Returns:
the list of all columns of this table as they apply for all entities in the inheritance tree

getPkColumns

List<? extends IDBColumn> getPkColumns()
Returns:
the list of columns composing the physical primary key of the table

getIndexes

List<? extends IDBIndex> getIndexes()
Returns:
the list of indexes defined on this table

containsIndex

boolean containsIndex(String pIndexName)

containsColumn

boolean containsColumn(String pColName)


Copyright © 2015. All Rights Reserved.