vishnu.model.operations.tables.modification
Class PrimaryKeyConstraint

java.lang.Object
  extended by vishnu.model.operations.tables.modification.AbstractTableModificationConstraint
      extended by vishnu.model.operations.tables.modification.PrimaryKeyConstraint
All Implemented Interfaces:
TableModificationConstraint

public class PrimaryKeyConstraint
extends AbstractTableModificationConstraint

Author:
Mariano y Hernan Rancati
 

Constructor Summary
PrimaryKeyConstraint()
           
 
Method Summary
 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 vishnu.model.operations.tables.modification.AbstractTableModificationConstraint
attach
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimaryKeyConstraint

public PrimaryKeyConstraint()
Method Detail

perform

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

Specified by:
perform in interface TableModificationConstraint
Overrides:
perform in class AbstractTableModificationConstraint