|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.notify.filter.FilterConstraint
public class FilterConstraint
To evaluate Filter constraints, we reuse the OpenORB Evaluator Utility. However, we encapsulate it to provide some additional features for the Notification Service.
Constructor Summary | |
---|---|
FilterConstraint(java.lang.String stringifiedConstraint,
org.openorb.constraint.Constraint constraint)
Default constructor |
Method Summary | |
---|---|
boolean |
evaluate(org.omg.CORBA.Any event)
This operation is invoked to evaluate a notify constraint. |
boolean |
evaluate(Property[] properties)
This operation is invoked to evaluate a notify constraint. |
java.lang.String |
getConstraintExpr()
Get the constraint expression as string |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterConstraint(java.lang.String stringifiedConstraint, org.openorb.constraint.Constraint constraint)
Method Detail |
---|
public java.lang.String getConstraintExpr()
public boolean evaluate(org.omg.CORBA.Any event) throws org.openorb.constraint.InvalidValue
org.openorb.constraint.InvalidValue
public boolean evaluate(Property[] properties) throws org.openorb.constraint.InvalidValue
org.openorb.constraint.InvalidValue
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |