Modifier and Type | Method and Description |
---|---|
protected void |
AS2CGVisitor.createParameters(CGOperation cgOperation,
ExpressionInOCL expressionInOCL) |
CGValuedElement |
AS2CGVisitor.visitExpressionInOCL(ExpressionInOCL query) |
Modifier and Type | Method and Description |
---|---|
LibraryOperation |
CodeGenHelper.loadClass(ExpressionInOCL query,
java.io.File targetFolder,
java.lang.String packageName,
java.lang.String className,
boolean saveSource)
Return the <%...%> escaped name for a type.
|
Modifier and Type | Method and Description |
---|---|
LibraryOperation |
JavaGenModelCodeGenHelper.loadClass(ExpressionInOCL query,
java.io.File targetFolder,
java.lang.String packageName,
java.lang.String className,
boolean saveSource) |
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
OCLinEcoreCG2JavaVisitor.expInOcl |
Modifier and Type | Method and Description |
---|---|
protected ExpressionInOCL |
OCLinEcoreCodeGenerator.rewriteQuery(ExpressionInOCL oldQuery,
java.lang.String qualifiedConstraintName) |
Modifier and Type | Method and Description |
---|---|
protected ExpressionInOCL |
OCLinEcoreCodeGenerator.rewriteQuery(ExpressionInOCL oldQuery,
java.lang.String qualifiedConstraintName) |
java.lang.Boolean |
OCLinEcoreCodeGenerator.StatusAnalyzer.visitExpressionInOCL(ExpressionInOCL object) |
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
JUnitCG2JavaClassVisitor.expInOcl |
Modifier and Type | Method and Description |
---|---|
protected CGPackage |
JUnitCodeGenerator.createCGPackage(ExpressionInOCL expInOcl,
java.lang.String packageName,
java.lang.String className) |
protected java.lang.String |
JUnitCodeGenerator.generate(ExpressionInOCL expInOcl,
java.lang.String packageName,
java.lang.String className) |
static java.lang.String |
JUnitCodeGenerator.generateClassFile(EnvironmentFactoryInternal environmentFactory,
ExpressionInOCL query,
java.lang.String packageName,
java.lang.String className) |
CGValuedElement |
JUnitAS2CGVisitor.visitExpressionInOCL(ExpressionInOCL element) |
Constructor and Description |
---|
JUnitCG2JavaClassVisitor(JUnitCodeGenerator codeGenerator,
ExpressionInOCL expInOcl,
java.lang.Iterable<CGValuedElement> sortedGlobals) |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
OCLEvaluationContext.getExpressionObject() |
Modifier and Type | Method and Description |
---|---|
protected static IVMContext |
OCLEvaluationContext.createVMContext(ExpressionInOCL expressionObject,
org.eclipse.emf.ecore.EObject contextObject) |
Constructor and Description |
---|
OCLEvaluationContext(ExpressionInOCL expressionObject,
org.eclipse.emf.ecore.EObject contextObject) |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
OCLInvocationDelegate.getExpressionInOCL(MetamodelManager metamodelManager,
Constraint constraint) |
ExpressionInOCL |
OCLValidationDelegate.getExpressionInOCL(MetamodelManager metamodelManager,
Constraint constraint) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
OCLValidationDelegate.validateExpressionInOCL(org.eclipse.emf.ecore.EClassifier eClassifier,
java.lang.Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context,
java.lang.String constraintName,
java.lang.String source,
int code,
ExpressionInOCL query) |
Constructor and Description |
---|
CheckingConstraintEvaluator(org.eclipse.emf.ecore.EClassifier eClassifier,
ExpressionInOCL query) |
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
OCLVMExecutor.expressionInOCL |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
OCLVMExecutor.getDebuggable() |
Constructor and Description |
---|
OCLVMExecutor(IVMContext vmContext,
ExpressionInOCL expressionInOCL,
org.eclipse.emf.ecore.EObject context) |
OCLVMRootEvaluationEnvironment(VMExecutor vmExecutor,
ExpressionInOCL executableObject,
long id) |
Modifier and Type | Method and Description |
---|---|
IStepper |
OCLStepperVisitor.visitExpressionInOCL(ExpressionInOCL object) |
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
OCLDebugSettingDelegate.DebugStarter.constraint |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
OCLDebugInvocationDelegate.evaluate(OCL ocl,
ExpressionInOCL query,
org.eclipse.emf.ecore.InternalEObject target,
org.eclipse.emf.common.util.EList<?> arguments) |
protected java.lang.Object |
OCLDebugSettingDelegate.evaluateEcore(OCL ocl,
ExpressionInOCL query,
java.lang.Object contextObject) |
protected org.eclipse.debug.core.ILaunch |
OCLDebugSettingDelegate.DebugStarter.launchDebugger(org.eclipse.core.runtime.IProgressMonitor monitor,
java.lang.Object contextObject,
ExpressionInOCL expressionInOCL)
Create and launch an internal launch configuration to debug expressionInOCL applied to contextObject.
|
protected boolean |
OCLDebugValidationDelegate.validateExpressionInOCL(org.eclipse.emf.ecore.EClassifier eClassifier,
java.lang.Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context,
java.lang.String constraintName,
java.lang.String source,
int code,
ExpressionInOCL query) |
Constructor and Description |
---|
DebugStarter(org.eclipse.swt.widgets.Display display,
MetamodelManager metamodelManager,
java.lang.Object contextObject,
ExpressionInOCL constraint) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
MainTab.getDisplayString(ExpressionInOCL expressionInOCL) |
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
CompleteOCLCSUIConstraintLocator.DebugStarter.constraint |
protected ExpressionInOCL |
PivotUIConstraintLocator.DebugStarter.constraint |
Modifier and Type | Method and Description |
---|---|
protected ExpressionInOCL |
AbstractPivotConstraintLocator.getQuery(PivotMetamodelManager metamodelManager,
Constraint constraint) |
Modifier and Type | Method and Description |
---|---|
protected EvaluationVisitor |
AbstractPivotConstraintLocator.createEvaluationVisitor(EnvironmentFactoryInternal environmentFactory,
ExpressionInOCL query,
java.lang.Object contextObject,
org.eclipse.emf.common.util.Monitor monitor) |
protected org.eclipse.debug.core.ILaunch |
CompleteOCLCSUIConstraintLocator.DebugStarter.launchDebugger(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.emf.ecore.EObject contextObject,
ExpressionInOCL expressionInOCL)
Create and launch an internal launch configuration to debug expressionInOCL applied to contextObject.
|
protected org.eclipse.debug.core.ILaunch |
DelegateUIConstraintLocator.DebugStarter.launchDebugger(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.emf.ecore.EObject contextObject,
ExpressionInOCL expressionInOCL)
Create and launch an internal launch configuration to debug expressionInOCL applied to contextObject.
|
protected org.eclipse.debug.core.ILaunch |
PivotUIConstraintLocator.DebugStarter.launchDebugger(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.emf.ecore.EObject contextObject,
ExpressionInOCL expressionInOCL)
Create and launch an internal launch configuration to debug expressionInOCL applied to contextObject.
|
protected org.eclipse.debug.core.ILaunch |
UMLUIConstraintLocator.DebugStarter.launchDebugger(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.emf.ecore.EObject contextObject,
ExpressionInOCL expressionInOCL)
Create and launch an internal launch configuration to debug expressionInOCL applied to contextObject.
|
Constructor and Description |
---|
AbstractConstraintLocator(PivotMetamodelManager metamodelManager,
ExpressionInOCL expression,
java.lang.Object object) |
DebugStarter(org.eclipse.swt.widgets.Shell shell,
EnvironmentFactoryInternal environmentFactory,
org.eclipse.emf.ecore.EObject contextObject,
ExpressionInOCL constraint) |
DebugStarter(org.eclipse.swt.widgets.Shell shell,
EnvironmentFactoryInternal environmentFactory,
org.eclipse.emf.ecore.EObject contextObject,
ExpressionInOCL constraint) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.debug.core.ILaunch |
DebugAction.DebugStarter.launchDebugger(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.emf.ecore.EObject contextObject,
ExpressionInOCL expressionInOCL)
Create and launch an internal launch configuration to debug expressionInOCL applied to contextObject.
|
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
PivotFactory.createExpressionInOCL()
Returns a new object of class 'Expression In OCL'.
|
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
AbstractConstraintEvaluator.query |
Modifier and Type | Method and Description |
---|---|
static OCLExpression |
AbstractConstraintEvaluator.getConstraintExpression(ExpressionInOCL query)
Return the expression to be evaluated for a constraintSpecification, which is the constraintSpecification.bodyExpression
unless that is a status TuplePart PropertyCallExp in which case it is the source of the TuplePart PropertyCallExp enabling the
evaluation to compute the enriched Tuple of invariant results.
|
Constructor and Description |
---|
AbstractConstraintEvaluator(ExpressionInOCL query)
Construct an helper for the evaluation of an expression
|
Modifier and Type | Class and Description |
---|---|
class |
ExpressionInOCLImpl
An implementation of the model object 'Expression In Ocl'.
|
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
PivotFactoryImpl.createExpressionInOCL() |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
AbstractParserContext.getExpression(CSResource resource) |
ExpressionInOCL |
AbstractParserContext.parse(org.eclipse.emf.ecore.EObject owner,
java.lang.String expression) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractParserContext.initialize(Base2ASConversion conversion,
ExpressionInOCL expression) |
void |
ClassContext.initialize(Base2ASConversion conversion,
ExpressionInOCL expression) |
void |
EClassContext.initialize(Base2ASConversion conversion,
ExpressionInOCL expression) |
void |
EInvocationContext.initialize(Base2ASConversion conversion,
ExpressionInOCL expression) |
void |
EObjectContext.initialize(Base2ASConversion conversion,
ExpressionInOCL expression) |
void |
OperationContext.initialize(Base2ASConversion conversion,
ExpressionInOCL expression) |
void |
AbstractBase2ASConversion.setClassifierContext(ExpressionInOCL pivotSpecification,
Type contextType) |
void |
Base2ASConversion.setClassifierContext(ExpressionInOCL pivotSpecification,
Type contextType) |
void |
AbstractBase2ASConversion.setContextVariable(ExpressionInOCL pivotSpecification,
java.lang.String selfVariableName,
Type contextType,
Type contextInstance) |
void |
Base2ASConversion.setContextVariable(ExpressionInOCL pivotSpecification,
java.lang.String selfVariableName,
Type contextType,
Type contextInstance) |
void |
AbstractBase2ASConversion.setOperationContext(ExpressionInOCL pivotSpecification,
Operation contextOperation,
java.lang.String resultName) |
void |
AbstractBase2ASConversion.setParameterVariables(ExpressionInOCL pivotSpecification,
java.util.List<Parameter> parameters) |
void |
Base2ASConversion.setParameterVariables(ExpressionInOCL pivotSpecification,
java.util.List<Parameter> parameters) |
void |
AbstractBase2ASConversion.setParameterVariables(ExpressionInOCL pivotSpecification,
java.util.Map<java.lang.String,Type> parameters) |
void |
Base2ASConversion.setParameterVariables(ExpressionInOCL pivotSpecification,
java.util.Map<java.lang.String,Type> parameters) |
void |
AbstractBase2ASConversion.setPropertyContext(ExpressionInOCL pivotSpecification,
Property contextProperty) |
void |
AbstractBase2ASConversion.setResultVariable(ExpressionInOCL pivotSpecification,
Operation contextOperation,
java.lang.String resultName) |
void |
Base2ASConversion.setResultVariable(ExpressionInOCL pivotSpecification,
Operation contextOperation,
java.lang.String resultName) |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
OCLInvocationDelegate.getQueryOrThrow(MetamodelManager metamodelManager,
Constraint constraint) |
ExpressionInOCL |
ValidationBehavior.getQueryOrThrow(MetamodelManager metamodelManager,
Constraint constraint)
Return the operation body associated with operation, if necessary using
ocl to create the relevant parsing environment for a textual
definition. |
ExpressionInOCL |
InvocationBehavior.getQueryOrThrow(MetamodelManager metamodelManager,
Operation operation)
Return the operation body associated with operation, if necessary using
ocl to create the relevant parsing environment for a textual
definition. |
ExpressionInOCL |
SettingBehavior.getQueryOrThrow(MetamodelManager metamodelManager,
Property property)
Return the feature body associated with structuralFeature, if necessary using ocl to
create the relevant parsing environment for a textual definition..
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
OCLInvocationDelegate.evaluate(OCL ocl,
ExpressionInOCL query2,
org.eclipse.emf.ecore.InternalEObject target,
java.util.List<?> arguments) |
protected java.lang.Object |
OCLSettingDelegate.evaluateEcore(OCL ocl,
ExpressionInOCL query,
java.lang.Object target) |
protected boolean |
OCLValidationDelegate.validateExpressionInOCL(org.eclipse.emf.ecore.EClassifier eClassifier,
java.lang.Object value,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context,
java.lang.String constraintName,
java.lang.String source,
int code,
ExpressionInOCL query) |
Constructor and Description |
---|
CheckingConstraintEvaluator(org.eclipse.emf.ecore.EClassifier eClassifier,
ExpressionInOCL query) |
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
EObjectOperation.specification |
protected ExpressionInOCL |
EObjectProperty.specification |
Constructor and Description |
---|
EObjectOperation(Operation operation,
org.eclipse.emf.ecore.EOperation eFeature,
ExpressionInOCL specification) |
EObjectProperty(org.eclipse.emf.ecore.EStructuralFeature eFeature,
ExpressionInOCL specification) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
AbstractEvaluationVisitorDecorator.visitExpressionInOCL(ExpressionInOCL expression)
Delegates to my decorated visitor.
|
java.lang.Object |
BasicEvaluationVisitor.visitExpressionInOCL(ExpressionInOCL expression) |
java.lang.Object |
TracingEvaluationVisitor.visitExpressionInOCL(ExpressionInOCL expression) |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
OCLHelperImpl.createBodyCondition(java.lang.String expression) |
ExpressionInOCL |
OCLHelperImpl.createDerivedValueExpression(java.lang.String expression) |
ExpressionInOCL |
OCLHelperImpl.createInvariant(java.lang.String expression) |
ExpressionInOCL |
OCLHelperImpl.createPostcondition(java.lang.String expression) |
ExpressionInOCL |
OCLHelperImpl.createPrecondition(java.lang.String expression) |
ExpressionInOCL |
OCLHelperImpl.createQuery(java.lang.String expression) |
protected ExpressionInOCL |
OCLHelperImpl.createSpecification(java.lang.String expression) |
Constructor and Description |
---|
QueryImpl(OCL ocl,
ExpressionInOCL query) |
Modifier and Type | Method and Description |
---|---|
void |
ExpressionInOCLLabelGenerator.buildLabelFor(ILabelGenerator.Builder labelBuilder,
ExpressionInOCL object) |
Modifier and Type | Field and Description |
---|---|
protected ExpressionInOCL |
ConstrainedProperty.expression |
protected ExpressionInOCL |
ConstrainedOperation.expressionInOCL |
Constructor and Description |
---|
ConstrainedOperation(ExpressionInOCL expressionInOCL) |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
PivotMetamodelManager.getBodyExpression(Operation operation) |
ExpressionInOCL |
PivotMetamodelManager.getDefaultExpression(Property property) |
ExpressionInOCL |
PivotMetamodelManager.parseSpecification(LanguageExpression specification)
Return the compiled query for a specification resolving a String body into a non-null bodyExpression.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
EssentialOCLPrettyPrintVisitor.visitExpressionInOCL(ExpressionInOCL object) |
java.lang.Object |
PrettyPrintVisitor.visitExpressionInOCL(ExpressionInOCL object) |
Modifier and Type | Method and Description |
---|---|
protected ExpressionInOCL |
AbstractContents.createExpressionInOCL(Type type,
java.lang.String exprString) |
Constructor and Description |
---|
ConstraintEvaluatorWithDiagnostics(ExpressionInOCL expression,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
org.eclipse.emf.ecore.EObject diagnosticEObject,
boolean mayUseNewLines) |
ConstraintEvaluatorWithoutDiagnostics(ExpressionInOCL expression) |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
UML2ASUseSwitch.caseOpaqueExpression(org.eclipse.uml2.uml.OpaqueExpression umlExpression) |
ExpressionInOCL |
UML2AS.refreshOpaqueExpression(org.eclipse.uml2.uml.OpaqueExpression umlExpression) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
UMLOCLEValidator.validateSemantics(org.eclipse.uml2.uml.Element umlElement,
ExpressionInOCL expressionInOCL,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
Constructor and Description |
---|
ConstraintEvaluatorWithDiagnostics(ExpressionInOCL expression,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
org.eclipse.emf.ecore.EObject diagnosticEObject,
boolean mayUseNewLines) |
ConstraintEvaluatorWithoutDiagnostics(ExpressionInOCL expression) |
Modifier and Type | Method and Description |
---|---|
T |
PivotSwitch.caseExpressionInOCL(ExpressionInOCL object)
Returns the result of interpreting the object as an instance of 'Expression In OCL'.
|
boolean |
PivotValidator.validateExpressionInOCL(ExpressionInOCL expressionInOCL,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
R |
AbstractDelegatingVisitor.visitExpressionInOCL(ExpressionInOCL object) |
R |
AbstractExtendingVisitor.visitExpressionInOCL(ExpressionInOCL object) |
R |
AbstractMergedVisitor.visitExpressionInOCL(ExpressionInOCL object) |
R |
AbstractNullVisitor.visitExpressionInOCL(ExpressionInOCL object)
Deprecated.
|
R |
AbstractWrappingVisitor.visitExpressionInOCL(ExpressionInOCL object) |
LookupEnvironment |
PivotUnqualifiedLookupVisitor.visitExpressionInOCL(ExpressionInOCL element_3)
visitExpressionInOCL(element : ExpressionInOCL[1]) : lookup::LookupEnvironment[?]
_'null' : lookup::LookupEnvironment[?]
|
R |
Visitor.visitExpressionInOCL(ExpressionInOCL object) |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
OCLHelper.createBodyCondition(java.lang.String expression)
Creates an operation body.
|
ExpressionInOCL |
OCLHelper.createDerivedValueExpression(java.lang.String expression)
Creates a property derived value expression.
|
static ExpressionInOCL |
PivotUtil.createExpressionInOCL(Variable asContextVariable,
OCLExpression asExpression,
Variable... asParameterVariables) |
static ExpressionInOCL |
PivotUtil.createExpressionInOCLError(java.lang.String string) |
ExpressionInOCL |
OCL.createInvariant(org.eclipse.emf.ecore.EObject contextElement,
java.lang.String oclExpression)
Parse oclExpression using selfType as the type of each run-time self object.
|
ExpressionInOCL |
OCLHelper.createInvariant(java.lang.String expression)
Creates an invariant constraint in the current classifier context.
|
ExpressionInOCL |
OCL.createPostcondition(org.eclipse.emf.ecore.EOperation contextOperation,
java.lang.String oclExpression) |
ExpressionInOCL |
OCLHelper.createPostcondition(java.lang.String expression)
Creates an operation postcondition constraint.
|
ExpressionInOCL |
OCLHelper.createPrecondition(java.lang.String expression)
Creates an operation precondition constraint.
|
ExpressionInOCL |
OCL.createQuery(org.eclipse.emf.ecore.EObject contextElement,
java.lang.String oclExpression) |
ExpressionInOCL |
OCLHelper.createQuery(java.lang.String expression)
Creates a query expression in the current classifier context.
|
static ExpressionInOCL |
PivotUtil.getContainingExpressionInOCL(Element element) |
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.
|
ExpressionInOCL |
ParserContext.parse(org.eclipse.emf.ecore.EObject owner,
java.lang.String expression)
Create an Abstract Syntax ExpressionInOCL containing the parsed expression on behalf of a potential owner.
|
ExpressionInOCL |
MetamodelManager.parseSpecification(LanguageExpression specification)
Convert the specification of an OCL expression from textual CS form to parsed executable AS form.
|
ExpressionInOCL |
OCL.parseSpecification(LanguageExpression specification)
Convert the specification of an OCL expression from textual CS form to parsed executable AS form.
|
ExpressionInOCL |
OCL.parseSpecification(java.lang.Object unusedObject,
LanguageExpression specification)
Deprecated.
use parseSpecification(specification)
|
Modifier and Type | Method and Description |
---|---|
boolean |
OCL.check(java.lang.Object context,
ExpressionInOCL specification)
Checks whether a constraint, specified simply as an OCL expression, is
satisfied by an object.
|
static void |
PivotUtil.checkExpression(ExpressionInOCL expressionInOCL)
Check that expressionInOCL was successfully compiled.
|
EvaluationVisitor |
OCL.createEvaluationVisitor(java.lang.Object context,
ExpressionInOCL expression)
Creates a new evaluation visitor, for the evaluation of an OCL expression in a context.
|
EvaluationVisitor |
AbstractEnvironmentFactory.createEvaluationVisitor(java.lang.Object context,
ExpressionInOCL expression,
ModelManager modelManager) |
EvaluationVisitor |
EnvironmentFactory.createEvaluationVisitor(java.lang.Object context,
ExpressionInOCL expression,
ModelManager modelManager)
Creates a new evaluation visitor, for the evaluation of an OCL expression on a context using an environment and a modelManager.
|
static Operation |
PivotUtil.createOperation(java.lang.String name,
ExpressionInOCL asExpressionInOCL) |
Query |
OCL.createQuery(ExpressionInOCL query)
Creates a new
Query encapsulating a query expression with the
current environment and extent map. |
java.lang.Object |
OCL.evaluate(java.lang.Object context,
ExpressionInOCL expression)
Evaluates a query expression on a context object (which is bound to the
self variable).
|
static OCLExpression |
PivotUtil.getOwnedBody(ExpressionInOCL asExpression) |
void |
ParserContext.initialize(Base2ASConversion conversion,
ExpressionInOCL expression)
Callback to initialize the ExpressionInOCL with the derived context such as
a contextvariable for the self type, parameter and result variables.
|
static Operation |
PivotUtil.initOperation(Operation asOperation,
ExpressionInOCL asExpressionInOCL) |
static void |
PivotUtil.setBody(ExpressionInOCL expressionInOCL,
OCLExpression oclExpression,
java.lang.String stringExpression)
Define oclExpression as the bodyExpression of an expressionInOCL, and if non-null
also define stringExpression as the OCL-languaged body.
|
java.lang.Object |
AS2MonikerVisitor.visitExpressionInOCL(ExpressionInOCL object) |
java.lang.String |
ToStringVisitor.visitExpressionInOCL(ExpressionInOCL expression)
Renders an ExpressionInOCL with its context variables and body.
|
Modifier and Type | Method and Description |
---|---|
ElementCS |
BaseDeclarationVisitor.visitExpressionInOCL(ExpressionInOCL object) |
Modifier and Type | Method and Description |
---|---|
void |
CS2ASConversion.refreshContextVariable(ExpressionInOCL pivotSpecification) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
BaseLabelProvider.image(ExpressionInOCL ele) |
protected java.lang.String |
BaseLabelProvider.text(ExpressionInOCL ele) |
Modifier and Type | Method and Description |
---|---|
static ExpressionInOCL |
ElementUtil.getFirstQuery(PivotMetamodelManager metamodelManager,
BaseCSResource csResource)
Extract the first embedded ExpressionInOCL.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EObject |
CompleteOCLSplitter.Separator.caseExpressionInOCL(ExpressionInOCL object) |
ElementCS |
CompleteOCLDeclarationVisitor.visitExpressionInOCL(ExpressionInOCL object) |
Modifier and Type | Method and Description |
---|---|
ElementCS |
EssentialOCLDeclarationVisitor.visitExpressionInOCL(ExpressionInOCL object) |
Modifier and Type | Method and Description |
---|---|
protected void |
EssentialOCLOutlineTreeProvider._createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parentNode,
ExpressionInOCL exp) |
protected void |
EssentialOCLOutlineTreeProvider._createNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parentNode,
ExpressionInOCL ele) |
Modifier and Type | Method and Description |
---|---|
protected ExpressionInOCL |
MarkupToHTML.createQuery(java.lang.String oclString) |