de.cau.cs.kieler.kaom.karma.ptolemy.conditions
Class ConnectionSourceCondition

java.lang.Object
  extended by de.cau.cs.kieler.karma.ICustomCondition<EObject>
      extended by de.cau.cs.kieler.kaom.karma.ptolemy.conditions.ConnectionSourceCondition
All Implemented Interfaces:
ICondition<EObject>

public class ConnectionSourceCondition
extends ICustomCondition<EObject>

Condition to check an annotation of the source of a connection. Similar to annotation condition.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.karma.ICustomCondition
key, value
 
Constructor Summary
ConnectionSourceCondition()
           
 
Method Summary
 boolean evaluate(EObject object)
          Evaluate this condition on the given object.
 
Methods inherited from class de.cau.cs.kieler.karma.ICustomCondition
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionSourceCondition

public ConnectionSourceCondition()
Method Detail

evaluate

public boolean evaluate(EObject object)
Evaluate this condition on the given object.

Parameters:
object - a target object
Returns:
true if the condition is met for the object