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

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

public interface CGIfExp
extends CGValuedElement

A representation of the model object 'CG If Exp'.

The following features are supported:

See Also:
CGModelPackage.getCGIfExp()
Generated

Method Summary
 CGValuedElement getCondition()
          Returns the value of the 'Condition' containment reference.
 CGValuedElement getElseExpression()
          Returns the value of the 'Else Expression' containment reference.
 CGValuedElement getThenExpression()
          Returns the value of the 'Then Expression' containment reference.
 void setCondition(CGValuedElement value)
          Sets the value of the 'Condition' containment reference.
 void setElseExpression(CGValuedElement value)
          Sets the value of the 'Else Expression' containment reference.
 void setThenExpression(CGValuedElement value)
          Sets the value of the 'Then Expression' containment 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

getCondition

CGValuedElement getCondition()
Returns the value of the 'Condition' containment reference.

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

Returns:
the value of the 'Condition' containment reference.
See Also:
setCondition(CGValuedElement), CGModelPackage.getCGIfExp_Condition()
Generated

setCondition

void setCondition(CGValuedElement value)
Sets the value of the 'Condition' containment reference.

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

getThenExpression

CGValuedElement getThenExpression()
Returns the value of the 'Then Expression' containment reference.

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

Returns:
the value of the 'Then Expression' containment reference.
See Also:
setThenExpression(CGValuedElement), CGModelPackage.getCGIfExp_ThenExpression()
Generated

setThenExpression

void setThenExpression(CGValuedElement value)
Sets the value of the 'Then Expression' containment reference.

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

getElseExpression

CGValuedElement getElseExpression()
Returns the value of the 'Else Expression' containment reference.

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

Returns:
the value of the 'Else Expression' containment reference.
See Also:
setElseExpression(CGValuedElement), CGModelPackage.getCGIfExp_ElseExpression()
Generated

setElseExpression

void setElseExpression(CGValuedElement value)
Sets the value of the 'Else Expression' containment reference.

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