org.eclipse.emf.facet.query.java.core
Interface IJavaQuery<T extends EObject,R>
- Type Parameters:
T - the context type (i.e., the type of the elements on which the
query can be evaluated)R - the return type
public interface IJavaQuery<T extends EObject,R>
This is the EMF Facet Java Query interface. A java query is a query written
in Java.
This interface has to be used to declare a Java query.
- Author:
- Gregoire Dupe (Mia-Software)
|
Method Summary |
R |
evaluate(T context,
IParameterValueList parameterValues)
This method must be implemented by each sub class to implement query
evaluation. |
evaluate
R evaluate(T context,
IParameterValueList parameterValues)
throws QueryExecutionException
- This method must be implemented by each sub class to implement query
evaluation.
- Parameters:
context - The query evaluation context (i.e., the element on which the
query will be evaluated)parameterValues - The query parameter values
- Returns:
- the result of the query
- Throws:
QueryExecutionException