public interface Variable<C,PM> extends TypedElement<C>, Visitable, TypedASTNode
The following features are supported:
ExpressionsPackage.getVariable()
Modifier and Type | Method and Description |
---|---|
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. |
getName, getType, setName, setType
getTypeEndPosition, getTypeStartPosition, setTypeEndPosition, setTypeStartPosition
getEndPosition, getStartPosition, setEndPosition, setStartPosition
OCLExpression<C> getInitExpression()
If the meaning of the 'Init Expression' containment reference isn't clear, there really should be more of a description here...
setInitExpression(OCLExpression)
,
ExpressionsPackage.getVariable_InitExpression()
void setInitExpression(OCLExpression<C> value)
Init Expression
' containment reference.
value
- the new value of the 'Init Expression' containment reference.getInitExpression()
PM getRepresentedParameter()
If the meaning of the 'Represented Parameter' reference isn't clear, there really should be more of a description here...
setRepresentedParameter(Object)
,
ExpressionsPackage.getVariable_RepresentedParameter()
void setRepresentedParameter(PM value)
Represented Parameter
' reference.
value
- the new value of the 'Represented Parameter' reference.getRepresentedParameter()
boolean checkInitType(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.