public static interface EnvironmentFactory.EnvironmentFactoryExtension2 extends EnvironmentFactory.EnvironmentFactoryExtension
EnvironmentFactory.EnvironmentFactoryExtension, EnvironmentFactory.EnvironmentFactoryExtension2| Modifier and Type | Method and Description |
|---|---|
ParserContext |
createParserContext(Element element)
Return a ParserContext suitable for parsing OCL expressions in the context of a pivot element,
which may be the type defining the 'self' context, or an ExpressionInOCL whose ancestor defines
the 'self' context.
|
Class |
getASClass(String className)
Return the pivot model class for className with the Pivot Model.
|
<T extends Element> |
getASOf(Class<T> pivotClass,
EObject eObject) |
boolean |
isDisposed()
Return true if this EnvironmentFactory's life cycle has completed.
|
ExpressionInOCL |
parseSpecification(LanguageExpression specification)
Return the compiled query for a specification resolving a String body into a non-null bodyExpression.
|
createExecutor, isEvaluationTracingEnabledadapt, createEvaluationEnvironment, createEvaluationEnvironment, createEvaluationVisitor, createEvaluationVisitor, createModelManager, createOCL, getCompleteEnvironment, getCompleteModel, getIdResolver, getMetamodelManager, getProjectManager, getResourceSet, getSeverity, getStandardLibrary, setSeveritygetAdapterclearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOptionParserContext createParserContext(Element element)
Class getASClass(String className)
<T extends Element> T getASOf(Class<T> pivotClass, EObject eObject) throws ParserException
ParserExceptionboolean isDisposed()
ExpressionInOCL parseSpecification(LanguageExpression specification) throws ParserException
ParserExceptionCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.