Class DlimSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
tools.descartes.dlim.util.DlimSwitch<T>

public class DlimSwitch<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 DlimPackage modelPackage
      The cached model package
      Generated class or method.
  • Constructor Details

    • DlimSwitch

      public DlimSwitch()
      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>
      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.
    • caseSequence

      public T caseSequence(Sequence object)
      Returns the result of interpreting the object as an instance of 'Sequence'. 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 'Sequence'.
      See Also:
      Generated class or method.
    • caseCombinator

      public T caseCombinator(Combinator object)
      Returns the result of interpreting the object as an instance of 'Combinator'. 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 'Combinator'.
      See Also:
      Generated class or method.
    • caseTimeDependentFunctionContainer

      public T caseTimeDependentFunctionContainer(TimeDependentFunctionContainer object)
      Returns the result of interpreting the object as an instance of 'Time Dependent Function Container'. 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 Dependent Function Container'.
      See Also:
      Generated class or method.
    • caseFunction

      public T caseFunction(Function object)
      Returns the result of interpreting the object as an instance of 'Function'. 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 'Function'.
      See Also:
      Generated class or method.
    • caseSeasonal

      public T caseSeasonal(Seasonal object)
      Returns the result of interpreting the object as an instance of 'Seasonal'. 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 'Seasonal'.
      See Also:
      Generated class or method.
    • caseNoise

      public T caseNoise(Noise object)
      Returns the result of interpreting the object as an instance of 'Noise'. 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 'Noise'.
      See Also:
      Generated class or method.
    • caseUniformNoise

      public T caseUniformNoise(UniformNoise object)
      Returns the result of interpreting the object as an instance of 'Uniform Noise'. 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 'Uniform Noise'.
      See Also:
      Generated class or method.
    • caseNormalNoise

      public T caseNormalNoise(NormalNoise object)
      Returns the result of interpreting the object as an instance of 'Normal Noise'. 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 'Normal Noise'.
      See Also:
      Generated class or method.
    • caseBurst

      public T caseBurst(Burst object)
      Returns the result of interpreting the object as an instance of 'Burst'. 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 'Burst'.
      See Also:
      Generated class or method.
    • caseTrend

      public T caseTrend(Trend object)
      Returns the result of interpreting the object as an instance of 'Trend'. 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 'Trend'.
      See Also:
      Generated class or method.
    • caseConstant

      public T caseConstant(Constant object)
      Returns the result of interpreting the object as an instance of 'Constant'. 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 'Constant'.
      See Also:
      Generated class or method.
    • caseSin

      public T caseSin(Sin object)
      Returns the result of interpreting the object as an instance of ' Sin'. 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 ' Sin'.
      See Also:
      Generated class or method.
    • caseExponentialIncreaseAndDecline

      public T caseExponentialIncreaseAndDecline(ExponentialIncreaseAndDecline object)
      Returns the result of interpreting the object as an instance of 'Exponential Increase And Decline'. 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 'Exponential Increase And Decline'.
      See Also:
      Generated class or method.
    • caseExponentialIncreaseLogarithmicDecline

      public T caseExponentialIncreaseLogarithmicDecline(ExponentialIncreaseLogarithmicDecline object)
      Returns the result of interpreting the object as an instance of 'Exponential Increase Logarithmic Decline'. 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 'Exponential Increase Logarithmic Decline'.
      See Also:
      Generated class or method.
    • caseLinearIncreaseAndDecline

      public T caseLinearIncreaseAndDecline(LinearIncreaseAndDecline object)
      Returns the result of interpreting the object as an instance of 'Linear Increase And Decline'. 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 'Linear Increase And Decline'.
      See Also:
      Generated class or method.
    • caseAbsoluteSin

      public T caseAbsoluteSin(AbsoluteSin object)
      Returns the result of interpreting the object as an instance of 'Absolute Sin'. 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 'Absolute Sin'.
      See Also:
      Generated class or method.
    • caseLinearTrend

      public T caseLinearTrend(LinearTrend object)
      Returns the result of interpreting the object as an instance of 'Linear Trend'. 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 'Linear Trend'.
      See Also:
      Generated class or method.
    • caseExponentialTrend

      public T caseExponentialTrend(ExponentialTrend object)
      Returns the result of interpreting the object as an instance of 'Exponential Trend'. 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 'Exponential Trend'.
      See Also:
      Generated class or method.
    • caseLogarithmicTrend

      public T caseLogarithmicTrend(LogarithmicTrend object)
      Returns the result of interpreting the object as an instance of 'Logarithmic Trend'. 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 'Logarithmic Trend'.
      See Also:
      Generated class or method.
    • caseSinTrend

      public T caseSinTrend(SinTrend object)
      Returns the result of interpreting the object as an instance of 'Sin Trend'. 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 'Sin Trend'.
      See Also:
      Generated class or method.
    • caseReferenceClockObject

      public T caseReferenceClockObject(ReferenceClockObject object)
      Returns the result of interpreting the object as an instance of 'Reference Clock Object'. 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 'Reference Clock Object'.
      See Also:
      Generated class or method.
    • caseArrivalRatesFromFile

      public T caseArrivalRatesFromFile(ArrivalRatesFromFile object)
      Returns the result of interpreting the object as an instance of 'Arrival Rates From File'. 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 'Arrival Rates From File'.
      See Also:
      Generated class or method.
    • caseAbsoluteValueFunction

      public T caseAbsoluteValueFunction(AbsoluteValueFunction object)
      Returns the result of interpreting the object as an instance of 'Absolute Value Function'. 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 'Absolute Value Function'.
      See Also:
      Generated class or method.
    • caseUnivariateFunction

      public T caseUnivariateFunction(UnivariateFunction object)
      Returns the result of interpreting the object as an instance of 'Univariate Function'. 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 'Univariate Function'.
      See Also:
      Generated class or method.
    • casePolynomial

      public T casePolynomial(Polynomial object)
      Returns the result of interpreting the object as an instance of 'Polynomial'. 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 'Polynomial'.
      See Also:
      Generated class or method.
    • casePolynomialFactor

      public T casePolynomialFactor(PolynomialFactor object)
      Returns the result of interpreting the object as an instance of 'Polynomial Factor'. 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 'Polynomial Factor'.
      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.