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

All Superinterfaces:
CGElement, CGNamedElement, CGTypedElement, CGValuedElement, org.eclipse.emf.ecore.EObject, Nameable, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
CGVariableExpImpl

public interface CGVariableExp
extends CGValuedElement

A representation of the model object 'CG Variable Exp'. A CGVariableExp references a variable that shared a common sub-expression.

The following features are supported:

See Also:
CGModelPackage.getCGVariableExp()
Generated

Method Summary
 CGVariable getReferredVariable()
          Returns the value of the 'Referred Variable' reference.
 void setReferredVariable(CGVariable value)
          Sets the value of the 'Referred Variable' reference.
 
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

getReferredVariable

CGVariable getReferredVariable()
Returns the value of the 'Referred Variable' reference. The shared variable providing the value.

Returns:
the value of the 'Referred Variable' reference.
See Also:
setReferredVariable(CGVariable), CGModelPackage.getCGVariableExp_ReferredVariable()
Generated

setReferredVariable

void setReferredVariable(CGVariable value)
Sets the value of the 'Referred Variable' reference.

Parameters:
value - the new value of the 'Referred Variable' reference.
See Also:
getReferredVariable()
Generated