Interface Branch
- All Superinterfaces:
AbstractUserAction
,org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,Entity
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,NamedElement
,Notifier
,PCMBaseClass
,PCMClass
- All Known Implementing Classes:
BranchImpl
A representation of the model object 'Branch'.
A Branch splits the user flow with a XOR-semantic: one of the included BranchTransitions
is taken depending on the specified branch probabilities. Each BranchTransition contains a
nested ScenarioBehaviour, which a user executes once this branch transition is chosen. After
execution of the complete nested ScenarioBehaviour, the next action in the user flow after the
Branch is its successor action.
A constraint ensures that all branchProbabilities of the included BranchTransitions sum up to 1.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/emf/2002/Ecore constraints='allBranchProbabilitiesMustSumUpTo1'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/LPG allBranchProbabilitiesMustSumUpTo1='self->collect(branchTransitions_Branch.branchProbability)->sum() > 0.999 and self->collect(branchTransitions_Branch.branchProbability)->sum() <1.001'"
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Branch Transitions Branch' containment reference list.Methods inherited from interface org.palladiosimulator.pcm.usagemodel.AbstractUserAction
getPredecessor, getScenarioBehaviour_AbstractUserAction, getSuccessor, setPredecessor, setScenarioBehaviour_AbstractUserAction, setSuccessor
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
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 de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface org.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
-
Method Details
-
getBranchTransitions_Branch
EList<BranchTransition> getBranchTransitions_Branch()Returns the value of the 'Branch Transitions Branch' containment reference list. The list contents are of typeBranchTransition
. It is bidirectional and its opposite is 'Branch Branch Transition
'.- Returns:
- the value of the 'Branch Transitions Branch' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="branch_BranchTransition" containment="true" ordered="false"
-