Class BranchTransitionAdapter
java.lang.Object
org.palladiosimulator.protocom.model.ModelAdapter<org.palladiosimulator.pcm.usagemodel.BranchTransition>
org.palladiosimulator.protocom.model.usage.BranchTransitionAdapter
public class BranchTransitionAdapter
extends ModelAdapter<org.palladiosimulator.pcm.usagemodel.BranchTransition>
Adapter class for PCM BranchTransition entities.
-
Field Summary
Fields inherited from class org.palladiosimulator.protocom.model.ModelAdapter
entity
-
Constructor Summary
ConstructorDescriptionBranchTransitionAdapter
(org.palladiosimulator.pcm.usagemodel.BranchTransition entity) -
Method Summary
Modifier and TypeMethodDescriptiondouble
Gets the probability of the branch.getStart()
Gets the start actions of the branch.Methods inherited from class org.palladiosimulator.protocom.model.ModelAdapter
getBasePackageName, getEntity, getName, getSafeName, getSafeName, safeSpecification
-
Constructor Details
-
BranchTransitionAdapter
public BranchTransitionAdapter(org.palladiosimulator.pcm.usagemodel.BranchTransition entity)
-
-
Method Details
-
getStart
Gets the start actions of the branch.- Returns:
- an adapter for the start action
-
getProbability
public double getProbability()Gets the probability of the branch.- Returns:
- the probability of the branch
-