com.semarchy.mdm.runtime.model.physical
Interface ITable
- All Superinterfaces:
- IDBTable
public interface ITable
- extends IDBTable
getColumn
IColumn getColumn(String pColumnName)
throws NoSuchColumnException
- Specified by:
getColumn
in interface IDBTable
- 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 IColumn> getColumns()
- Specified by:
getColumns
in interface IDBTable
- Returns:
- the list of all columns of this table as they apply for all entities in the inheritance tree
getPkColumns
List<? extends IColumn> getPkColumns()
- Specified by:
getPkColumns
in interface IDBTable
- Returns:
- the list of columns composing the physical primary key of the table
getIndexes
List<? extends IIndex> getIndexes()
- Specified by:
getIndexes
in interface IDBTable
- Returns:
- the list of indexes defined on this table
getEntityTableMapping
IEntityTableMapping getEntityTableMapping()
- Returns:
- the mapping owner of this physical table
getTableType
String getTableType()
- Returns:
- the type of physical table as declared by the implementation template
getApplicableColumns
List<IColumn> getApplicableColumns(IEntity pEntity)
- The sublist list of columns from the list of columns of this table that apply for a given entity
by analyzing the attributes ownership and building the inheritance tree...
- Parameters:
pEntity
-
- Returns:
- the sublist of columns that apply for a given entity
getSuperEntities
Set<IEntity> getSuperEntities(IEntity pEntity)
- Parameters:
pEntity
-
- Returns:
- the set of super entities for a given entity, including itself
Copyright © 2015. All Rights Reserved.