Package org.eclipse.emf.cdo.server.ocl
Klasse OCLQueryHandler
java.lang.Object
org.eclipse.emf.cdo.server.ocl.OCLQueryHandler
- Alle implementierten Schnittstellen:
IQueryHandler
A
query handler that evaluates OCL query expressions.- Autor:
- Eike Stepper
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungprotected static final classAn abstraction of theclassifierand/orobjectof an OCL query context parameter.static classCreatesOCLQueryHandlerinstances.Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.server.IQueryHandler
IQueryHandler.PotentiallySlow -
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidaddEnvironmentVariable(org.eclipse.ocl.Environment<?, EClassifier, ?, ?, ?, ?, ?, ?, ?, org.eclipse.ocl.ecore.Constraint, EClass, EObject> environment, org.eclipse.ocl.expressions.Variable<EClassifier, ?> variable) protected booleanaddResult(Object result, IQueryContext context, CDOView view) protected CDOExtentMapcreateExtentMap(CDOView view, CDOChangeSetData changeSetData, IQueryContext context) protected org.eclipse.ocl.expressions.OCLExpression<EClassifier> createInitExpression(org.eclipse.ocl.types.OCLStandardLibrary<EClassifier> stdLib, CDOPackageRegistry packageRegistry, Object value) protected org.eclipse.ocl.OCL<?, EClassifier, ?, ?, ?, ?, ?, ?, ?, org.eclipse.ocl.ecore.Constraint, EClass, EObject> createOCL(CDOView view, CDOExtentMap extentMap) protected org.eclipse.ocl.Query<EClassifier, EClass, EObject> createQuery(CDOView view, CDOQueryInfo info, OCLQueryHandler.ContextParameter contextParameter, org.eclipse.ocl.OCL<?, EClassifier, ?, ?, ?, ?, ?, ?, ?, org.eclipse.ocl.ecore.Constraint, EClass, EObject> ocl) protected booleanprotected Objectevaluate(org.eclipse.ocl.Query<EClassifier, EClass, EObject> query, EObject object) voidexecuteQuery(CDOQueryInfo info, IQueryContext context) Executes thequeryrepresented by the specifiedquery infobypassingthe query results to the query execution engine represented by the specifiedexecution context.protected EClassifiergetArbitraryContextClassifier(CDOPackageRegistry packageRegistry) Veraltet.As of 4.2 no longer supported.protected OCLQueryHandler.ContextParametergetContextParameter(CDOQueryInfo info, CDOView view) protected EClassprotected CDORevisiongetRevision(EObject object, CDOView view) protected voidinitEnvironment(org.eclipse.ocl.Environment<?, EClassifier, ?, ?, ?, ?, ?, ?, ?, org.eclipse.ocl.ecore.Constraint, EClass, EObject> environment, CDOPackageRegistry packageRegistry, Map<String, Object> parameters) protected booleanisOCLQueryParameter(String name) static voidprepareContainer(org.eclipse.net4j.util.container.IManagedContainer container) protected booleanreadParameter(Map<String, ?> queryParameters, String name, boolean defaultValue) protected <T> TreadParameter(Map<String, ?> queryParameters, String name, Class<T> type, T defaultValue) protected voidreadParameters(Map<String, ?> queryParameters) protected voidsetOCLQueryParameters(Map<String, Object> parameters, org.eclipse.ocl.Query<EClassifier, EClass, EObject> query)
-
Felddetails
-
LANGUAGE_NAME
- Siehe auch:
-
LAZY_EXTENTS_PARAMETER
- Seit:
- 4.1
- Siehe auch:
-
IMPLICIT_ROOT_CLASS_PARAMETER
Query parameter indicating theEClassto set as the implicit root class of the type hierarchy. The default isnull.- Seit:
- 4.2
- Siehe auch:
-
-
Konstruktordetails
-
OCLQueryHandler
public OCLQueryHandler()
-
-
Methodendetails
-
executeQuery
Beschreibung aus Schnittstelle kopiert:IQueryHandlerExecutes thequeryrepresented by the specifiedquery infobypassingthe query results to the query execution engine represented by the specifiedexecution context.- Angegeben von:
executeQueryin SchnittstelleIQueryHandler
-
addResult
-
getRevision
-
evaluate
-
createExtentMap
protected CDOExtentMap createExtentMap(CDOView view, CDOChangeSetData changeSetData, IQueryContext context) -
createsLazyExtents
protected boolean createsLazyExtents() -
createOCL
protected org.eclipse.ocl.OCL<?,EClassifier, createOCL?, ?, ?, ?, ?, ?, ?, org.eclipse.ocl.ecore.Constraint, EClass, EObject> (CDOView view, CDOExtentMap extentMap) - Seit:
- 4.2
-
createQuery
protected org.eclipse.ocl.Query<EClassifier,EClass, createQueryEObject> (CDOView view, CDOQueryInfo info, OCLQueryHandler.ContextParameter contextParameter, org.eclipse.ocl.OCL<?, EClassifier, throws org.eclipse.ocl.ParserException, DiagnosticException?, ?, ?, ?, ?, ?, ?, org.eclipse.ocl.ecore.Constraint, EClass, EObject> ocl) - Löst aus:
org.eclipse.ocl.ParserExceptionDiagnosticException- Seit:
- 4.2
-
getArbitraryContextClassifier
Veraltet.As of 4.2 no longer supported. -
initEnvironment
protected void initEnvironment(org.eclipse.ocl.Environment<?, EClassifier, ?, ?, ?, ?, ?, ?, ?, org.eclipse.ocl.ecore.Constraint, EClass, EObject> environment, CDOPackageRegistry packageRegistry, Map<String, Object> parameters) -
getImplicitRootClass
- Seit:
- 4.2
-
createInitExpression
protected org.eclipse.ocl.expressions.OCLExpression<EClassifier> createInitExpression(org.eclipse.ocl.types.OCLStandardLibrary<EClassifier> stdLib, CDOPackageRegistry packageRegistry, Object value) -
addEnvironmentVariable
protected void addEnvironmentVariable(org.eclipse.ocl.Environment<?, EClassifier, ?, ?, ?, ?, ?, ?, ?, org.eclipse.ocl.ecore.Constraint, EClass, EObject> environment, org.eclipse.ocl.expressions.Variable<EClassifier, ?> variable) -
getContextParameter
- Seit:
- 4.2
-
readParameters
- Seit:
- 4.2
-
readParameter
- Seit:
- 4.2
-
readParameter
protected <T> T readParameter(Map<String, ?> queryParameters, String name, Class<T> type, T defaultValue) - Seit:
- 4.2
-
setOCLQueryParameters
protected void setOCLQueryParameters(Map<String, Object> parameters, org.eclipse.ocl.Query<EClassifier, EClass, EObject> query) - Seit:
- 4.2
-
isOCLQueryParameter
- Seit:
- 4.2
-
prepareContainer
public static void prepareContainer(org.eclipse.net4j.util.container.IManagedContainer container)
-