Class StatisticsSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
kieker.model.analysismodel.statistics.util.StatisticsSwitch<T>

public class StatisticsSwitch<T> extends org.eclipse.emf.ecore.util.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:
  • Field Details

    • modelPackage

      protected static StatisticsPackage modelPackage
      The cached model package
      Generated:
  • Constructor Details

    • StatisticsSwitch

      public StatisticsSwitch()
      Creates an instance of the switch.
      Generated:
  • Method Details

    • isSwitchFor

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

      protected T doSwitch(int classifierID, org.eclipse.emf.ecore.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 org.eclipse.emf.ecore.util.Switch<T>
      Returns:
      the first non-null result returned by a caseXXX call.
      Generated:
    • caseStatisticRecord

      public T caseStatisticRecord(StatisticRecord object)
      Returns the result of interpreting the object as an instance of 'Statistic Record'. 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 'Statistic Record'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseEPropertyTypeToValue

      public T caseEPropertyTypeToValue(Map.Entry<String,Object> object)
      Returns the result of interpreting the object as an instance of 'EProperty Type To Value'. 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 'EProperty Type To Value'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseMeasurement

      public T caseMeasurement(Measurement object)
      Returns the result of interpreting the object as an instance of 'Measurement'. 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 'Measurement'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseScalarMeasurement

      public T caseScalarMeasurement(ScalarMeasurement object)
      Returns the result of interpreting the object as an instance of 'Scalar Measurement'. 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 'Scalar Measurement'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseVectorMeasurement

      public T caseVectorMeasurement(VectorMeasurement object)
      Returns the result of interpreting the object as an instance of 'Vector Measurement'. 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 'Vector Measurement'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseIntMeasurement

      public T caseIntMeasurement(IntMeasurement object)
      Returns the result of interpreting the object as an instance of 'Int Measurement'. 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 'Int Measurement'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseLongMeasurement

      public T caseLongMeasurement(LongMeasurement object)
      Returns the result of interpreting the object as an instance of 'Long Measurement'. 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 'Long Measurement'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseFloatMeasurement

      public T caseFloatMeasurement(FloatMeasurement object)
      Returns the result of interpreting the object as an instance of 'Float Measurement'. 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 'Float Measurement'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseDoubleMeasurement

      public T caseDoubleMeasurement(DoubleMeasurement object)
      Returns the result of interpreting the object as an instance of 'Double Measurement'. 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 'Double Measurement'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseUnit

      public T caseUnit(Unit object)
      Returns the result of interpreting the object as an instance of 'Unit'. 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 'Unit'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseComposedUnit

      public T caseComposedUnit(ComposedUnit object)
      Returns the result of interpreting the object as an instance of 'Composed Unit'. 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 'Composed Unit'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSimpleUnit

      public T caseSimpleUnit(SimpleUnit object)
      Returns the result of interpreting the object as an instance of 'Simple Unit'. 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 'Simple Unit'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseSIUnit

      public T caseSIUnit(SIUnit object)
      Returns the result of interpreting the object as an instance of 'SI Unit'. 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 'SI Unit'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseCustomUnit

      public T caseCustomUnit(CustomUnit object)
      Returns the result of interpreting the object as an instance of 'Custom Unit'. 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 'Custom Unit'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseStatisticsModel

      public T caseStatisticsModel(StatisticsModel object)
      Returns the result of interpreting the object as an instance of 'Model'. 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 'Model'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • caseEObjectToStatisticsMapEntry

      public T caseEObjectToStatisticsMapEntry(Map.Entry<org.eclipse.emf.ecore.EObject,StatisticRecord> object)
      Returns the result of interpreting the object as an instance of 'EObject To Statistics Map Entry'. 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 'EObject To Statistics Map Entry'.
      See Also:
      • doSwitch(EObject)
      Generated:
    • defaultCase

      public T defaultCase(org.eclipse.emf.ecore.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 org.eclipse.emf.ecore.util.Switch<T>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'EObject'.
      See Also:
      • Switch.doSwitch(org.eclipse.emf.ecore.EObject)
      Generated: