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
    All Known Implementing Classes:
    BranchImpl

    public interface Branch
    extends AbstractUserAction
    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:
    UsagemodelPackage.getBranch()
    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 allBranchProbabilitiesMustSumUpTo1='self->collect(branchTransitions_Branch.branchProbability)->sum() > 0.999 and self->collect(branchTransitions_Branch.branchProbability)->sum() <1.001'"