|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IfExp
A representation of the model object 'If Exp'.
The following features are supported:
PivotPackage.getIfExp()| 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. |
boolean |
validateConditionTypeIsBoolean(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The type of the condition of an if expression must be Boolean. |
| 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, getOwnedAnnotation, getOwnedRule, isStatic, setIsStatic, setName |
| Methods inherited from interface org.eclipse.ocl.examples.pivot.Element |
|---|
allOwnedElements, createOwnedComment, getETarget, getOwnedComment, validateNotOwnSelf |
| Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable |
|---|
accept, eClass |
| 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.domain.elements.DomainNamedElement |
|---|
getName |
| Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainExpression |
|---|
getType |
| Method Detail |
|---|
OCLExpression getCondition()
If the meaning of the 'Condition' containment reference isn't clear, there really should be more of a description here...
setCondition(OCLExpression),
PivotPackage.getIfExp_Condition()void setCondition(OCLExpression value)
Condition' containment reference.
value - the new value of the 'Condition' containment reference.getCondition()OCLExpression createCondition(org.eclipse.emf.ecore.EClass eClass)
OCLExpression and sets the 'Condition' containment reference.
eClass - The Ecore class of the OCLExpression to create.
OCLExpression.getCondition()OCLExpression getThenExpression()
If the meaning of the 'Then Expression' containment reference isn't clear, there really should be more of a description here...
setThenExpression(OCLExpression),
PivotPackage.getIfExp_ThenExpression()void setThenExpression(OCLExpression value)
Then Expression' containment reference.
value - the new value of the 'Then Expression' containment reference.getThenExpression()OCLExpression createThenExpression(org.eclipse.emf.ecore.EClass eClass)
OCLExpression and sets the 'Then Expression' containment reference.
eClass - The Ecore class of the OCLExpression to create.
OCLExpression.getThenExpression()OCLExpression getElseExpression()
If the meaning of the 'Else Expression' containment reference isn't clear, there really should be more of a description here...
setElseExpression(OCLExpression),
PivotPackage.getIfExp_ElseExpression()void setElseExpression(OCLExpression value)
Else Expression' containment reference.
value - the new value of the 'Else Expression' containment reference.getElseExpression()OCLExpression createElseExpression(org.eclipse.emf.ecore.EClass eClass)
OCLExpression and sets the 'Else Expression' containment reference.
eClass - The Ecore class of the OCLExpression to create.
OCLExpression.getElseExpression()
boolean validateConditionTypeIsBoolean(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||