Interface Table
-
- All Known Implementing Classes:
CompleteClassTable
public interface TableRepresentation of a table for a class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCatalogName()AbstractClassMetaDatagetClassMetaData()Accessor for the primary class metadata for this table.ColumngetColumnForName(String name)Accessor for the column with the supplied name (if present).ColumngetColumnForPosition(int pos)Accessor for the column at the specified position (numbered from 0 to numcols-1).List<Column>getColumns()MemberColumnMappinggetMemberColumnMappingForEmbeddedMember(List<AbstractMemberMetaData> mmds)Method to return the member-column mapping for the specified embedded member.MemberColumnMappinggetMemberColumnMappingForMember(AbstractMemberMetaData mmd)Method to return the member-column mapping for the specified member.Set<MemberColumnMapping>getMemberColumnMappings()StringgetName()intgetNumberOfColumns()Accessor for number of columns.StringgetSchemaName()StoreManagergetStoreManager()ColumngetSurrogateColumn(SurrogateColumnType colType)Accessor for the surrogate column of the specified type.
-
-
-
Method Detail
-
getStoreManager
StoreManager getStoreManager()
-
getName
String getName()
-
getSchemaName
String getSchemaName()
-
getCatalogName
String getCatalogName()
-
getClassMetaData
AbstractClassMetaData getClassMetaData()
Accessor for the primary class metadata for this table.- Returns:
- Class metadata
-
getNumberOfColumns
int getNumberOfColumns()
Accessor for number of columns.- Returns:
- Number of cols
-
getColumnForPosition
Column getColumnForPosition(int pos)
Accessor for the column at the specified position (numbered from 0 to numcols-1).- Parameters:
pos- Position of the column- Returns:
- The column at this position (or null if invalid position)
-
getSurrogateColumn
Column getSurrogateColumn(SurrogateColumnType colType)
Accessor for the surrogate column of the specified type.- Parameters:
colType- The type of surrogate column- Returns:
- The column definition, if it exists for this table
-
getColumnForName
Column getColumnForName(String name)
Accessor for the column with the supplied name (if present).- Parameters:
name- name of the column (the identifier)- Returns:
- The column (or null if none present with that name)
-
getMemberColumnMappingForMember
MemberColumnMapping getMemberColumnMappingForMember(AbstractMemberMetaData mmd)
Method to return the member-column mapping for the specified member.- Parameters:
mmd- Metadata for the member- Returns:
- The member-column mapping
-
getMemberColumnMappingForEmbeddedMember
MemberColumnMapping getMemberColumnMappingForEmbeddedMember(List<AbstractMemberMetaData> mmds)
Method to return the member-column mapping for the specified embedded member.- Parameters:
mmds- Metadata for the member(s) to navigate to the required member- Returns:
- The member-column mapping
-
getMemberColumnMappings
Set<MemberColumnMapping> getMemberColumnMappings()
-
-