Constructor and Description |
---|
OCLVMExecutor(IVMContext vmContext,
URI oclURI,
URI contextURI) |
Modifier and Type | Method and Description |
---|---|
CSResource |
AbstractParserContext.createBaseResource(String expression) |
ExpressionInOCL |
AbstractParserContext.getExpression(CSResource resource) |
ExpressionInOCL |
AbstractParserContext.parse(EObject owner,
String expression) |
Modifier and Type | Method and Description |
---|---|
Model |
AS2Ecore.InverseConversion.getASModel() |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
OCLHelperImpl.createBodyCondition(String expression) |
ExpressionInOCL |
OCLHelperImpl.createDerivedValueExpression(String expression) |
ExpressionInOCL |
OCLHelperImpl.createInvariant(String expression) |
ExpressionInOCL |
OCLHelperImpl.createPostcondition(String expression) |
ExpressionInOCL |
OCLHelperImpl.createPrecondition(String expression) |
ExpressionInOCL |
OCLHelperImpl.createQuery(String expression) |
Constructor and Description |
---|
OCLHelperImpl(OCL ocl,
EObject context)
Initializes me with my environment.
|
Modifier and Type | Method and Description |
---|---|
ParserContext |
MetamodelManagerInternal.createParserContext(Element element,
Object... todoParameters)
Deprecated.
|
<T extends Element> |
PivotMetamodelManager.getASOf(Class<T> pivotClass,
EObject eObject)
Deprecated.
|
Element |
MetamodelManagerInternal.loadResource(URI uri,
String alias,
ResourceSet resourceSet) |
Element |
PivotMetamodelManager.loadResource(URI uri,
String zzalias,
ResourceSet resourceSet) |
ExpressionInOCL |
PivotMetamodelManager.parseSpecification(LanguageExpression specification)
Deprecated.
use EnvironmentFactoryInternalExtension.parseSpecification()
|
Modifier and Type | Method and Description |
---|---|
<T extends Element> |
ASResourceFactory.getASElement(EnvironmentFactoryInternal environmentFactory,
Class<T> asClass,
EObject eObject)
Return the OCL AS element corresponding to eObject using metamodelManager to supervise
the correspondence and ensuring that the result is of asClass.
|
<T extends Element> |
AbstractASResourceFactory.getASElement(EnvironmentFactoryInternal environmentFactory,
Class<T> requiredClass,
EObject eObject) |
Element |
ASResourceFactory.importFromResource(EnvironmentFactoryInternal environmentFactory,
Resource resource,
URI uri)
Return the root element in the Pivot resource resulting from import of the available
resource.
|
Element |
AbstractASResourceFactory.importFromResource(EnvironmentFactoryInternal environmentFactory,
Resource resource,
URI uri) |
Modifier and Type | Method and Description |
---|---|
ParserContext |
EnvironmentFactoryInternal.createParserContext(EObject context)
Deprecated.
|
Model |
External2AS.getASModel()
Return the AS model that results from this conversion.
|
char[] |
OCLInput.getContent()
Deprecated.
The contents of the OCL document as a character array, suitable for
consumption by the OCL parser.
|
String |
OCLInput.getContentAsString()
Deprecated.
The contents of the OCL document as a character array, suitable for
consumption by the OCL parser.
|
Element |
AbstractTechnology.getParseableElement(EnvironmentFactoryInternal environmentFactory,
EObject eObject) |
Element |
Technology.getParseableElement(EnvironmentFactoryInternal environmentFactory,
EObject eObject) |
Element |
EnvironmentFactoryInternal.loadResource(Resource resource,
URI uri) |
Modifier and Type | Method and Description |
---|---|
Model |
UML2AS.Inner.getASModel() |
Model |
UML2AS.Outer.getASModel() |
static Element |
UML2AS.importFromUML(EnvironmentFactoryInternal environmentFactory,
String alias,
EObject eObject)
Convert a UML object to a pivot element.
|
static Model |
UML2AS.importFromUML(EnvironmentFactoryInternal environmentFactory,
String alias,
Resource umlResource)
Convert a UML resource to a Pivot Model.
|
Modifier and Type | Method and Description |
---|---|
<T extends Element> |
UMLASResourceFactory.getASElement(EnvironmentFactoryInternal environmentFactory,
Class<T> pivotClass,
EObject eObject) |
Element |
UMLASResourceFactory.importFromResource(EnvironmentFactoryInternal environmentFactory,
Resource umlResource,
URI uri) |
Modifier and Type | Method and Description |
---|---|
Element |
UMLEcoreTechnology.getParseableElement(EnvironmentFactoryInternal environmentFactory,
EObject eObject) |
Modifier and Type | Class and Description |
---|---|
class |
SemanticException
Exception indicating a semantic error in parsing or validating OCL
expressions.
|
class |
SyntaxException
Exception indicating a syntax error in parsing OCL expressions.
|
Modifier and Type | Method and Description |
---|---|
static void |
PivotUtil.checkResourceErrors(String message,
Resource resource) |
static void |
PivotUtil.checkResourceWarnings(String message,
Resource resource) |
CSResource |
ParserContext.createBaseResource(String expression)
Create a Concrete Syntax resource containing the parsed expression.
|
ExpressionInOCL |
OCLHelper.createBodyCondition(String expression)
Creates an operation body.
|
ExpressionInOCL |
OCLHelper.createDerivedValueExpression(String expression)
Creates a property derived value expression.
|
ExpressionInOCL |
OCL.createInvariant(EObject contextElement,
String oclExpression)
Parse oclExpression using selfType as the type of each run-time self object.
|
ExpressionInOCL |
OCLHelper.createInvariant(String expression)
Creates an invariant constraint in the current classifier context.
|
OCLHelper |
OCL.createOCLHelper(EObject contextElement)
Creates a new
OCLHelper instance for convenient parsing of
embedded constraints and query expressions for the specified context
which may be an Ecore EClassifier/EOperation/EStructuralFeature or
or Pivot Class/Operation/Property. |
ParserContext |
AbstractEnvironmentFactory.createParserContext(EObject context)
Deprecated.
|
ExpressionInOCL |
OCL.createPostcondition(EOperation contextOperation,
String oclExpression) |
ExpressionInOCL |
OCLHelper.createPostcondition(String expression)
Creates an operation postcondition constraint.
|
ExpressionInOCL |
OCLHelper.createPrecondition(String expression)
Creates an operation precondition constraint.
|
Query |
OCL.createQuery(Constraint constraint)
Creates a new
Query encapsulating a constraint with the current
environment and extent map. |
ExpressionInOCL |
OCL.createQuery(EObject contextElement,
String oclExpression) |
ExpressionInOCL |
OCLHelper.createQuery(String expression)
Creates a query expression in the current classifier context.
|
ASResource |
OCL.ecore2as(Resource ecoreResource)
Return the Pivot resource counterpart of an ecoreResource.
|
<T extends Element> |
EnvironmentFactory.EnvironmentFactoryExtension2.getASOf(Class<T> pivotClass,
EObject eObject) |
<T extends Element> |
AbstractEnvironmentFactory.getASOf(Class<T> pivotClass,
EObject eObject) |
<T extends Element> |
MetamodelManager.getASOf(Class<T> pivotClass,
EObject eObject)
Deprecated.
|
ExpressionInOCL |
ParserContext.getExpression(CSResource resource)
Extract an Abstract Syntax ExpressionInOCL fronm a Concrete Syntax resource.
|
ExpressionInOCL |
OCL.getSpecification(Constraint constraint)
Return the Constraint specification as an ExpressionInOCL, parsing any OpaqueExpression
that may be encountered.
|
Element |
AbstractEnvironmentFactory.loadResource(Resource resource,
URI uri) |
ExpressionInOCL |
ParserContext.parse(EObject owner,
String expression)
Create an Abstract Syntax ExpressionInOCL containing the parsed expression on behalf of a potential owner.
|
ExpressionInOCL |
EnvironmentFactory.EnvironmentFactoryExtension2.parseSpecification(LanguageExpression specification)
Return the compiled query for a specification resolving a String body into a non-null bodyExpression.
|
ExpressionInOCL |
OCL.parseSpecification(LanguageExpression specification)
Convert the specification of an OCL expression from textual CS form to parsed executable AS form.
|
ExpressionInOCL |
AbstractEnvironmentFactory.parseSpecification(LanguageExpression specification)
Return the compiled query for a specification resolving a String body into a non-null bodyExpression.
|
ExpressionInOCL |
MetamodelManager.parseSpecification(LanguageExpression specification)
Deprecated.
use PivotHelper.parseSpecification()
|
ExpressionInOCL |
OCL.parseSpecification(Object unusedObject,
LanguageExpression specification)
Deprecated.
use parseSpecification(specification)
|
static boolean |
PivotUtil.setParserContext(CSResource csResource,
EObject eObject,
Object... unusedParameters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ExpressionInOCL |
ElementUtil.getFirstQuery(PivotMetamodelManager metamodelManager,
BaseCSResource csResource)
Extract the first embedded ExpressionInOCL.
|
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.