Uses of Interface
org.eclipse.ocl.expressions.Variable

Packages that use Variable
org.eclipse.emf.ocl.expressions.util EMF utilities for the OCL expression syntax API. 
org.eclipse.emf.ocl.internal.parser   
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.util Miscellaneous utilities in support of the OCL parser and environment implementations. 
org.eclipse.ocl.utilities Abstract API for OCL AST utilities and extensions of the UML metamodel. 
 

Uses of Variable in org.eclipse.emf.ocl.expressions.util
 

Methods in org.eclipse.emf.ocl.expressions.util that return Variable
static Variable<EClassifier,EParameter> ExpressionsUtil.toGenericAST(Environment env, Variable variable)
          Deprecated. Converts the specified variable to the generic AST model.
 

Uses of Variable in org.eclipse.emf.ocl.internal.parser
 

Methods in org.eclipse.emf.ocl.internal.parser that return Variable
 Variable<EClassifier,EParameter> CompatibilityEnvironment.getSelfVariable()
           
 Variable<EClassifier,EParameter> CompatibilityEnvironment.lookup(String name)
           
 Variable<EClassifier,EParameter> CompatibilityEnvironment.lookupImplicitSourceForAssociationClass(String name)
           
 Variable<EClassifier,EParameter> CompatibilityEnvironment.lookupImplicitSourceForOperation(String name, List<? extends TypedElement<EClassifier>> args)
           
 Variable<EClassifier,EParameter> CompatibilityEnvironment.lookupImplicitSourceForProperty(String name)
           
 Variable<EClassifier,EParameter> CompatibilityEnvironment.lookupLocal(String name)
           
 

Methods in org.eclipse.emf.ocl.internal.parser that return types with arguments of type Variable
 Collection<Variable<EClassifier,EParameter>> CompatibilityEnvironment.getVariables()
           
 

Methods in org.eclipse.emf.ocl.internal.parser with parameters of type Variable
 boolean CompatibilityEnvironment.addElement(String name, Variable<EClassifier,EParameter> elem, boolean explicit)
           
 EStructuralFeature CompatibilityEnvironment.defineAttribute(EClassifier owner, Variable<EClassifier,EParameter> variable, Constraint constraint)
           
 void CompatibilityEnvironment.setSelfVariable(Variable<EClassifier,EParameter> var)
           
 

Method parameters in org.eclipse.emf.ocl.internal.parser with type arguments of type Variable
 EOperation CompatibilityEnvironment.defineOperation(EClassifier owner, String name, EClassifier type, List<Variable<EClassifier,EParameter>> params, Constraint constraint)
           
 

Uses of Variable in org.eclipse.ocl
 

Methods in org.eclipse.ocl that return Variable
 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)
           
 

Methods in org.eclipse.ocl that return types with arguments of type Variable
 Collection<Variable<C,PM>> Environment.getVariables()
          Returns the Variables registered explicitly in me and any parents that I may have.
 Collection<Variable<C,PM>> AbstractEnvironment.getVariables()
           
 

Methods in org.eclipse.ocl with parameters of type Variable
protected  void AbstractEnvironment.addedVariable(String name, Variable<C,PM> variable, boolean isExplicit)
          Persists the specified variable in my resource.
 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.
protected  void AbstractEnvironment.removedVariable(String name, Variable<C,PM> variable, boolean isExplicit)
          Removes the specified variable from my resource.
 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 EvaluationVisitorImpl.visitVariable(Variable<C,PM> vd)
          Callback for a VariableDeclaration visit.
 Object EvaluationVisitorDecorator.visitVariable(Variable<C,PM> variable)
          Delegates to my decorated visitor.
 

Method parameters in org.eclipse.ocl with type arguments of type Variable
 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.
 

Uses of Variable in org.eclipse.ocl.ecore
 

Subinterfaces of Variable in org.eclipse.ocl.ecore
 interface Variable
          A representation of the model object 'Variable'
 

Methods in org.eclipse.ocl.ecore with parameters of type Variable
 EStructuralFeature EcoreEnvironment.defineAttribute(EClassifier owner, Variable<EClassifier,EParameter> variable, Constraint constraint)
           
 

Method parameters in org.eclipse.ocl.ecore with type arguments of type Variable
 EOperation EcoreEnvironment.defineOperation(EClassifier owner, String name, EClassifier type, List<Variable<EClassifier,EParameter>> params, Constraint constraint)
           
 

Uses of Variable in org.eclipse.ocl.ecore.impl
 

Fields in org.eclipse.ocl.ecore.impl declared as Variable
protected  Variable<EClassifier,EParameter> ExpressionInOCLImpl.contextVariable
          The cached value of the 'Context Variable' containment reference
protected  Variable<EClassifier,EParameter> VariableExpImpl.referredVariable
          The cached value of the 'Referred Variable' reference
protected  Variable<EClassifier,EParameter> IterateExpImpl.result
          The cached value of the 'Result' containment reference
protected  Variable<EClassifier,EParameter> ExpressionInOCLImpl.resultVariable
          The cached value of the 'Result Variable' containment reference
protected  Variable<EClassifier,EParameter> LetExpImpl.variable
          The cached value of the 'Variable' containment reference
 

Fields in org.eclipse.ocl.ecore.impl with type parameters of type Variable
protected  EList<Variable<EClassifier,EParameter>> LoopExpImpl.iterator
          The cached value of the 'Iterator' containment reference list
protected  EList<Variable<EClassifier,EParameter>> ExpressionInOCLImpl.parameterVariable
          The cached value of the 'Parameter Variable' containment reference list
 

Methods in org.eclipse.ocl.ecore.impl that return Variable
 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()
           
 

Methods in org.eclipse.ocl.ecore.impl that return types with arguments of type Variable
 EList<Variable<EClassifier,EParameter>> LoopExpImpl.getIterator()
           
 EList<Variable<EClassifier,EParameter>> ExpressionInOCLImpl.getParameterVariable()
           
 

Methods in org.eclipse.ocl.ecore.impl with parameters of type Variable
 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)
           
 

Uses of Variable in org.eclipse.ocl.ecore.internal
 

Methods in org.eclipse.ocl.ecore.internal that return Variable
<C,PM> Variable<C,PM>
OCLFactoryImpl.createVariable()
           
 

Uses of Variable in org.eclipse.ocl.ecore.util
 

Methods in org.eclipse.ocl.ecore.util with parameters of type Variable
<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) method, instead.
 

Uses of Variable in org.eclipse.ocl.expressions
 

Methods in org.eclipse.ocl.expressions that return Variable
<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
 

Methods in org.eclipse.ocl.expressions that return types with arguments of type Variable
 EList<Variable<C,PM>> LoopExp.getIterator()
          Returns the value of the 'Iterator' containment reference list.
 

Methods in org.eclipse.ocl.expressions with parameters of type Variable
 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
 

Uses of Variable in org.eclipse.ocl.expressions.impl
 

Classes in org.eclipse.ocl.expressions.impl that implement Variable
 class VariableImpl<C,PM>
          An implementation of the model object 'Variable'
 

Fields in org.eclipse.ocl.expressions.impl declared as Variable
protected  Variable<C,PM> VariableExpImpl.referredVariable
          The cached value of the 'Referred Variable' reference
protected  Variable<C,PM> IterateExpImpl.result
          The cached value of the 'Result' containment reference
protected  Variable<C,PM> LetExpImpl.variable
          The cached value of the 'Variable' containment reference
 

Fields in org.eclipse.ocl.expressions.impl with type parameters of type Variable
protected  EList<Variable<C,PM>> LoopExpImpl.iterator
          The cached value of the 'Iterator' containment reference list
 

Methods in org.eclipse.ocl.expressions.impl that return Variable
 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()
           
 

Methods in org.eclipse.ocl.expressions.impl that return types with arguments of type Variable
 EList<Variable<C,PM>> LoopExpImpl.getIterator()
           
 

Methods in org.eclipse.ocl.expressions.impl with parameters of type Variable
 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)
           
 

Uses of Variable in org.eclipse.ocl.expressions.operations
 

Methods in org.eclipse.ocl.expressions.operations with parameters of type Variable
static
<C,PM,T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>>
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)
           
 

Uses of Variable in org.eclipse.ocl.expressions.util
 

Methods in org.eclipse.ocl.expressions.util with parameters of type Variable
<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)
           
 

Uses of Variable in org.eclipse.ocl.internal.evaluation
 

Methods in org.eclipse.ocl.internal.evaluation with parameters of type Variable
 Object TracingEvaluationVisitor.visitVariable(Variable<C,PM> variable)
           
 

Method parameters in org.eclipse.ocl.internal.evaluation with type arguments of type Variable
protected  void IterationTemplate.advanceIterators(List<Variable<C,PM>> iterators, Iterator<?>[] javaIters, Collection<?> c, int curr)
           
 Object IterationTemplate.evaluate(Collection<?> coll, List<Variable<C,PM>> iterators, OCLExpression<C> body, String resultName)
           
protected  Object IterationTemplateSortedBy.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object bodyVal)
           
protected  Object IterationTemplateSelect.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object body)
           
protected  Object IterationTemplateReject.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object body)
           
protected  Object IterationTemplateOne.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object body)
           
protected  Object IterationTemplateIsUnique.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object bodyVal)
           
protected  Object IterationTemplateForAll.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object body)
           
protected  Object IterationTemplateExists.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object body)
           
protected  Object IterationTemplateCollectNested.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object bodyVal)
           
protected  Object IterationTemplateCollect.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object bodyVal)
           
protected  Object IterationTemplateClosure.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object bodyVal)
          Recursively evaluates the iterator body expression.
protected  Object IterationTemplateAny.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object bodyVal)
           
protected  Object IterationTemplate.evaluateResult(List<Variable<C,PM>> iterators, String resultName, Object bodyVal)
           
protected  void IterationTemplate.initializeIterators(List<Variable<C,PM>> iterators, Iterator<?>[] javaIters, Collection<?> c)
           
protected  void IterationTemplate.removeIterators(List<Variable<C,PM>> iterators)
           
 

Uses of Variable in org.eclipse.ocl.parser
 

Methods in org.eclipse.ocl.parser that return Variable
protected  Variable<C,PM> AbstractOCLAnalyzer.genVariableDeclaration(CSTNode cstNode, String rule, Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env, String name, C type, OCLExpression<C> initExp, boolean explicitFlag, boolean addToEnvironment, boolean isSelf)
          Generate a VariableDeclaration AST node, and add it to the environment.
protected  Variable<C,PM> AbstractOCLAnalyzer.lookupImplicitSourceForOperation(CSTNode cstNode, Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env, List<OCLExpression<C>> args, String operationName)
           
 Variable<C,PM> OCLAnalyzer.parseVariableDeclarationCS(boolean addToEnvironment)
          Parses the input as a VariableDeclarationCS.
protected  Variable<C,PM> AbstractOCLAnalyzer.variableDeclarationCS(VariableCS variableDeclarationCS, Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env, boolean addToEnvironment)
          VariableDeclarationCS
 

Methods in org.eclipse.ocl.parser that return types with arguments of type Variable
protected  List<Variable<C,PM>> AbstractOCLAnalyzer.parametersCS(List<VariableCS> parameters, Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env)
          ParametersCS
protected  List<Variable<C,PM>> AbstractOCLAnalyzer.variableDeclarationListCS(List<VariableCS> variableDeclarationCS, Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env, boolean addToEnvironment)
          VariableDeclarationListCS
 

Methods in org.eclipse.ocl.parser with parameters of type Variable
protected  VariableExp<C,PM> AbstractOCLAnalyzer.createVariableExp(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env, CSTNode cst, Variable<C,PM> var)
          Creates a variable expression with the variable that it references.
 Boolean ValidationVisitor.visitVariable(Variable<C,PM> vd)
          Callback for a VariableDeclaration visit.
 

Uses of Variable in org.eclipse.ocl.util
 

Methods in org.eclipse.ocl.util with parameters of type Variable
protected  String ToStringVisitor.handleVariable(Variable<C,PM> vd, String initResult)
          Callback for the Variable visit.
 

Uses of Variable in org.eclipse.ocl.utilities
 

Methods in org.eclipse.ocl.utilities that return Variable
<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
 

Methods in org.eclipse.ocl.utilities that return types with arguments of type Variable
 EList<Variable<C,PM>> ExpressionInOCL.getParameterVariable()
          Returns the value of the 'Parameter Variable' containment reference list.
 

Methods in org.eclipse.ocl.utilities with parameters of type Variable
protected  T AbstractVisitor.handleVariable(Variable<C,PM> variable, T initResult)
          Visits the specified variable with the results of visiting its initializer (if any).
 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 2002, 2007 IBM Corporation and others.
All Rights Reserved.