Package com.mckoi.database
Class ProcedureManager.ProcedureInternalTableInfo
- java.lang.Object
-
- com.mckoi.database.AbstractInternalTableInfo2
-
- com.mckoi.database.ProcedureManager.ProcedureInternalTableInfo
-
- All Implemented Interfaces:
InternalTableInfo
- Enclosing class:
- ProcedureManager
private static class ProcedureManager.ProcedureInternalTableInfo extends AbstractInternalTableInfo2
An object that models the list of procedures as table objects in a transaction.
-
-
Field Summary
-
Fields inherited from class com.mckoi.database.AbstractInternalTableInfo2
table_name, transaction
-
-
Constructor Summary
Constructors Constructor Description ProcedureInternalTableInfo(Transaction transaction)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static DataTableDef
createDataTableDef(java.lang.String schema, java.lang.String name)
MutableTableDataSource
createInternalTable(int index)
This is the factory method for generating the internal table for the given table in this container.DataTableDef
getDataTableDef(int i)
Returns the DataTableDef object that describes the table at the given index in this container.java.lang.String
getTableType(int i)
Returns a String that describes the type of the table at the given index.-
Methods inherited from class com.mckoi.database.AbstractInternalTableInfo2
containsTableName, findTableName, getTableCount, getTableName
-
-
-
-
Constructor Detail
-
ProcedureInternalTableInfo
ProcedureInternalTableInfo(Transaction transaction)
-
-
Method Detail
-
createDataTableDef
private static DataTableDef createDataTableDef(java.lang.String schema, java.lang.String name)
-
getTableType
public java.lang.String getTableType(int i)
Description copied from interface:InternalTableInfo
Returns a String that describes the type of the table at the given index.- Specified by:
getTableType
in interfaceInternalTableInfo
- Specified by:
getTableType
in classAbstractInternalTableInfo2
-
getDataTableDef
public DataTableDef getDataTableDef(int i)
Description copied from interface:InternalTableInfo
Returns the DataTableDef object that describes the table at the given index in this container.- Specified by:
getDataTableDef
in interfaceInternalTableInfo
- Specified by:
getDataTableDef
in classAbstractInternalTableInfo2
-
createInternalTable
public MutableTableDataSource createInternalTable(int index)
Description copied from interface:InternalTableInfo
This is the factory method for generating the internal table for the given table in this container. This should return an implementation of MutableTableDataSource that is used to represent the internal data being modelled.This method is allowed to throw an exception for table objects that aren't backed by a MutableTableDataSource, such as a view.
- Specified by:
createInternalTable
in interfaceInternalTableInfo
- Specified by:
createInternalTable
in classAbstractInternalTableInfo2
-
-