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, isEvaluationTracingEnabled
adapt, createEvaluationEnvironment, createEvaluationEnvironment, createEvaluationVisitor, createEvaluationVisitor, createModelManager, createOCL, getCompleteEnvironment, getCompleteModel, getIdResolver, getMetamodelManager, getProjectManager, getResourceSet, getSeverity, getStandardLibrary, setSeverity
getAdapter
clearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOption
ParserContext createParserContext(Element element)
Class getASClass(String className)
<T extends Element> T getASOf(Class<T> pivotClass, EObject eObject) throws ParserException
ParserException
boolean isDisposed()
ExpressionInOCL parseSpecification(LanguageExpression specification) throws ParserException
ParserException
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.