public class NotNullConstraint extends BaseSelectableBasedConstraint
Selectables is null.| Constructor and Description |
|---|
NotNullConstraint() |
NotNullConstraint(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) |
protected static boolean |
noneNull(RowDecorator dec,
Row row,
java.util.Iterator selectables) |
protected static boolean |
noneNull(RowIterator newRows,
Table table,
java.util.Iterator selectables) |
addSelectable, 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 NotNullConstraint()
public NotNullConstraint(java.lang.String name)
public boolean evaluate(RowEvent event) throws AxionException
Constraintfalse if the
constraint I represent has been violated.evaluate in interface Constraintevaluate in class BaseSelectableBasedConstraintAxionExceptionpublic boolean evaluate(RowEvent event, RowDecorator dec) throws AxionException
Constraintfalse if the
constraint I represent has been violated.evaluate in interface Constraintevaluate in class BaseSelectableBasedConstraintAxionExceptionprotected static boolean noneNull(RowDecorator dec, Row row, java.util.Iterator selectables) throws AxionException
AxionExceptionpublic boolean evaluate(RowIterator oldRows, RowIterator newRows, Table table) throws AxionException
evaluate in interface Constraintevaluate in class BaseSelectableBasedConstraintAxionExceptionprotected static boolean noneNull(RowIterator newRows, Table table, java.util.Iterator selectables) throws AxionException
AxionException