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

        public T caseDataCompositionAreaTemplate​(DataCompositionAreaTemplate object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template'. 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 Area Template'.
        See Also:
        doSwitch(EObject)
      • caseAreaTemplateItem

        public T caseAreaTemplateItem​(AreaTemplateItem object)
        Returns the result of interpreting the object as an instance of 'Area Template Item'. 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 'Area Template Item'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionAreaTemplateTableRow

        public T caseDataCompositionAreaTemplateTableRow​(DataCompositionAreaTemplateTableRow object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template Table Row'. 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 Area Template Table Row'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionAreaTemplateTableCell

        public T caseDataCompositionAreaTemplateTableCell​(DataCompositionAreaTemplateTableCell object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template Table Cell'. 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 Area Template Table Cell'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionAreaTemplateTableCellAppearance

        public T caseDataCompositionAreaTemplateTableCellAppearance​(DataCompositionAreaTemplateTableCellAppearance object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template Table Cell 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 Area Template Table Cell Appearance'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionAreaTemplateChartGroupAppearance

        public T caseDataCompositionAreaTemplateChartGroupAppearance​(DataCompositionAreaTemplateChartGroupAppearance object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template Chart Group 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 Area Template Chart Group Appearance'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionAreaTemplateChartResourceAppearance

        public T caseDataCompositionAreaTemplateChartResourceAppearance​(DataCompositionAreaTemplateChartResourceAppearance object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template Chart Resource 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 Area Template Chart Resource Appearance'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionAreaTemplateChartAppearance

        public T caseDataCompositionAreaTemplateChartAppearance​(DataCompositionAreaTemplateChartAppearance object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template Chart 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 Area Template Chart Appearance'.
        See Also:
        doSwitch(EObject)
      • caseTemplateItem

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

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

        public T caseDataCompositionAreaTemplateFieldAppearance​(DataCompositionAreaTemplateFieldAppearance object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template Field 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 Area Template Field Appearance'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionAreaTemplateChartGroupTemplate

        public T caseDataCompositionAreaTemplateChartGroupTemplate​(DataCompositionAreaTemplateChartGroupTemplate object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template Chart Group Template'. 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 Area Template Chart Group Template'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionAreaTemplateChartResourceTemplate

        public T caseDataCompositionAreaTemplateChartResourceTemplate​(DataCompositionAreaTemplateChartResourceTemplate object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template Chart Resource Template'. 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 Area Template Chart Resource Template'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionAreaTemplateChartTemplate

        public T caseDataCompositionAreaTemplateChartTemplate​(DataCompositionAreaTemplateChartTemplate object)
        Returns the result of interpreting the object as an instance of 'Data Composition Area Template Chart Template'. 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 Area Template Chart Template'.
        See Also:
        doSwitch(EObject)
      • caseAreaTemplateParameter

        public T caseAreaTemplateParameter​(AreaTemplateParameter object)
        Returns the result of interpreting the object as an instance of 'Area Template 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 'Area Template Parameter'.
        See Also:
        doSwitch(EObject)
      • caseDataCompositionExpressionAreaParameter

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

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

        public T caseDataCompositionDetailsAreaParameterFieldExpression​(DataCompositionDetailsAreaParameterFieldExpression object)
        Returns the result of interpreting the object as an instance of 'Data Composition Details Area Parameter Field Expression'. 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 Details Area Parameter Field Expression'.
        See Also:
        doSwitch(EObject)
      • caseValueCollectionHeaderCell

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

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

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

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