org.eclipse.modisco.infra.query.tests.samples
Class Test002

java.lang.Object
  extended by org.eclipse.modisco.infra.query.tests.samples.Test002
All Implemented Interfaces:
IJavaModelQuery<EObject,java.lang.String>

public class Test002
extends java.lang.Object
implements IJavaModelQuery<EObject,java.lang.String>


Constructor Summary
Test002()
           
 
Method Summary
 java.lang.String evaluate(EObject context, ParameterValueList parameterValues)
          This method must be overridden by each sub class to implement query evaluation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test002

public Test002()
Method Detail

evaluate

public java.lang.String evaluate(EObject context,
                                 ParameterValueList parameterValues)
                          throws ModelQueryExecutionException
Description copied from interface: IJavaModelQuery
This method must be overridden by each sub class to implement query evaluation.

Specified by:
evaluate in interface IJavaModelQuery<EObject,java.lang.String>
Parameters:
context - The query evaluation context
parameterValues - The query parameter values
Returns:
the result of the type R
Throws:
ModelQueryExecutionException