Class specificSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
de.uka.ipd.sdq.pcm.designdecision.specific.util.specificSwitch<T>
- Direct Known Subclasses:
FixSpecificDesignDecisionReferenceSwitch
The Switch for the model's inheritance hierarchy. It supports the
call
doSwitch(object)
to invoke the caseXXX
method for
each class of the model, starting with the actual class of the object and proceeding up the
inheritance hierarchy until a non-null result is returned, which is the result of the switch.
- See Also:
- Generated class or method.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Advice Placement Degree'.caseAllocationDegree
(AllocationDegree object) Returns the result of interpreting the object as an instance of 'Allocation Degree'.Returns the result of interpreting the object as an instance of 'Assembled Component Degree'.Returns the result of interpreting the object as an instance of 'AT Number Of Replica Degree'.caseCapacityDegree
(CapacityDegree object) Returns the result of interpreting the object as an instance of 'Capacity Degree'.Returns the result of interpreting the object as an instance of 'Class As Reference Degree'.caseClassDegree
(ClassDegree object) Returns the result of interpreting the object as an instance of 'Class Degree'.Returns the result of interpreting the object as an instance of 'Class With Copy Degree'.Returns the result of interpreting the object as an instance of 'Complementum Visnetis Degree'.Returns the result of interpreting the object as an instance of 'Continuous Component Param Degree'.Returns the result of interpreting the object as an instance of 'Continuous Processing Rate Degree'.Returns the result of interpreting the object as an instance of 'Continuous Range Degree'.caseDataTypeDegree
(DataTypeDegree object) Returns the result of interpreting the object as an instance of 'Data Type Degree'.Returns the result of interpreting the object as an instance of 'Degree Of Freedom Instance'.Returns the result of interpreting the object as an instance of 'Discrete Component Param Degree'.caseDiscreteDegree
(DiscreteDegree object) Returns the result of interpreting the object as an instance of 'Discrete Degree'.Returns the result of interpreting the object as an instance of 'Discrete Processing Rate Degree'.Returns the result of interpreting the object as an instance of 'Discrete Range Degree'.caseEnumDegree
(EnumDegree object) Returns the result of interpreting the object as an instance of 'Enum Degree'.Returns the result of interpreting the object as an instance of 'Exchange Component Rule'.Returns the result of interpreting the object as an instance of 'Feature Completion Degree'.Returns the result of interpreting the object as an instance of 'Feature Config Degree'.caseFeatureDegree
(FeatureDegree object) Returns the result of interpreting the object as an instance of 'Feature Degree'.Returns the result of interpreting the object as an instance of 'Feature Group Degree'.caseFeatureSubset
(FeatureSubset object) Returns the result of interpreting the object as an instance of 'Feature Subset'.caseIndicatorDegree
(IndicatorDegree object) Returns the result of interpreting the object as an instance of 'Indicator Degree'.caseMonitoringDegree
(MonitoringDegree object) Returns the result of interpreting the object as an instance of 'Monitoring Degree'.Returns the result of interpreting the object as an instance of 'Multiple Inclusion Degree'.caseNamedElement
(org.palladiosimulator.pcm.core.entity.NamedElement object) Returns the result of interpreting the object as an instance of 'Named Element'.Returns the result of interpreting the object as an instance of 'Number Of Cores As List Degree'.Returns the result of interpreting the object as an instance of 'Number Of Cores As Range Degree'.Returns the result of interpreting the object as an instance of 'Number Of Cores Degree'.Returns the result of interpreting the object as an instance of 'Optional Feature Degree'.Returns the result of interpreting the object as an instance of 'Ordered Data Type Degree'.Returns the result of interpreting the object as an instance of 'Ordered Integer Degree'.Returns the result of interpreting the object as an instance of 'Processing Rate Degree'.Returns the result of interpreting the object as an instance of 'Processing Resource Degree'.caseRangeDegree
(RangeDegree object) Returns the result of interpreting the object as an instance of 'Range Degree'.Returns the result of interpreting the object as an instance of 'Resource Container Replication Degree'.caseResourceContainerReplicationDegreeWithComponentChange
(ResourceContainerReplicationDegreeWithComponentChange object) Returns the result of interpreting the object as an instance of 'Resource Container Replication Degree With Component Change'.Returns the result of interpreting the object as an instance of 'Resource Selection Degree'.Returns the result of interpreting the object as an instance of 'Scheduling Policy Degree'.Returns the result of interpreting the object as an instance of 'String Component Param Degree'.caseStringSetDegree
(StringSetDegree object) Returns the result of interpreting the object as an instance of 'String Set Degree'.caseUnorderedDegree
(UnorderedDegree object) Returns the result of interpreting the object as an instance of 'Unordered Degree'.Returns the result of interpreting the object as an instance of 'Unordered Primitive Degree'.defaultCase
(EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor
(EPackage ePackage) Checks whether this is a switch for the given package.
-
Field Details
-
modelPackage
The cached model package- Generated class or method.
-
-
Constructor Details
-
specificSwitch
public specificSwitch()Creates an instance of the switch.- Generated class or method.
-
-
Method Details
-
isSwitchFor
Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classSwitch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
- Generated class or method.
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result. -
caseExchangeComponentRule
Returns the result of interpreting the object as an instance of 'Exchange Component Rule'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Exchange Component Rule'.
- See Also:
- Generated class or method.
-
caseClassAsReferenceDegree
Returns the result of interpreting the object as an instance of 'Class As Reference Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Class As Reference Degree'.
- See Also:
- Generated class or method.
-
caseClassDegree
Returns the result of interpreting the object as an instance of 'Class Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Class Degree'.
- See Also:
- Generated class or method.
-
caseClassWithCopyDegree
Returns the result of interpreting the object as an instance of 'Class With Copy Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Class With Copy Degree'.
- See Also:
- Generated class or method.
-
caseContinuousRangeDegree
Returns the result of interpreting the object as an instance of 'Continuous Range Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Continuous Range Degree'.
- See Also:
- Generated class or method.
-
caseRangeDegree
Returns the result of interpreting the object as an instance of 'Range Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Range Degree'.
- See Also:
- Generated class or method.
-
caseDataTypeDegree
Returns the result of interpreting the object as an instance of 'Data Type Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Data Type Degree'.
- See Also:
- Generated class or method.
-
caseDiscreteDegree
Returns the result of interpreting the object as an instance of 'Discrete Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Discrete Degree'.
- See Also:
- Generated class or method.
-
caseDiscreteRangeDegree
Returns the result of interpreting the object as an instance of 'Discrete Range Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Discrete Range Degree'.
- See Also:
- Generated class or method.
-
caseEnumDegree
Returns the result of interpreting the object as an instance of 'Enum Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Enum Degree'.
- See Also:
- Generated class or method.
-
caseUnorderedDegree
Returns the result of interpreting the object as an instance of 'Unordered Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unordered Degree'.
- See Also:
- Generated class or method.
-
caseOrderedDataTypeDegree
Returns the result of interpreting the object as an instance of 'Ordered Data Type Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Ordered Data Type Degree'.
- See Also:
- Generated class or method.
-
caseOrderedIntegerDegree
Returns the result of interpreting the object as an instance of 'Ordered Integer Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Ordered Integer Degree'.
- See Also:
- Generated class or method.
-
caseStringSetDegree
Returns the result of interpreting the object as an instance of 'String Set Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'String Set Degree'.
- See Also:
- Generated class or method.
-
caseUnorderedPrimitiveDegree
Returns the result of interpreting the object as an instance of 'Unordered Primitive Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Unordered Primitive Degree'.
- See Also:
- Generated class or method.
-
caseContinuousComponentParamDegree
Returns the result of interpreting the object as an instance of 'Continuous Component Param Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Continuous Component Param Degree'.
- See Also:
- Generated class or method.
-
caseContinuousProcessingRateDegree
Returns the result of interpreting the object as an instance of 'Continuous Processing Rate Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Continuous Processing Rate Degree'.
- See Also:
- Generated class or method.
-
caseProcessingRateDegree
Returns the result of interpreting the object as an instance of 'Processing Rate Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Processing Rate Degree'.
- See Also:
- Generated class or method.
-
caseProcessingResourceDegree
Returns the result of interpreting the object as an instance of 'Processing Resource Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Processing Resource Degree'.
- See Also:
- Generated class or method.
-
caseDiscreteComponentParamDegree
Returns the result of interpreting the object as an instance of 'Discrete Component Param Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Discrete Component Param Degree'.
- See Also:
- Generated class or method.
-
caseDiscreteProcessingRateDegree
Returns the result of interpreting the object as an instance of 'Discrete Processing Rate Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Discrete Processing Rate Degree'.
- See Also:
- Generated class or method.
-
caseFeatureConfigDegree
Returns the result of interpreting the object as an instance of 'Feature Config Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Feature Config Degree'.
- See Also:
- Generated class or method.
-
caseFeatureGroupDegree
Returns the result of interpreting the object as an instance of 'Feature Group Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Feature Group Degree'.
- See Also:
- Generated class or method.
-
caseFeatureSubset
Returns the result of interpreting the object as an instance of 'Feature Subset'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Feature Subset'.
- See Also:
- Generated class or method.
-
caseNumberOfCoresAsListDegree
Returns the result of interpreting the object as an instance of 'Number Of Cores As List Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Number Of Cores As List Degree'.
- See Also:
- Generated class or method.
-
caseNumberOfCoresDegree
Returns the result of interpreting the object as an instance of 'Number Of Cores Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Number Of Cores Degree'.
- See Also:
- Generated class or method.
-
caseNumberOfCoresAsRangeDegree
Returns the result of interpreting the object as an instance of 'Number Of Cores As Range Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Number Of Cores As Range Degree'.
- See Also:
- Generated class or method.
-
caseOptionalFeatureDegree
Returns the result of interpreting the object as an instance of 'Optional Feature Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Optional Feature Degree'.
- See Also:
- Generated class or method.
-
caseResourceContainerReplicationDegree
Returns the result of interpreting the object as an instance of 'Resource Container Replication Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Resource Container Replication Degree'.
- See Also:
- Generated class or method.
-
caseResourceContainerReplicationDegreeWithComponentChange
public T caseResourceContainerReplicationDegreeWithComponentChange(ResourceContainerReplicationDegreeWithComponentChange object) Returns the result of interpreting the object as an instance of 'Resource Container Replication Degree With Component Change'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Resource Container Replication Degree With Component Change'.
- See Also:
- Generated class or method.
-
caseResourceSelectionDegree
Returns the result of interpreting the object as an instance of 'Resource Selection Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Resource Selection Degree'.
- See Also:
- Generated class or method.
-
caseSchedulingPolicyDegree
Returns the result of interpreting the object as an instance of 'Scheduling Policy Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Scheduling Policy Degree'.
- See Also:
- Generated class or method.
-
caseStringComponentParamDegree
Returns the result of interpreting the object as an instance of 'String Component Param Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'String Component Param Degree'.
- See Also:
- Generated class or method.
-
caseAllocationDegree
Returns the result of interpreting the object as an instance of 'Allocation Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Allocation Degree'.
- See Also:
- Generated class or method.
-
caseAssembledComponentDegree
Returns the result of interpreting the object as an instance of 'Assembled Component Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Assembled Component Degree'.
- See Also:
- Generated class or method.
-
caseCapacityDegree
Returns the result of interpreting the object as an instance of 'Capacity Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Capacity Degree'.
- See Also:
- Generated class or method.
-
caseDegreeOfFreedomInstance
Returns the result of interpreting the object as an instance of 'Degree Of Freedom Instance'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Degree Of Freedom Instance'.
- See Also:
- Generated class or method.
-
caseMonitoringDegree
Returns the result of interpreting the object as an instance of 'Monitoring Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Monitoring Degree'.
- See Also:
- Generated class or method.
-
caseATNumberOfReplicaDegree
Returns the result of interpreting the object as an instance of 'AT Number Of Replica Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'AT Number Of Replica Degree'.
- See Also:
- Generated class or method.
-
caseFeatureCompletionDegree
Returns the result of interpreting the object as an instance of 'Feature Completion Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Feature Completion Degree'.
- See Also:
- Generated class or method.
-
caseFeatureDegree
Returns the result of interpreting the object as an instance of 'Feature Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Feature Degree'.
- See Also:
- Generated class or method.
-
caseIndicatorDegree
Returns the result of interpreting the object as an instance of 'Indicator Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Indicator Degree'.
- See Also:
- Generated class or method.
-
caseMultipleInclusionDegree
Returns the result of interpreting the object as an instance of 'Multiple Inclusion Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Multiple Inclusion Degree'.
- See Also:
- Generated class or method.
-
caseAdvicePlacementDegree
Returns the result of interpreting the object as an instance of 'Advice Placement Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Advice Placement Degree'.
- See Also:
- Generated class or method.
-
caseComplementumVisnetisDegree
Returns the result of interpreting the object as an instance of 'Complementum Visnetis Degree'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Complementum Visnetis Degree'.
- See Also:
- Generated class or method.
-
caseNamedElement
Returns the result of interpreting the object as an instance of 'Named Element'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Named Element'.
- See Also:
- Generated class or method.
-
defaultCase
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Overrides:
defaultCase
in classSwitch<T>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
- Generated class or method.
-