org.eclipse.gmt.modisco.infra.query.tests.samples
Class Test001

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

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


Field Summary
static java.lang.String RESULT
           
 
Constructor Summary
Test001()
           
 
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
 

Field Detail

RESULT

public static final java.lang.String RESULT
See Also:
Constant Field Values
Constructor Detail

Test001

public Test001()
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