| org.axiondb.Constraint
All known Subclasses: org.axiondb.constraints.BaseConstraint,
Constraint | public interface Constraint extends Serializable(Code) | | A database constraint, such as UNIQUE or NOT NULL.
version: $Revision: 1.16 $ $Date: 2005/12/20 18:32:40 $ author: Rodney Waldhoff author: James Strachan |
evaluate | boolean evaluate(RowEvent event) throws AxionException(Code) | | Evaluate the given event under me. Returns false if the
constraint I represent has been violated.
|
getType | String getType()(Code) | | Get a human-readable descrption of the type of constraint I represent.
|
isDeferrable | boolean isDeferrable()(Code) | | Return whether or not I am deferrable.
|
isDeferred | boolean isDeferred()(Code) | | Return whether or not I am deferred. Deferred constraints are not evaluated until
the transaction is committed.
|
setDeferrable | void setDeferrable(boolean deferrable)(Code) | | Set whether or not I am deferrable.
|
setDeferred | void setDeferred(boolean deferred) throws AxionException(Code) | | Set whether or not I am deferred. Deferred constraints are not evaluated until the
transaction is committed. Throws an exception if I am not
Constraint.isDeferrable deferrable and deferred is true .
|
|
|