public class NotNullConstraint extends BaseSelectableBasedConstraint
Selectable
s 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, resolve
getName, getType, isDeferrable, isDeferred, setDeferrable, setDeferred, setName, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getType, isDeferrable, isDeferred, setDeferrable, setDeferred, setName
public NotNullConstraint()
public NotNullConstraint(java.lang.String name)
public boolean evaluate(RowEvent event) throws AxionException
Constraint
false
if the
constraint I represent has been violated.evaluate
in interface Constraint
evaluate
in class BaseSelectableBasedConstraint
AxionException
public boolean evaluate(RowEvent event, RowDecorator dec) throws AxionException
Constraint
false
if the
constraint I represent has been violated.evaluate
in interface Constraint
evaluate
in class BaseSelectableBasedConstraint
AxionException
protected static boolean noneNull(RowDecorator dec, Row row, java.util.Iterator selectables) throws AxionException
AxionException
public boolean evaluate(RowIterator oldRows, RowIterator newRows, Table table) throws AxionException
evaluate
in interface Constraint
evaluate
in class BaseSelectableBasedConstraint
AxionException
protected static boolean noneNull(RowIterator newRows, Table table, java.util.Iterator selectables) throws AxionException
AxionException