Class DatabaseMetaDataImpl
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.meta.impl.DatabaseMetaDataImpl
-
- All Implemented Interfaces:
DatabaseMetaData
,InternalDatabaseMetaData
,Serializable
public class DatabaseMetaDataImpl extends Object implements InternalDatabaseMetaData
Information about a data base/schema.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseMetaDataImpl(String schema, Map<String,Object> databaseProperties, DatabaseType databaseType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTableMetaData(TableMetaData tableMetaData)
boolean
equals(Object obj)
DatabaseMetaData
getDatabaseMetaData()
DatabaseType
getDatabaseType()
String
getSchema()
String
getSchemaPrefix()
List<TableMetaData>
getTableMetaData()
Return tables list filtered by @seeRepositoryTableFilter
TableMetaData
getTableMetaData(String tableName)
int
hashCode()
void
removeTableMetaData(TableMetaData tableMetaData)
-
-
-
Constructor Detail
-
DatabaseMetaDataImpl
public DatabaseMetaDataImpl(String schema, Map<String,Object> databaseProperties, DatabaseType databaseType)
-
-
Method Detail
-
getDatabaseMetaData
public DatabaseMetaData getDatabaseMetaData()
- Specified by:
getDatabaseMetaData
in interfaceDatabaseMetaData
- Returns:
- (cached) meta data
-
getDatabaseType
public DatabaseType getDatabaseType()
- Specified by:
getDatabaseType
in interfaceDatabaseMetaData
-
getSchema
public String getSchema()
- Specified by:
getSchema
in interfaceDatabaseMetaData
-
getSchemaPrefix
public String getSchemaPrefix()
- Specified by:
getSchemaPrefix
in interfaceDatabaseMetaData
-
getTableMetaData
public List<TableMetaData> getTableMetaData()
Description copied from interface:DatabaseMetaData
Return tables list filtered by @seeRepositoryTableFilter
- Specified by:
getTableMetaData
in interfaceDatabaseMetaData
-
getTableMetaData
public TableMetaData getTableMetaData(String tableName)
- Specified by:
getTableMetaData
in interfaceDatabaseMetaData
-
addTableMetaData
public void addTableMetaData(TableMetaData tableMetaData)
- Specified by:
addTableMetaData
in interfaceInternalDatabaseMetaData
-
removeTableMetaData
public void removeTableMetaData(TableMetaData tableMetaData)
- Specified by:
removeTableMetaData
in interfaceInternalDatabaseMetaData
-
-