org.jacorb.notification.filter
Class FilterConstraint

java.lang.Object
  extended by org.jacorb.notification.filter.FilterConstraint

public class FilterConstraint
extends java.lang.Object

Representation of a Constraint. A FilterImpl encapsulates several Constraints. Each Constraint is represented by an instance of this Class.

Version:
$Id: FilterConstraint.java,v 1.6 2004/05/06 12:39:59 nicolas Exp $
Author:
Alphonse Bendt

Constructor Summary
FilterConstraint(AbstractTCLNode root)
           
FilterConstraint(ConstraintExp constraintExp)
           
 
Method Summary
 EvaluationResult evaluate(EvaluationContext evaluationContext, Message event)
           
 java.lang.String getConstraint()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterConstraint

public FilterConstraint(AbstractTCLNode root)

FilterConstraint

public FilterConstraint(ConstraintExp constraintExp)
                 throws InvalidConstraint
Throws:
InvalidConstraint
Method Detail

getConstraint

public java.lang.String getConstraint()

evaluate

public EvaluationResult evaluate(EvaluationContext evaluationContext,
                                 Message event)
                          throws EvaluationException
Throws:
EvaluationException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object