Class DcsSwitch<T>


  • public class DcsSwitch<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:
    DcsPackage
    • Field Detail

      • modelPackage

        protected static DcsPackage modelPackage
        The cached model package
    • Constructor Detail

      • DcsSwitch

        public DcsSwitch()
        Creates an instance of the switch.
    • Method Detail

      • 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.
      • 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.
      • caseParameterValues

        public T caseParameterValues​(ParameterValues object)
        Returns the result of interpreting the object as an instance of 'Parameter Values'. 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 'Parameter Values'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionParameterValue

        public T caseDataCompositionParameterValue​(DataCompositionParameterValue object)
        Returns the result of interpreting the object as an instance of 'Data Composition Parameter 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 'Data Composition Parameter Value'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionParameter

        public T caseDataCompositionParameter​(DataCompositionParameter object)
        Returns the result of interpreting the object as an instance of 'Data Composition Parameter'. 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 Composition Parameter'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionField

        public T caseDataCompositionField​(DataCompositionField object)
        Returns the result of interpreting the object as an instance of 'Data Composition Field'. 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 Composition Field'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionID

        public T caseDataCompositionID​(DataCompositionID object)
        Returns the result of interpreting the object as an instance of 'Data Composition ID'. 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 Composition ID'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionAppearance

        public T caseDataCompositionAppearance​(DataCompositionAppearance object)
        Returns the result of interpreting the object as an instance of 'Data Composition Appearance'. 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 Composition Appearance'.
        See Also:
        doSwitch(EObject)
      • caseDesignTimeValue

        public T caseDesignTimeValue​(DesignTimeValue object)
        Returns the result of interpreting the object as an instance of 'Design Time 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 'Design Time Value'.
        See Also:
        doSwitch(EObject)
      • caseDesignTimeValueValue

        public T caseDesignTimeValueValue​(DesignTimeValueValue object)
        Returns the result of interpreting the object as an instance of 'Design Time Value 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 'Design Time Value Value'.
        See Also:
        doSwitch(EObject)
      • caseInputParameters

        public T caseInputParameters​(InputParameters object)
        Returns the result of interpreting the object as an instance of 'Input Parameters'. 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 'Input Parameters'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionTypeLink

        public T caseDataCompositionTypeLink​(DataCompositionTypeLink object)
        Returns the result of interpreting the object as an instance of 'Data Composition Type Link'. 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 Composition Type Link'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionChoiceParameterLink

        public T caseDataCompositionChoiceParameterLink​(DataCompositionChoiceParameterLink object)
        Returns the result of interpreting the object as an instance of 'Data Composition Choice Parameter Link'. 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 Composition Choice Parameter Link'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionChoiceParameterLinks

        public T caseDataCompositionChoiceParameterLinks​(DataCompositionChoiceParameterLinks object)
        Returns the result of interpreting the object as an instance of 'Data Composition Choice Parameter Links'. 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 Composition Choice Parameter Links'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionChoiceParameter

        public T caseDataCompositionChoiceParameter​(DataCompositionChoiceParameter object)
        Returns the result of interpreting the object as an instance of 'Data Composition Choice Parameter'. 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 Composition Choice Parameter'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionChoiceParameters

        public T caseDataCompositionChoiceParameters​(DataCompositionChoiceParameters object)
        Returns the result of interpreting the object as an instance of 'Data Composition Choice Parameters'. 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 Composition Choice Parameters'.
        See Also:
        doSwitch(EObject)
      • caseLocalString

        public T caseLocalString​(LocalString object)
        Returns the result of interpreting the object as an instance of 'Local String'. 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 'Local String'.
        See Also:
        doSwitch(EObject)
      • casePresentation

        public T casePresentation​(Presentation object)
        Returns the result of interpreting the object as an instance of 'Presentation'. 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 'Presentation'.
        See Also:
        doSwitch(EObject)
      • caseChartScaleValue

        public T caseChartScaleValue​(ChartScaleValue object)
        Returns the result of interpreting the object as an instance of 'Chart Scale 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 'Chart Scale Value'.
        See Also:
        doSwitch(EObject)
      • caseChartColorPaletteDescriptionValue

        public T caseChartColorPaletteDescriptionValue​(ChartColorPaletteDescriptionValue object)
        Returns the result of interpreting the object as an instance of 'Chart Color Palette Description 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 'Chart Color Palette Description Value'.
        See Also:
        doSwitch(EObject)
      • caseChartReferenceLinesValue

        public T caseChartReferenceLinesValue​(ChartReferenceLinesValue object)
        Returns the result of interpreting the object as an instance of 'Chart Reference Lines 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 'Chart Reference Lines Value'.
        See Also:
        doSwitch(EObject)
      • caseChartReferenceBandsValue

        public T caseChartReferenceBandsValue​(ChartReferenceBandsValue object)
        Returns the result of interpreting the object as an instance of 'Chart Reference Bands 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 'Chart Reference Bands Value'.
        See Also:
        doSwitch(EObject)
      • caseChartReferenceLineValue

        public T caseChartReferenceLineValue​(ChartReferenceLineValue object)
        Returns the result of interpreting the object as an instance of 'Chart Reference Line 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 'Chart Reference Line Value'.
        See Also:
        doSwitch(EObject)
      • caseChartReferenceBandValue

        public T caseChartReferenceBandValue​(ChartReferenceBandValue object)
        Returns the result of interpreting the object as an instance of 'Chart Reference Band 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 'Chart Reference Band Value'.
        See Also:
        doSwitch(EObject)
      • caseChartAxisValue

        public T caseChartAxisValue​(ChartAxisValue object)
        Returns the result of interpreting the object as an instance of 'Chart Axis 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 'Chart Axis Value'.
        See Also:
        doSwitch(EObject)
      • caseChartTrendlinesValue

        public T caseChartTrendlinesValue​(ChartTrendlinesValue object)
        Returns the result of interpreting the object as an instance of 'Chart Trendlines 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 'Chart Trendlines Value'.
        See Also:
        doSwitch(EObject)
      • casePictureValue

        public T casePictureValue​(PictureValue object)
        Returns the result of interpreting the object as an instance of 'Picture 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 'Picture Value'.
        See Also:
        doSwitch(EObject)
      • caseValue

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