public interface MetamodelManager
Modifier and Type | Method and Description |
---|---|
Class |
getASClass(String className) |
<T extends Element> |
getASOf(Class<T> pivotClass,
EObject eObject)
Deprecated.
|
<T extends Element> |
getASOfEcore(Class<T> pivotClass,
EObject eObject) |
ResourceSet |
getASResourceSet() |
CompleteModel |
getCompleteModel() |
<T extends EObject> |
getEcoreOfPivot(Class<T> ecoreClass,
Element element) |
EnvironmentFactory |
getEnvironmentFactory() |
Class |
getPrimaryClass(Class pivotClass) |
Operation |
getPrimaryOperation(Operation pivotOperation) |
Package |
getPrimaryPackage(Package eObject) |
Property |
getPrimaryProperty(Property pivotProperty) |
StandardLibrary |
getStandardLibrary() |
ExpressionInOCL |
parseSpecification(LanguageExpression specification)
Deprecated.
use PivotHelper.parseSpecification()
|
@Deprecated <T extends Element> T getASOf(Class<T> pivotClass, EObject eObject) throws ParserException
ParserException
ResourceSet getASResourceSet()
CompleteModel getCompleteModel()
EnvironmentFactory getEnvironmentFactory()
StandardLibrary getStandardLibrary()
@Deprecated ExpressionInOCL parseSpecification(LanguageExpression specification) throws ParserException
The returned object may be the same object as the specification, but with the more derived type to signify successful conversion from textual to executable form. Redundant re-invocation of parseSpecification is harmless.
The specification's container, typically a Constraint or Operation is used as the contextElement to determine self within the expression.
ParserException
- if text parsing failsCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.