org.eclipse.ocl.examples.pivot
Interface IfExp

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, MonikeredElement, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, OclExpression, PivotObject, TypedElement, Visitable
All Known Implementing Classes:
IfExpImpl

public interface IfExp
extends OclExpression

A representation of the model object 'If Exp'.

The following features are supported:

See Also:
PivotPackage.getIfExp()
Generated
Model

Method Summary
 OclExpression createCondition(org.eclipse.emf.ecore.EClass eClass)
          Creates a new OclExpression and sets the 'Condition' containment reference.
 OclExpression createElseExpression(org.eclipse.emf.ecore.EClass eClass)
          Creates a new OclExpression and sets the 'Else Expression' containment reference.
 OclExpression createThenExpression(org.eclipse.emf.ecore.EClass eClass)
          Creates a new OclExpression and sets the 'Then Expression' containment reference.
 OclExpression getCondition()
          Returns the value of the 'Condition' containment reference.
 OclExpression getElseExpression()
          Returns the value of the 'Else Expression' containment reference.
 OclExpression getThenExpression()
          Returns the value of the 'Then Expression' containment reference.
 void setCondition(OclExpression value)
          Sets the value of the 'Condition' containment reference.
 void setElseExpression(OclExpression value)
          Sets the value of the 'Else Expression' containment reference.
 void setThenExpression(OclExpression value)
          Sets the value of the 'Then Expression' containment reference.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TypedElement
getType, setType
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
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
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 

Method Detail

getCondition

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

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

Returns:
the value of the 'Condition' containment reference.
See Also:
setCondition(OclExpression), PivotPackage.getIfExp_Condition()
Generated
Model
containment="true" required="true" ordered="false"

setCondition

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

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

createCondition

OclExpression createCondition(org.eclipse.emf.ecore.EClass eClass)
Creates a new OclExpression and sets the 'Condition' containment reference.

Parameters:
eClass - The Ecore class of the OclExpression to create.
Returns:
The new OclExpression.
See Also:
getCondition()
Generated

getThenExpression

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

If the meaning of the 'Then Expression' containment 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(OclExpression), PivotPackage.getIfExp_ThenExpression()
Generated
Model
containment="true" required="true" ordered="false"

setThenExpression

void setThenExpression(OclExpression 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

createThenExpression

OclExpression createThenExpression(org.eclipse.emf.ecore.EClass eClass)
Creates a new OclExpression and sets the 'Then Expression' containment reference.

Parameters:
eClass - The Ecore class of the OclExpression to create.
Returns:
The new OclExpression.
See Also:
getThenExpression()
Generated

getElseExpression

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

If the meaning of the 'Else Expression' containment 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(OclExpression), PivotPackage.getIfExp_ElseExpression()
Generated
Model
containment="true" required="true" ordered="false"

setElseExpression

void setElseExpression(OclExpression 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

createElseExpression

OclExpression createElseExpression(org.eclipse.emf.ecore.EClass eClass)
Creates a new OclExpression and sets the 'Else Expression' containment reference.

Parameters:
eClass - The Ecore class of the OclExpression to create.
Returns:
The new OclExpression.
See Also:
getElseExpression()
Generated