de.cau.cs.kieler.core.model.util
Class FeatureValueCondition
java.lang.Object
de.cau.cs.kieler.core.model.util.FeatureValueCondition
- All Implemented Interfaces:
- ICondition<EObject>
public class FeatureValueCondition
- extends Object
- implements ICondition<EObject>
A condition that evaluates a feature of an EOject.
- Rating

- (2010-01-26) msp
Method Summary |
boolean |
evaluate(EObject object)
Evaluate this condition on the given object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureValueCondition
public FeatureValueCondition(EStructuralFeature thefeature,
Object thevalue)
- Creates a feature condition.
- Parameters:
thefeature
- a structural featurethevalue
- the expected value of the feature
evaluate
public boolean evaluate(EObject object)
- Evaluate this condition on the given object.
- Specified by:
evaluate
in interface ICondition<EObject>
- Parameters:
object
- a target object
- Returns:
- true if the condition is met for the object