org.eclipse.ocl.examples.codegen.cgmodel
Interface CGVariable

All Superinterfaces:
CGElement, CGNamedElement, CGTypedElement, CGValuedElement, org.eclipse.emf.ecore.EObject, Nameable, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
CGAccumulator, CGFinalVariable, CGIterator, CGLocalVariable, CGParameter, CGSettableVariable, CGTextParameter
All Known Implementing Classes:
CGAccumulatorImpl, CGFinalVariableImpl, CGIteratorImpl, CGLocalVariableImpl, CGParameterImpl, CGSettableVariableImpl, CGTextParameterImpl, CGVariableImpl

public interface CGVariable
extends CGValuedElement

A representation of the model object 'CG Variable Declaration'. A CGVariable supports the shared use of its init expression by many VariableExps.

The following features are supported:

See Also:
CGModelPackage.getCGVariable()
Generated

Method Summary
 CGValuedElement getInit()
          Returns the value of the 'Init' containment reference.
 void setInit(CGValuedElement value)
          Sets the value of the 'Init' containment reference.
 void setNonInvalid()
          Set the non-invalid status.
 void setNonNull()
          Set the non-null status.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement
getDependsOn, getInvalidValue, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isBoxed, isCaught, isCommonable, isConstant, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, isUncommonable, setCaught, setValueName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement
getAst, getName, setAst, setName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
accept, getChildren, getParent, getPlace, isContext, rewriteAs
 
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

getInit

CGValuedElement getInit()
Returns the value of the 'Init' containment reference.

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

The shared value.

Returns:
the value of the 'Init' containment reference.
See Also:
setInit(CGValuedElement), CGModelPackage.getCGVariable_Init()
Generated

setInit

void setInit(CGValuedElement value)
Sets the value of the 'Init' containment reference.

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

setNonInvalid

void setNonInvalid()
Set the non-invalid status.

Generated

setNonNull

void setNonNull()
Set the non-null status.

Generated