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

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

public interface CGLetExp
extends CGValuedElement

A representation of the model object 'CG Let Exp'. A CGLetExp makes a shared expression available for multiple use in another expression. The sharred expression is defined as the initialaizer of a shared variable.

The following features are supported:

See Also:
CGModelPackage.getCGLetExp()
Generated
Model

Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
EMPTY_LIST
 
Method Summary
 CGValuedElement getIn()
          Returns the value of the 'In' containment reference.
 CGVariable getInit()
          Returns the value of the 'Init' containment reference.
 void setIn(CGValuedElement value)
          Sets the value of the 'In' containment reference.
 void setInit(CGVariable value)
          Sets the value of the 'Init' containment reference.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement
getDependsOn, getReferredValuedElement, getValue, getValueName, isBoxed, isCaught, isConstant, isFalse, isGlobal, isInlineable, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, setCaught, setNonInvalid, setNonNull, setValueName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement
getPivotTypeId, getTypeId, isRequired, setRequired, setTypeId
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement
getName, getPivot, setName, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
accept, getChildren, getParent
 
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

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

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

Returns:
the value of the 'Init' containment reference.
See Also:
setInit(CGVariable), CGModelPackage.getCGLetExp_Init()
Generated
Model
containment="true" required="true"

setInit

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

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

getIn

CGValuedElement getIn()
Returns the value of the 'In' containment reference.

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

Returns:
the value of the 'In' containment reference.
See Also:
setIn(CGValuedElement), CGModelPackage.getCGLetExp_In()
Generated
Model
containment="true" required="true"

setIn

void setIn(CGValuedElement value)
Sets the value of the 'In' containment reference.

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