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

public class specificSwitch<T> extends Switch<T>
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 Details

    • modelPackage

      protected static specificPackage 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

      protected boolean isSwitchFor(EPackage ePackage)
      Checks whether this is a switch for the given package.
      Specified by:
      isSwitchFor in class Switch<T>
      Parameters:
      ePackage - the package in question.
      Returns:
      whether this is a switch for the given package.
      Generated class or method.
    • doSwitch

      protected T doSwitch(int classifierID, EObject theEObject)
      Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
      Overrides:
      doSwitch in class Switch<T>
      Returns:
      the first non-null result returned by a caseXXX call.
      Generated class or method.
    • caseExchangeComponentRule

      public T caseExchangeComponentRule(ExchangeComponentRule object)
      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

      public T caseClassAsReferenceDegree(ClassAsReferenceDegree object)
      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

      public T caseClassDegree(ClassDegree object)
      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

      public T caseClassWithCopyDegree(ClassWithCopyDegree object)
      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

      public T caseContinuousRangeDegree(ContinuousRangeDegree object)
      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

      public T caseRangeDegree(RangeDegree object)
      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

      public T caseDataTypeDegree(DataTypeDegree object)
      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

      public T caseDiscreteDegree(DiscreteDegree object)
      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

      public T caseDiscreteRangeDegree(DiscreteRangeDegree object)
      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

      public T caseEnumDegree(EnumDegree object)
      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

      public T caseUnorderedDegree(UnorderedDegree object)
      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

      public T caseOrderedDataTypeDegree(OrderedDataTypeDegree object)
      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

      public T caseOrderedIntegerDegree(OrderedIntegerDegree object)
      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

      public T caseStringSetDegree(StringSetDegree object)
      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

      public T caseUnorderedPrimitiveDegree(UnorderedPrimitiveDegree object)
      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

      public T caseContinuousComponentParamDegree(ContinuousComponentParamDegree object)
      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

      public T caseContinuousProcessingRateDegree(ContinuousProcessingRateDegree object)
      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

      public T caseProcessingRateDegree(ProcessingRateDegree object)
      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

      public T caseProcessingResourceDegree(ProcessingResourceDegree object)
      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

      public T caseDiscreteComponentParamDegree(DiscreteComponentParamDegree object)
      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

      public T caseDiscreteProcessingRateDegree(DiscreteProcessingRateDegree object)
      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

      public T caseFeatureConfigDegree(FeatureConfigDegree object)
      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

      public T caseFeatureGroupDegree(FeatureGroupDegree object)
      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

      public T caseFeatureSubset(FeatureSubset object)
      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

      public T caseNumberOfCoresAsListDegree(NumberOfCoresAsListDegree object)
      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

      public T caseNumberOfCoresDegree(NumberOfCoresDegree object)
      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

      public T caseNumberOfCoresAsRangeDegree(NumberOfCoresAsRangeDegree object)
      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

      public T caseOptionalFeatureDegree(OptionalFeatureDegree object)
      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

      public T caseResourceContainerReplicationDegree(ResourceContainerReplicationDegree object)
      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

      public T caseResourceSelectionDegree(ResourceSelectionDegree object)
      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

      public T caseSchedulingPolicyDegree(SchedulingPolicyDegree object)
      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

      public T caseStringComponentParamDegree(StringComponentParamDegree object)
      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

      public T caseAllocationDegree(AllocationDegree object)
      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

      public T caseAssembledComponentDegree(AssembledComponentDegree object)
      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

      public T caseCapacityDegree(CapacityDegree object)
      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

      public T caseDegreeOfFreedomInstance(DegreeOfFreedomInstance object)
      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

      public T caseMonitoringDegree(MonitoringDegree object)
      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

      public T caseATNumberOfReplicaDegree(ATNumberOfReplicaDegree object)
      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

      public T caseFeatureCompletionDegree(FeatureCompletionDegree object)
      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

      public T caseFeatureDegree(FeatureDegree object)
      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

      public T caseIndicatorDegree(IndicatorDegree object)
      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

      public T caseMultipleInclusionDegree(MultipleInclusionDegree object)
      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

      public T caseAdvicePlacementDegree(AdvicePlacementDegree object)
      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

      public T caseComplementumVisnetisDegree(ComplementumVisnetisDegree object)
      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

      public T caseNamedElement(org.palladiosimulator.pcm.core.entity.NamedElement object)
      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

      public T defaultCase(EObject object)
      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 class Switch<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.