vishnu.model.catalog
Class DatabaseCatalogImpl

java.lang.Object
  extended by vishnu.model.catalog.AbstractCatalog
      extended by vishnu.model.catalog.DatabaseCatalogImpl
All Implemented Interfaces:
Catalog, DatabaseCatalog

public class DatabaseCatalogImpl
extends AbstractCatalog
implements DatabaseCatalog

 

Field Summary
 
Fields inherited from class vishnu.model.catalog.AbstractCatalog
catalog, columnName, databaseName, innerTable, name, nameFieldSize, pkSet, tableName, tableSignature, userFieldSize, userName
 
Constructor Summary
DatabaseCatalogImpl(User user, java.lang.String name)
           
 
Method Summary
 void addDatabase(java.lang.String databaseName)
          Agrega una base de Datos del catalogo
protected  void buildPK()
           
protected  void buildSignature()
           
 boolean contains(java.lang.String databaseName)
          Indica si el catalogo contiene a base de datos
 void dropDatabase(java.lang.String databaseName)
          elimina una base de datos del catalogo
 java.util.Collection<java.lang.String> getNames()
          devuelve el conjunto con los nombres de las bases de datos del motor
 
Methods inherited from class vishnu.model.catalog.AbstractCatalog
close, getName, getSignature, innerTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface vishnu.model.catalog.Catalog
close, getName, getSignature
 

Constructor Detail

DatabaseCatalogImpl

public DatabaseCatalogImpl(User user,
                           java.lang.String name)
Method Detail

buildSignature

protected void buildSignature()
Specified by:
buildSignature in class AbstractCatalog

buildPK

protected void buildPK()
Specified by:
buildPK in class AbstractCatalog

addDatabase

public void addDatabase(java.lang.String databaseName)
Description copied from interface: DatabaseCatalog
Agrega una base de Datos del catalogo

Specified by:
addDatabase in interface DatabaseCatalog

contains

public boolean contains(java.lang.String databaseName)
Description copied from interface: DatabaseCatalog
Indica si el catalogo contiene a base de datos

Specified by:
contains in interface DatabaseCatalog

getNames

public java.util.Collection<java.lang.String> getNames()
Description copied from interface: DatabaseCatalog
devuelve el conjunto con los nombres de las bases de datos del motor

Specified by:
getNames in interface DatabaseCatalog

dropDatabase

public void dropDatabase(java.lang.String databaseName)
Description copied from interface: DatabaseCatalog
elimina una base de datos del catalogo

Specified by:
dropDatabase in interface DatabaseCatalog