org.eclipse.ocl.examples.pivot
Interface IfExp

All Superinterfaces:
DomainElement, DomainExpression, DomainNamedElement, DomainTypedElement, Element, org.eclipse.emf.ecore.EObject, 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

Method Summary
 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.
 boolean validateConditionTypeIsBoolean(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TypedElement
getType, isRequired, setIsRequired, setType
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
getName, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
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
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainTypedElement
getTypeId
 

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

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

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

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

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

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

validateConditionTypeIsBoolean

boolean validateConditionTypeIsBoolean(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       java.util.Map<java.lang.Object,java.lang.Object> context)

Generated