|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IfExp<C>
A representation of the model object 'If Exp'.
The following features are supported:
ExpressionsPackage.getIfExp()
Method Summary | |
---|---|
boolean |
checkBooleanCondition(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
self.condition.type.oclIsKindOf(PrimitiveType) and self.condition.type.name = 'Boolean' |
boolean |
checkIfType(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
self.type = thenExpression.type.commonSuperType(elseExpression.type) |
OCLExpression<C> |
getCondition()
Returns the value of the 'Condition' containment reference. |
OCLExpression<C> |
getElseExpression()
Returns the value of the 'Else Expression' containment reference. |
OCLExpression<C> |
getThenExpression()
Returns the value of the 'Then Expression' containment reference. |
void |
setCondition(OCLExpression<C> value)
Sets the value of the ' Condition ' containment reference. |
void |
setElseExpression(OCLExpression<C> value)
Sets the value of the ' Else Expression ' containment reference. |
void |
setThenExpression(OCLExpression<C> value)
Sets the value of the ' Then Expression ' containment reference. |
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement |
---|
getName, getType, setName, setType |
Methods inherited from interface org.eclipse.ocl.utilities.Visitable |
---|
accept |
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode |
---|
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
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 |
---|
OCLExpression<C> getCondition()
If the meaning of the 'Condition' containment reference isn't clear, there really should be more of a description here...
setCondition(OCLExpression)
,
ExpressionsPackage.getIfExp_Condition()
void setCondition(OCLExpression<C> value)
Condition
' containment reference.
value
- the new value of the 'Condition' containment reference.getCondition()
OCLExpression<C> getThenExpression()
If the meaning of the 'Then Expression' containment reference isn't clear, there really should be more of a description here...
setThenExpression(OCLExpression)
,
ExpressionsPackage.getIfExp_ThenExpression()
void setThenExpression(OCLExpression<C> value)
Then Expression
' containment reference.
value
- the new value of the 'Then Expression' containment reference.getThenExpression()
OCLExpression<C> getElseExpression()
If the meaning of the 'Else Expression' containment reference isn't clear, there really should be more of a description here...
setElseExpression(OCLExpression)
,
ExpressionsPackage.getIfExp_ElseExpression()
void setElseExpression(OCLExpression<C> value)
Else Expression
' containment reference.
value
- the new value of the 'Else Expression' containment reference.getElseExpression()
boolean checkBooleanCondition(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean checkIfType(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |