vishnu.model.operations.tables.modification
Class AbstractTableModificationConstraint

java.lang.Object
  extended by vishnu.model.operations.tables.modification.AbstractTableModificationConstraint
All Implemented Interfaces:
TableModificationConstraint
Direct Known Subclasses:
DeletionIndexNotifier, DeletionPerformer, InsertionIndexNotifier, InsertionPerformer, NotNullConstraint, PrimaryKeyConstraint, SignatureConstraint, UpdateIndexNotifier, UpdatePerformer

public abstract class AbstractTableModificationConstraint
extends java.lang.Object
implements TableModificationConstraint

Author:
Hernan Rancati
 

Constructor Summary
AbstractTableModificationConstraint()
           
 
Method Summary
 void attach(TableModificationConstraint c)
           
 void perform(TableContext c, Record r, java.util.List<ConstraintViolation> constraintViolation)
          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

AbstractTableModificationConstraint

public AbstractTableModificationConstraint()
Method Detail

perform

public void perform(TableContext c,
                    Record r,
                    java.util.List<ConstraintViolation> constraintViolation)
Contract: -subclasses must call this method after performing its own validation.

Specified by:
perform in interface TableModificationConstraint

attach

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