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
Model

Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
EMPTY_LIST
 
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, 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

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
Model
containment="true" required="true"

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
Model
containment="true" required="true"

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
Model
containment="true" required="true"

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