org.axiondb.constraints

Class PrimaryKeyConstraint

public class PrimaryKeyConstraint extends UniqueConstraint

A PRIMARY KEY constraint, which is violated whenever any of my Selectables are null or my collection of Selectables is not unique.

Version: $Revision: 1.15 $ $Date: 2005/12/20 18:32:46 $

Author: James Strachan Rodney Waldhoff Ahimanikya Satapathy

Constructor Summary
PrimaryKeyConstraint(String name)
Method Summary
booleanevaluate(RowEvent event)
booleanevaluate(RowEvent event, RowDecorator dec)
booleanevaluate(RowIterator oldRows, RowIterator newRows, Table table)

Constructor Detail

PrimaryKeyConstraint

public PrimaryKeyConstraint(String name)

Method Detail

evaluate

public boolean evaluate(RowEvent event)

evaluate

public boolean evaluate(RowEvent event, RowDecorator dec)

evaluate

public boolean evaluate(RowIterator oldRows, RowIterator newRows, Table table)