org.eclipse.emf.facet.efacet.core
Interface IEFacetManager


public interface IEFacetManager

This interface allows the user to use the EMF Facet API for Query and Facet.


Field Summary
static IEFacetManager INSTANCE
           
 
Method Summary
 java.lang.Object basicEvaluate(Query query, EObject eObject)
          This method is equivalent to evaluate(Query, EObject) but rather than return the errors into a QueryResult instance, it throws an exception.
 java.lang.Object basicEvaluate(Query query, EObject eObject, java.util.List<ParameterValue> parameterValues)
          This method is equivalent to evaluate(Query, EObject, List) but rather than return the errors into a QueryResult instance, it throws an exception.
 QueryResult evaluate(Query query, EObject eObject)
          This method is used to evaluate the given Query on the given EObject
 QueryResult evaluate(Query query, EObject eObject, java.util.List<ParameterValue> parameterValues)
          This method is used to evaluate the given Query on the given EObject taking into consideration some ParameterValue
 

Field Detail

INSTANCE

static final IEFacetManager INSTANCE
Method Detail

evaluate

QueryResult evaluate(Query query,
                     EObject eObject,
                     java.util.List<ParameterValue> parameterValues)
This method is used to evaluate the given Query on the given EObject taking into consideration some ParameterValue


evaluate

QueryResult evaluate(Query query,
                     EObject eObject)
This method is used to evaluate the given Query on the given EObject


basicEvaluate

java.lang.Object basicEvaluate(Query query,
                               EObject eObject,
                               java.util.List<ParameterValue> parameterValues)
                               throws QueryException
This method is equivalent to evaluate(Query, EObject, List) but rather than return the errors into a QueryResult instance, it throws an exception.

Parameters:
eObject - The query evaluation context
Returns:
The query result.
Throws:
QueryException

basicEvaluate

java.lang.Object basicEvaluate(Query query,
                               EObject eObject)
                               throws QueryException
This method is equivalent to evaluate(Query, EObject) but rather than return the errors into a QueryResult instance, it throws an exception.

Parameters:
eObject - The query evaluation context
Returns:
The query result.
Throws:
QueryException