vishnu.model.catalog
Class ConstraintCatalogImpl
java.lang.Object
vishnu.model.catalog.AbstractCatalog
vishnu.model.catalog.ConstraintCatalogImpl
- All Implemented Interfaces:
- Catalog, ConstraintCatalog
public class ConstraintCatalogImpl
- extends AbstractCatalog
- implements ConstraintCatalog
-
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 |
ConstraintCatalogImpl
public ConstraintCatalogImpl(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
addConstraints
public void addConstraints(TableContext c)
- Description copied from interface:
ConstraintCatalog
- agrega las contraints de la tabla al catalogo de indices.
- Specified by:
addConstraints
in interface ConstraintCatalog
dropConstraints
public void dropConstraints(Table t)
contains
public boolean contains(TableContext c)
- Description copied from interface:
ConstraintCatalog
- indica si el catalogo contiene las contraints de la tabla.
- Specified by:
contains
in interface ConstraintCatalog
getConstraints
public void getConstraints(TableContext c)
- Description copied from interface:
ConstraintCatalog
- agrega a la signatura de la tabla las constraints que tiene definidas.
- Specified by:
getConstraints
in interface ConstraintCatalog
dropConstraints
public void dropConstraints(TableContext c)
- Description copied from interface:
ConstraintCatalog
- elimina las contraints de la tabla del catalogo de indices.
- Specified by:
dropConstraints
in interface ConstraintCatalog