vishnu.model.operations.tables.creation
Class AbstractTableCreationConstraint

java.lang.Object
  extended by vishnu.model.operations.tables.creation.AbstractTableCreationConstraint
All Implemented Interfaces:
TableCreationConstraint
Direct Known Subclasses:
SignatureValidator, TableCreationPerformer, TableRedefinitionConstraint

public abstract class AbstractTableCreationConstraint
extends java.lang.Object
implements TableCreationConstraint

Author:
Hernan Rancati
 

Constructor Summary
AbstractTableCreationConstraint()
           
 
Method Summary
 void attach(TableCreationConstraint c)
           
 void perform(UserContext user, java.lang.String tableName, TableSignature s, java.util.List<ConstraintViolation> constraintViolations)
          Contract: -subclasses must call this method after performing its own validation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTableCreationConstraint

public AbstractTableCreationConstraint()
Method Detail

perform

public void perform(UserContext user,
                    java.lang.String tableName,
                    TableSignature s,
                    java.util.List<ConstraintViolation> constraintViolations)
Contract: -subclasses must call this method after performing its own validation.

Specified by:
perform in interface TableCreationConstraint

attach

public void attach(TableCreationConstraint c)
Specified by:
attach in interface TableCreationConstraint