Package | Description |
---|---|
org.eclipse.ocl |
Definition of the extensible environment API for OCL parsing and evaluation.
|
org.eclipse.ocl.ecore |
Implementation of an OCL binding for the Ecore metamodel.
|
org.eclipse.ocl.ecore.impl |
Implementation of the Ecore binding of the the Types package of the
OCL Abstract Syntax.
|
org.eclipse.ocl.ecore.internal | |
org.eclipse.ocl.ecore.util |
Generated utilities for working with instances the Ecore binding of the
Types package of the OCL Abstract Syntax.
|
org.eclipse.ocl.expressions |
Specification of the Expressions package of the Object Constraint Lanuage
version 2.0 Abstract Syntax model.
|
org.eclipse.ocl.expressions.impl |
Implementation of the Expressions package of the Object Constraint Lanuage
version 2.0 Abstract Syntax model.
|
org.eclipse.ocl.expressions.operations | |
org.eclipse.ocl.expressions.util |
Generated utilities for working with instances the Expressions model.
|
org.eclipse.ocl.internal.evaluation | |
org.eclipse.ocl.parser | |
org.eclipse.ocl.uml |
Implementation of an OCL binding for the UML metamodel.
|
org.eclipse.ocl.uml.impl |
Implementation of the UML binding of the the Types package of the
OCL Abstract Syntax.
|
org.eclipse.ocl.uml.internal | |
org.eclipse.ocl.uml.util |
Miscellaneous utilities in support of the UML environment for OCL.
|
org.eclipse.ocl.utilities |
Abstract API for OCL AST utilities and extensions of the UML metamodel.
|
Modifier and Type | Method and Description |
---|---|
Variable<C,PM> |
Environment.getSelfVariable()
Gets the self variable, looking it up in a parent environment if necessary.
|
Variable<C,PM> |
AbstractEnvironment.getSelfVariable() |
Variable<C,PM> |
Environment.lookup(String name)
Obtains the Variable bound to a variable name.
|
Variable<C,PM> |
AbstractEnvironment.lookup(String name) |
Variable<C,PM> |
Environment.lookupImplicitSourceForAssociationClass(String name)
Return an implicit variable that references the
named association class.
|
Variable<C,PM> |
AbstractEnvironment.lookupImplicitSourceForAssociationClass(String name) |
Variable<C,PM> |
Environment.lookupImplicitSourceForOperation(String name,
List<? extends TypedElement<C>> args)
Return an implicit variable declaration that defines the specified
operation signature.
|
Variable<C,PM> |
AbstractEnvironment.lookupImplicitSourceForOperation(String name,
List<? extends TypedElement<C>> args) |
Variable<C,PM> |
Environment.lookupImplicitSourceForProperty(String name)
Return the most appropriate matching variable to use as the implicit
source of a call to the specified property.
|
Variable<C,PM> |
AbstractEnvironment.lookupImplicitSourceForProperty(String name) |
Variable<C,PM> |
Environment.lookupImplicitSourceForSignal(String name,
List<? extends TypedElement<C>> args)
Return an implicit variable declaration that defines the specified
signal reception signature.
|
Variable<C,PM> |
AbstractEnvironment.lookupImplicitSourceForSignal(String name,
List<? extends TypedElement<C>> args) |
Variable<C,PM> |
Environment.lookupImplicitSourceForState(List<String> path)
Finds the best-matching implicit variable to use as a source for
the unqualified oclIsInState() invocation with the specified
state qualified name path.
|
Variable<C,PM> |
AbstractEnvironment.lookupImplicitSourceForState(List<String> path) |
Variable<C,PM> |
Environment.lookupLocal(String name)
Obtains the Variable bound to a local variable name.
|
Variable<C,PM> |
AbstractEnvironment.lookupLocal(String name) |
Modifier and Type | Method and Description |
---|---|
Collection<Variable<C,PM>> |
Environment.getVariables()
Returns the
Variable s registered explicitly in me and any
parents that I may have. |
Collection<Variable<C,PM>> |
AbstractEnvironment.getVariables() |
Modifier and Type | Method and Description |
---|---|
boolean |
Environment.addElement(String name,
Variable<C,PM> elem,
boolean explicit)
Adds a variable declaration to the environment.
|
boolean |
AbstractEnvironment.addElement(String name,
Variable<C,PM> elem,
boolean isExplicit) |
P |
Environment.defineAttribute(C owner,
Variable<C,PM> variable,
CT constraint)
In processing an additional attribute definition, constructs the
property and associates it with its definition constraint.
|
void |
Environment.setSelfVariable(Variable<C,PM> var)
Sets the "self" variable that is the implicit source of any property,
operation, or association class call.
|
void |
AbstractEnvironment.setSelfVariable(Variable<C,PM> var) |
Object |
EvaluationVisitorDecorator.visitVariable(Variable<C,PM> variable)
Delegates to my decorated visitor.
|
Object |
EvaluationVisitorImpl.visitVariable(Variable<C,PM> vd)
Callback for a VariableDeclaration visit.
|
Modifier and Type | Method and Description |
---|---|
O |
Environment.defineOperation(C owner,
String name,
C type,
List<Variable<C,PM>> params,
CT constraint)
In processing an additional operation definition, constructs the
operation and associates it with its definition constraint.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Variable
A representation of the model object 'Variable'.
|
Modifier and Type | Method and Description |
---|---|
Variable<EClassifier,EParameter> |
EnvironmentWithHiddenOpposites.lookupImplicitSourceForOppositeProperty(String name)
Return the most appropriate matching variable to use as the implicit
source of a call to the specified property.
|
Variable<EClassifier,EParameter> |
EcoreEnvironment.lookupImplicitSourceForOppositeProperty(String name) |
Modifier and Type | Method and Description |
---|---|
EStructuralFeature |
EcoreEnvironment.defineAttribute(EClassifier owner,
Variable<EClassifier,EParameter> variable,
Constraint constraint) |
Modifier and Type | Method and Description |
---|---|
EOperation |
EcoreEnvironment.defineOperation(EClassifier owner,
String name,
EClassifier type,
List<Variable<EClassifier,EParameter>> params,
Constraint constraint) |
Modifier and Type | Method and Description |
---|---|
Variable<EClassifier,EParameter> |
VariableExpImpl.basicGetReferredVariable() |
Variable<EClassifier,EParameter> |
ExpressionInOCLImpl.getContextVariable() |
Variable<EClassifier,EParameter> |
VariableExpImpl.getReferredVariable() |
Variable<EClassifier,EParameter> |
IterateExpImpl.getResult() |
Variable<EClassifier,EParameter> |
ExpressionInOCLImpl.getResultVariable() |
Variable<EClassifier,EParameter> |
LetExpImpl.getVariable() |
Modifier and Type | Method and Description |
---|---|
NotificationChain |
ExpressionInOCLImpl.basicSetContextVariable(Variable<EClassifier,EParameter> newContextVariable,
NotificationChain msgs) |
NotificationChain |
IterateExpImpl.basicSetResult(Variable<EClassifier,EParameter> newResult,
NotificationChain msgs) |
NotificationChain |
ExpressionInOCLImpl.basicSetResultVariable(Variable<EClassifier,EParameter> newResultVariable,
NotificationChain msgs) |
NotificationChain |
LetExpImpl.basicSetVariable(Variable<EClassifier,EParameter> newVariable,
NotificationChain msgs) |
void |
ExpressionInOCLImpl.setContextVariable(Variable<EClassifier,EParameter> newContextVariable) |
void |
VariableExpImpl.setReferredVariable(Variable<EClassifier,EParameter> newReferredVariable) |
void |
IterateExpImpl.setResult(Variable<EClassifier,EParameter> newResult) |
void |
ExpressionInOCLImpl.setResultVariable(Variable<EClassifier,EParameter> newResultVariable) |
void |
LetExpImpl.setVariable(Variable<EClassifier,EParameter> newVariable) |
Modifier and Type | Method and Description |
---|---|
<C,PM> Variable<C,PM> |
OCLFactoryImpl.createVariable() |
Modifier and Type | Method and Description |
---|---|
<C,PM> T |
EcoreSwitch.caseExpressions_Variable(Variable<C,PM> object)
Returns the result of interpreting the object as an instance of 'Variable'.
|
<C,PM> T |
EcoreSwitch.caseVariable_1(Variable<C,PM> object)
Deprecated.
Since 1.3, override the
EcoreSwitch.caseExpressions_Variable(org.eclipse.ocl.expressions.Variable<C, PM>) method, instead. |
Modifier and Type | Method and Description |
---|---|
<C,PM> Variable<C,PM> |
ExpressionsFactory.createVariable()
Returns a new object of class 'Variable'.
|
Variable<C,PM> |
VariableExp.getReferredVariable()
Returns the value of the 'Referred Variable' reference.
|
Variable<C,PM> |
IterateExp.getResult()
Returns the value of the 'Result' containment reference.
|
Variable<C,PM> |
LetExp.getVariable()
Returns the value of the 'Variable' containment reference.
|
Modifier and Type | Method and Description |
---|---|
void |
VariableExp.setReferredVariable(Variable<C,PM> value)
Sets the value of the '
Referred Variable ' reference. |
void |
IterateExp.setResult(Variable<C,PM> value)
Sets the value of the '
Result ' containment reference. |
void |
LetExp.setVariable(Variable<C,PM> value)
Sets the value of the '
Variable ' containment reference. |
Modifier and Type | Class and Description |
---|---|
class |
VariableImpl<C,PM>
An implementation of the model object 'Variable'.
|
Modifier and Type | Method and Description |
---|---|
Variable<C,PM> |
VariableExpImpl.basicGetReferredVariable() |
<C,PM> Variable<C,PM> |
ExpressionsFactoryImpl.createVariable() |
Variable<C,PM> |
VariableExpImpl.getReferredVariable() |
Variable<C,PM> |
IterateExpImpl.getResult() |
Variable<C,PM> |
LetExpImpl.getVariable() |
Modifier and Type | Method and Description |
---|---|
NotificationChain |
IterateExpImpl.basicSetResult(Variable<C,PM> newResult,
NotificationChain msgs) |
NotificationChain |
LetExpImpl.basicSetVariable(Variable<C,PM> newVariable,
NotificationChain msgs) |
void |
VariableExpImpl.setReferredVariable(Variable<C,PM> newReferredVariable) |
void |
IterateExpImpl.setResult(Variable<C,PM> newResult) |
void |
LetExpImpl.setVariable(Variable<C,PM> newVariable) |
Modifier and Type | Method and Description |
---|---|
static <C,PM,T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
VariableOperations.accept(Variable<C,PM> variable,
U v) |
static <C,PM> boolean |
VariableOperations.checkInitType(Variable<C,PM> variable,
DiagnosticChain diagnostics,
Map<Object,Object> context)
initExpression->notEmpty() implies initExpression.type.conformsTo (type)
|
static <C,PM> String |
VariableOperations.getName(Variable<C,PM> variable) |
static <C,PM> C |
VariableOperations.getType(Variable<C,PM> variable) |
static <C,PM> void |
VariableOperations.setName(Variable<C,PM> variable,
String name) |
static <C,PM> void |
VariableOperations.setType(Variable<C,PM> variable,
C type) |
Modifier and Type | Method and Description |
---|---|
<C,PM> T |
ExpressionsSwitch.caseVariable(Variable<C,PM> object)
Returns the result of interpreting the object as an instance of 'Variable'.
|
boolean |
ExpressionsValidator.validateVariable_checkInitType(Variable<?,?> variable,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the checkInitType constraint of 'Variable'.
|
boolean |
ExpressionsValidator.validateVariable(Variable<?,?> variable,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
Modifier and Type | Method and Description |
---|---|
Object |
TracingEvaluationVisitor.visitVariable(Variable<C,PM> variable) |
Modifier and Type | Method and Description |
---|---|
Object |
IterationTemplate.evaluate(Collection<?> coll,
List<Variable<C,PM>> iterators,
OCLExpression<C> body,
String resultName) |
Modifier and Type | Method and Description |
---|---|
<C,PM> Variable<C,PM> |
OCLFactoryWithHistory.createVariable() |
Variable<C,PM> |
OCLAnalyzer.parseVariableDeclarationCS(boolean addToEnvironment)
Parses the input as a VariableDeclarationCS.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
ValidationVisitor.visitVariable(Variable<C,PM> vd)
Callback for a VariableDeclaration visit.
|
Modifier and Type | Method and Description |
---|---|
Property |
UMLEnvironment.defineAttribute(Classifier owner,
Variable<Classifier,Parameter> variable,
Constraint constraint) |
Modifier and Type | Method and Description |
---|---|
Operation |
UMLEnvironment.defineOperation(Classifier owner,
String name,
Classifier type,
List<Variable<Classifier,Parameter>> params,
Constraint constraint) |
Modifier and Type | Method and Description |
---|---|
Variable<Classifier,Parameter> |
VariableExpImpl.basicGetReferredVariable() |
Variable<Classifier,Parameter> |
ExpressionInOCLImpl.getContextVariable() |
Variable<Classifier,Parameter> |
VariableExpImpl.getReferredVariable() |
Variable<Classifier,Parameter> |
IterateExpImpl.getResult() |
Variable<Classifier,Parameter> |
ExpressionInOCLImpl.getResultVariable() |
Variable<Classifier,Parameter> |
LetExpImpl.getVariable() |
Modifier and Type | Method and Description |
---|---|
NotificationChain |
ExpressionInOCLImpl.basicSetContextVariable(Variable<Classifier,Parameter> newContextVariable,
NotificationChain msgs) |
NotificationChain |
IterateExpImpl.basicSetResult(Variable<Classifier,Parameter> newResult,
NotificationChain msgs) |
NotificationChain |
ExpressionInOCLImpl.basicSetResultVariable(Variable<Classifier,Parameter> newResultVariable,
NotificationChain msgs) |
NotificationChain |
LetExpImpl.basicSetVariable(Variable<Classifier,Parameter> newVariable,
NotificationChain msgs) |
void |
ExpressionInOCLImpl.setContextVariable(Variable<Classifier,Parameter> newContextVariable) |
void |
VariableExpImpl.setReferredVariable(Variable<Classifier,Parameter> newReferredVariable) |
void |
IterateExpImpl.setResult(Variable<Classifier,Parameter> newResult) |
void |
ExpressionInOCLImpl.setResultVariable(Variable<Classifier,Parameter> newResultVariable) |
void |
LetExpImpl.setVariable(Variable<Classifier,Parameter> newVariable) |
Modifier and Type | Method and Description |
---|---|
<C,PM> Variable<C,PM> |
OCLFactoryImpl.createVariable() |
Modifier and Type | Method and Description |
---|---|
<C,PM> T |
UMLSwitch.caseExpressions_Variable(Variable<C,PM> object)
Returns the result of interpreting the object as an instance of 'Variable'.
|
<C,PM> T |
UMLSwitch.caseVariable_1(Variable<C,PM> object)
Deprecated.
Since 2.0, override the
UMLSwitch.caseExpressions_Variable(org.eclipse.ocl.expressions.Variable<C, PM>) method, instead. |
Modifier and Type | Method and Description |
---|---|
<C,PM> Variable<C,PM> |
OCLFactory.createVariable()
Returns a new object of class 'Variable'.
|
Variable<C,PM> |
ExpressionInOCL.getContextVariable()
Returns the value of the 'Context Variable' containment reference.
|
Variable<C,PM> |
ExpressionInOCL.getResultVariable()
Returns the value of the 'Result Variable' containment reference.
|
Modifier and Type | Method and Description |
---|---|
void |
ExpressionInOCL.setContextVariable(Variable<C,PM> value)
Sets the value of the '
Context Variable ' containment reference. |
void |
ExpressionInOCL.setResultVariable(Variable<C,PM> value)
Sets the value of the '
Result Variable ' containment reference. |
T |
Visitor.visitVariable(Variable<C,PM> variable) |
T |
AbstractVisitor.visitVariable(Variable<C,PM> variable)
Visits the variable's initialization expression (if any).
|
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.