public class PrimaryKeyConstraint extends UniqueConstraint
Selectables are
null or my collection of Selectables is not
unique.| Constructor and Description |
|---|
PrimaryKeyConstraint(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(RowEvent event)
Evaluate the given event under me.
|
boolean |
evaluate(RowEvent event,
RowDecorator dec)
Evaluate the given event under me.
|
boolean |
evaluate(RowIterator oldRows,
RowIterator newRows,
Table table) |
addFK, evaluate, getFKsaddSelectable, getSelectable, getSelectableCount, getSelectableList, getSelectables, resolvegetName, getType, isDeferrable, isDeferred, setDeferrable, setDeferred, setName, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getType, isDeferrable, isDeferred, setDeferrable, setDeferred, setNamepublic boolean evaluate(RowEvent event) throws AxionException
Constraintfalse if the
constraint I represent has been violated.evaluate in interface Constraintevaluate in class UniqueConstraintAxionExceptionpublic boolean evaluate(RowEvent event, RowDecorator dec) throws AxionException
Constraintfalse if the
constraint I represent has been violated.evaluate in interface Constraintevaluate in class UniqueConstraintAxionExceptionpublic boolean evaluate(RowIterator oldRows, RowIterator newRows, Table table) throws AxionException
evaluate in interface Constraintevaluate in class UniqueConstraintAxionException