org.axiondb.constraints
Class ForeignKeyConstraint
java.lang.Object
org.axiondb.constraints.BaseConstraint
org.axiondb.constraints.BaseSelectableBasedConstraint
org.axiondb.constraints.ForeignKeyConstraint
- All Implemented Interfaces:
- Serializable, Constraint, SelectableBasedConstraint
public class ForeignKeyConstraint
- extends BaseSelectableBasedConstraint
A FOREIGN KEY constraint
- Version:
- $Revision: 1.2 $ $Date: 2004/08/24 01:09:28 $
- See Also:
- Serialized Form
Method Summary |
boolean |
evaluate(RowEvent event)
Evaluate the given event under me. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForeignKeyConstraint
public ForeignKeyConstraint(String name)
ForeignKeyConstraint
public ForeignKeyConstraint(String name,
String type)
evaluate
public boolean evaluate(RowEvent event)
throws AxionException
- Description copied from interface:
Constraint
- Evaluate the given event under me. Returns
false
if the
constraint I represent has been violated.
- Specified by:
evaluate
in interface Constraint
- Specified by:
evaluate
in class BaseSelectableBasedConstraint
- Throws:
AxionException