Class AlternativeMeasuringPointChildrenSwitch
- java.lang.Object
-
- org.palladiosimulator.measurementsui.util.MeasurementsSwitch<Object[]>
-
- org.palladiosimulator.measurementsui.wizard.util.AlternativeMeasuringPointChildrenSwitch
-
public class AlternativeMeasuringPointChildrenSwitch extends MeasurementsSwitch<Object[]>
This is a switch to get all children of the alternative (hierarchical) measuringpoint view
-
-
Constructor Summary
Constructors Constructor Description AlternativeMeasuringPointChildrenSwitch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
caseBasicComponent(org.palladiosimulator.pcm.repository.BasicComponent basicComponent)
The case for basic components.Object[]
caseBranch(org.palladiosimulator.pcm.usagemodel.Branch branch)
The case for branches.Object[]
caseBranchTransition(org.palladiosimulator.pcm.usagemodel.BranchTransition branchTransition)
The case for branch transitions.Object[]
caseLoop(org.palladiosimulator.pcm.usagemodel.Loop loop)
The case for loops.Object[]
caseRepository(org.palladiosimulator.pcm.repository.Repository resourceContainer)
The case for repositories.Object[]
caseResourceContainer(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer)
The case for resource containers.Object[]
caseResourceDemandingSEFF(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF resourceDemandingSeff)
The case for resource demanding SEFFs.Object[]
caseResourceEnvironment(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment)
The case for resource environments.Object[]
caseScenarioBehaviour(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour)
The case for scenario behaviours.Object[]
caseSystem(org.palladiosimulator.pcm.system.System system)
The case for systems.Object[]
caseUsageModel(org.palladiosimulator.pcm.usagemodel.UsageModel usageModel)
The case for usage models.Object[]
caseUsageScenario(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario)
The case for usage scenarios.Object[]
defaultCase(EObject eObject)
The default case.-
Methods inherited from class org.palladiosimulator.measurementsui.util.MeasurementsSwitch
caseAssemblyContext, caseEntryLevelSystemCall, caseExternalCallAction, caseLinkingResource, caseMeasuringPoint, caseOperationSignature, casePassiveResource, caseProcessingResourceSpecification, caseRole, caseSubSystem, doSwitch
-
-
-
-
Method Detail
-
caseSystem
public Object[] caseSystem(org.palladiosimulator.pcm.system.System system)
Description copied from class:MeasurementsSwitch
The case for systems. You should override it and add your own logic before using the switch.- Overrides:
caseSystem
in classMeasurementsSwitch<Object[]>
- Parameters:
system
- the given system- Returns:
- T
-
caseResourceEnvironment
public Object[] caseResourceEnvironment(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment)
Description copied from class:MeasurementsSwitch
The case for resource environments. You should override it and add your own logic before using the switch.- Overrides:
caseResourceEnvironment
in classMeasurementsSwitch<Object[]>
- Parameters:
resourceEnvironment
- the given resource environment- Returns:
- T
-
caseResourceContainer
public Object[] caseResourceContainer(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer)
Description copied from class:MeasurementsSwitch
The case for resource containers. You should override it and add your own logic before using the switch.- Overrides:
caseResourceContainer
in classMeasurementsSwitch<Object[]>
- Parameters:
resourceContainer
- the given resource container- Returns:
- T
-
caseUsageModel
public Object[] caseUsageModel(org.palladiosimulator.pcm.usagemodel.UsageModel usageModel)
Description copied from class:MeasurementsSwitch
The case for usage models. You should override it and add your own logic before using the switch.- Overrides:
caseUsageModel
in classMeasurementsSwitch<Object[]>
- Parameters:
usageModel
- the given usage model- Returns:
- T
-
caseUsageScenario
public Object[] caseUsageScenario(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario)
Description copied from class:MeasurementsSwitch
The case for usage scenarios. You should override it and add your own logic before using the switch.- Overrides:
caseUsageScenario
in classMeasurementsSwitch<Object[]>
- Parameters:
usageScenario
- the given usage scenario- Returns:
- T
-
caseScenarioBehaviour
public Object[] caseScenarioBehaviour(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour)
Description copied from class:MeasurementsSwitch
The case for scenario behaviours. You should override it and add your own logic before using the switch.- Overrides:
caseScenarioBehaviour
in classMeasurementsSwitch<Object[]>
- Parameters:
scenarioBehaviour
- the given scenario behaviour- Returns:
- T
-
caseRepository
public Object[] caseRepository(org.palladiosimulator.pcm.repository.Repository resourceContainer)
Description copied from class:MeasurementsSwitch
The case for repositories. You should override it and add your own logic before using the switch.- Overrides:
caseRepository
in classMeasurementsSwitch<Object[]>
- Parameters:
resourceContainer
- the given repository- Returns:
- T
-
caseBasicComponent
public Object[] caseBasicComponent(org.palladiosimulator.pcm.repository.BasicComponent basicComponent)
Description copied from class:MeasurementsSwitch
The case for basic components. You should override it and add your own logic before using the switch.- Overrides:
caseBasicComponent
in classMeasurementsSwitch<Object[]>
- Parameters:
basicComponent
- the given basic component- Returns:
- T
-
caseResourceDemandingSEFF
public Object[] caseResourceDemandingSEFF(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF resourceDemandingSeff)
Description copied from class:MeasurementsSwitch
The case for resource demanding SEFFs. You should override it and add your own logic before using the switch.- Overrides:
caseResourceDemandingSEFF
in classMeasurementsSwitch<Object[]>
- Parameters:
resourceDemandingSeff
- the given resource demanding SEFF- Returns:
- T
-
caseBranch
public Object[] caseBranch(org.palladiosimulator.pcm.usagemodel.Branch branch)
Description copied from class:MeasurementsSwitch
The case for branches. You should override it and add your own logic before using the switch.- Overrides:
caseBranch
in classMeasurementsSwitch<Object[]>
- Parameters:
branch
- the given branch- Returns:
- T
-
caseBranchTransition
public Object[] caseBranchTransition(org.palladiosimulator.pcm.usagemodel.BranchTransition branchTransition)
Description copied from class:MeasurementsSwitch
The case for branch transitions. You should override it and add your own logic before using the switch.- Overrides:
caseBranchTransition
in classMeasurementsSwitch<Object[]>
- Parameters:
branchTransition
- the given branch transition- Returns:
- T
-
caseLoop
public Object[] caseLoop(org.palladiosimulator.pcm.usagemodel.Loop loop)
Description copied from class:MeasurementsSwitch
The case for loops. You should override it and add your own logic before using the switch.- Overrides:
caseLoop
in classMeasurementsSwitch<Object[]>
- Parameters:
loop
- the given loop- Returns:
- T
-
defaultCase
public Object[] defaultCase(EObject eObject)
Description copied from class:MeasurementsSwitch
The default case. You should override it and add your own logic before using the switch.- Overrides:
defaultCase
in classMeasurementsSwitch<Object[]>
- Parameters:
eObject
- the given EObject- Returns:
- T
-
-