Class ConfigurationSwitch<T>

java.lang.Object
scheduler.configuration.util.ConfigurationSwitch<T>
Direct Known Subclasses:
QueueingConfigurationSwitch

public class ConfigurationSwitch<T> extends Object
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 ConfigurationPackage modelPackage
      The cached model package
      Generated class or method.
  • Constructor Details

    • ConfigurationSwitch

      public ConfigurationSwitch()
      Creates an instance of the switch.
      Generated class or method.
  • Method Details

    • doSwitch

      public T doSwitch(EObject theEObject)
      Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
      Returns:
      the first non-null result returned by a caseXXX call.
      Generated class or method.
    • doSwitch

      protected T doSwitch(EClass theEClass, EObject theEObject)
      Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
      Returns:
      the first non-null result returned by a caseXXX call.
      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.
      Returns:
      the first non-null result returned by a caseXXX call.
      Generated class or method.
    • caseDynamicPriorityBoostConfiguratioin

      public T caseDynamicPriorityBoostConfiguratioin(DynamicPriorityBoostConfiguratioin object)
      Returns the result of interpreting the object as an instance of 'Dynamic Priority Boost Configuratioin'. 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 'Dynamic Priority Boost Configuratioin'.
      See Also:
      Generated class or method.
    • casePriorityBoostConfiguration

      public T casePriorityBoostConfiguration(PriorityBoostConfiguration object)
      Returns the result of interpreting the object as an instance of 'Priority Boost Configuration'. 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 'Priority Boost Configuration'.
      See Also:
      Generated class or method.
    • caseLoadBalancing

      public T caseLoadBalancing(LoadBalancing object)
      Returns the result of interpreting the object as an instance of 'Load Balancing'. 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 'Load Balancing'.
      See Also:
      Generated class or method.
    • caseMultipleQueueConfiguration

      public T caseMultipleQueueConfiguration(MultipleQueueConfiguration object)
      Returns the result of interpreting the object as an instance of 'Multiple Queue Configuration'. 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 Queue Configuration'.
      See Also:
      Generated class or method.
    • caseQueueingConfiguration

      public T caseQueueingConfiguration(QueueingConfiguration object)
      Returns the result of interpreting the object as an instance of 'Queueing Configuration'. 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 'Queueing Configuration'.
      See Also:
      Generated class or method.
    • caseQuantumTimeSliceConfiguration

      public T caseQuantumTimeSliceConfiguration(QuantumTimeSliceConfiguration object)
      Returns the result of interpreting the object as an instance of 'Quantum Time Slice Configuration'. 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 'Quantum Time Slice Configuration'.
      See Also:
      Generated class or method.
    • caseTimeSliceConfiguration

      public T caseTimeSliceConfiguration(TimeSliceConfiguration object)
      Returns the result of interpreting the object as an instance of 'Time Slice Configuration'. 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 'Time Slice Configuration'.
      See Also:
      Generated class or method.
    • casePreemptionConfiguration

      public T casePreemptionConfiguration(PreemptionConfiguration object)
      Returns the result of interpreting the object as an instance of 'Preemption Configuration'. 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 'Preemption Configuration'.
      See Also:
      Generated class or method.
    • casePriorityConfiguration

      public T casePriorityConfiguration(PriorityConfiguration object)
      Returns the result of interpreting the object as an instance of 'Priority Configuration'. 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 'Priority Configuration'.
      See Also:
      Generated class or method.
    • casePriorityRange

      public T casePriorityRange(PriorityRange object)
      Returns the result of interpreting the object as an instance of 'Priority Range'. 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 'Priority Range'.
      See Also:
      Generated class or method.
    • casePriorityDependentTimeSliceConfiguration

      public T casePriorityDependentTimeSliceConfiguration(PriorityDependentTimeSliceConfiguration object)
      Returns the result of interpreting the object as an instance of 'Priority Dependent Time Slice Configuration'. 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 'Priority Dependent Time Slice Configuration'.
      See Also:
      Generated class or method.
    • caseActiveResourceConfiguration

      public T caseActiveResourceConfiguration(ActiveResourceConfiguration object)
      Returns the result of interpreting the object as an instance of 'Active Resource Configuration'. 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 'Active Resource Configuration'.
      See Also:
      Generated class or method.
    • casePassiveResourceConfiguration

      public T casePassiveResourceConfiguration(PassiveResourceConfiguration object)
      Returns the result of interpreting the object as an instance of 'Passive Resource Configuration'. 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 'Passive Resource Configuration'.
      See Also:
      Generated class or method.
    • caseStaticPriorityBoost

      public T caseStaticPriorityBoost(StaticPriorityBoost object)
      Returns the result of interpreting the object as an instance of 'Static Priority Boost'. 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 'Static Priority Boost'.
      See Also:
      Generated class or method.
    • caseProcessConfiguration

      public T caseProcessConfiguration(ProcessConfiguration object)
      Returns the result of interpreting the object as an instance of 'Process Configuration'. 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 'Process Configuration'.
      See Also:
      Generated class or method.
    • caseSingleQueueConfiguration

      public T caseSingleQueueConfiguration(SingleQueueConfiguration object)
      Returns the result of interpreting the object as an instance of 'Single Queue Configuration'. 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 'Single Queue Configuration'.
      See Also:
      Generated class or method.
    • caseStaticPriorityBoostConfiguration

      public T caseStaticPriorityBoostConfiguration(StaticPriorityBoostConfiguration object)
      Returns the result of interpreting the object as an instance of 'Static Priority Boost Configuration'. 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 'Static Priority Boost Configuration'.
      See Also:
      Generated class or method.
    • caseSchedulerConfiguration

      public T caseSchedulerConfiguration(SchedulerConfiguration object)
      Returns the result of interpreting the object as an instance of 'Scheduler Configuration'. 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 'Scheduler Configuration'.
      See Also:
      Generated class or method.
    • caseStarvationBoost

      public T caseStarvationBoost(StarvationBoost object)
      Returns the result of interpreting the object as an instance of 'Starvation Boost'. 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 'Starvation Boost'.
      See Also:
      Generated class or method.
    • caseIdentifier

      public T caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
      Returns the result of interpreting the object as an instance of 'Identifier'. 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 'Identifier'.
      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.
      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.