|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object krieger.oclruntime.QueryEvaluator<K>
K
- The type used for identifying queries.public class QueryEvaluator<K>
A class for evaluating OCL queries represented by Expressions
in the context of a method call.
Constructor Summary | |
---|---|
QueryEvaluator(ClassifierFactory<java.lang.String> classifierFactory,
PropertyContainer<PropertyID,java.lang.String> translatedProperties,
Constant<?> selfVar,
java.util.List<Constant<? extends Expression>> inParams,
Variable<? extends Expression> returnValue,
Problem problem,
java.util.Map<K,? extends Expression> queries)
Constructs a new QueryEvaluator . |
Method Summary | |
---|---|
void |
evaluate(java.lang.Object self,
java.lang.Object... arguments)
Evaluates all queries. |
java.lang.Object |
getResult(K key)
Returns the result of the evaluation for the given query. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryEvaluator(ClassifierFactory<java.lang.String> classifierFactory, PropertyContainer<PropertyID,java.lang.String> translatedProperties, Constant<?> selfVar, java.util.List<Constant<? extends Expression>> inParams, Variable<? extends Expression> returnValue, Problem problem, java.util.Map<K,? extends Expression> queries)
QueryEvaluator
.
Method Detail |
---|
public void evaluate(java.lang.Object self, java.lang.Object... arguments)
self
- The object the method is called on.arguments
- The arguments to the method call.public java.lang.Object getResult(K key)
key
- Identifies the query.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |