vishnu.model.catalog
Class TableCatalogImpl
java.lang.Object
vishnu.model.catalog.AbstractCatalog
vishnu.model.catalog.TableCatalogImpl
- All Implemented Interfaces:
- Catalog, TableCatalog
public class TableCatalogImpl
- extends AbstractCatalog
- implements TableCatalog
-
Fields inherited from class vishnu.model.catalog.AbstractCatalog |
catalog, columnName, databaseName, innerTable, name, nameFieldSize, pkSet, tableName, tableSignature, userFieldSize, userName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableCatalogImpl
public TableCatalogImpl(User user,
java.lang.String name)
buildSignature
protected void buildSignature()
- Specified by:
buildSignature
in class AbstractCatalog
buildPK
protected void buildPK()
- Specified by:
buildPK
in class AbstractCatalog
addTable
public void addTable(TableContext c)
- Description copied from interface:
TableCatalog
- agrega una tabla al catalogo
- Specified by:
addTable
in interface TableCatalog
contains
public boolean contains(UserContext c,
java.lang.String tableName)
- Description copied from interface:
TableCatalog
- indica si el catalogo contiene a la tabla
- Specified by:
contains
in interface TableCatalog
getNames
public java.util.Collection<java.lang.String> getNames(UserContext c)
- Description copied from interface:
TableCatalog
- devuelve los nombres de las tablas de una base de datos
- Specified by:
getNames
in interface TableCatalog
dropTable
public void dropTable(TableContext c)
- Description copied from interface:
TableCatalog
- elimina una tabla del catalogo
- Specified by:
dropTable
in interface TableCatalog