org.eclipse.ocl.expressions
Interface Variable<C,PM>

All Superinterfaces:
ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, TypedASTNode, TypedElement<C>, Visitable
All Known Subinterfaces:
Variable, Variable
All Known Implementing Classes:
VariableImpl, VariableImpl, VariableImpl

public interface Variable<C,PM>
extends TypedElement<C>, Visitable, TypedASTNode

A representation of the model object 'Variable'.

The following features are supported:

See Also:
ExpressionsPackage.getVariable()
Generated
Model

Method Summary
 boolean checkInitType(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          initExpression->notEmpty() implies initExpression.type.conformsTo (type)
 OCLExpression<C> getInitExpression()
          Returns the value of the 'Init Expression' containment reference.
 PM getRepresentedParameter()
          Returns the value of the 'Represented Parameter' reference.
 void setInitExpression(OCLExpression<C> value)
          Sets the value of the 'Init Expression' containment reference.
 void setRepresentedParameter(PM value)
          Sets the value of the 'Represented Parameter' reference.
 
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement
getName, getType, setName, setType
 
Methods inherited from interface org.eclipse.ocl.utilities.Visitable
accept
 
Methods inherited from interface org.eclipse.ocl.utilities.TypedASTNode
getTypeEndPosition, getTypeStartPosition, setTypeEndPosition, setTypeStartPosition
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getInitExpression

OCLExpression<C> getInitExpression()
Returns the value of the 'Init Expression' containment reference.

If the meaning of the 'Init Expression' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Init Expression' containment reference.
See Also:
setInitExpression(OCLExpression), ExpressionsPackage.getVariable_InitExpression()
Generated
Model
containment="true"

setInitExpression

void setInitExpression(OCLExpression<C> value)
Sets the value of the 'Init Expression' containment reference.

Parameters:
value - the new value of the 'Init Expression' containment reference.
See Also:
getInitExpression()
Generated

getRepresentedParameter

PM getRepresentedParameter()
Returns the value of the 'Represented Parameter' reference.

If the meaning of the 'Represented Parameter' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Represented Parameter' reference.
See Also:
setRepresentedParameter(Object), ExpressionsPackage.getVariable_RepresentedParameter()
Generated
Model
kind="reference"

setRepresentedParameter

void setRepresentedParameter(PM value)
Sets the value of the 'Represented Parameter' reference.

Parameters:
value - the new value of the 'Represented Parameter' reference.
See Also:
getRepresentedParameter()
Generated

checkInitType

boolean checkInitType(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                      java.util.Map<java.lang.Object,java.lang.Object> context)
initExpression->notEmpty() implies initExpression.type.conformsTo (type)

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.
Generated
Model