Class DbViewSwitch<T>


  • public class DbViewSwitch<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:
    DbViewPackage
    • Field Detail

      • modelPackage

        protected static DbViewPackage modelPackage
        The cached model package
    • Constructor Detail

      • DbViewSwitch

        public DbViewSwitch()
        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.
      • caseDbViewElement

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

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

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

        public T caseDbObjectDef​(DbObjectDef object)
        Returns the result of interpreting the object as an instance of 'Db Object Def'. 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 'Db Object Def'.
        See Also:
        doSwitch(EObject)
      • caseDbNonObjectDef

        public T caseDbNonObjectDef​(DbNonObjectDef object)
        Returns the result of interpreting the object as an instance of 'Db Non Object Def'. 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 'Db Non Object Def'.
        See Also:
        doSwitch(EObject)
      • caseHierarchicalDef

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

        public T caseOwnedTableDef​(OwnedTableDef object)
        Returns the result of interpreting the object as an instance of 'Owned Table Def'. 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 'Owned Table Def'.
        See Also:
        doSwitch(EObject)
      • caseDbViewTableDef

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

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

        public T caseDbViewSelectParamDef​(DbViewSelectParamDef object)
        Returns the result of interpreting the object as an instance of 'Select Param Def'. 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 'Select Param Def'.
        See Also:
        doSwitch(EObject)
      • caseDbViewSelectParamVariant

        public T caseDbViewSelectParamVariant​(DbViewSelectParamVariant object)
        Returns the result of interpreting the object as an instance of 'Select Param Variant'. 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 'Select Param Variant'.
        See Also:
        doSwitch(EObject)
      • caseDbViewFieldRole

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

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

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

        public T caseDbViewFieldFieldDefWithPeriod​(DbViewFieldFieldDefWithPeriod object)
        Returns the result of interpreting the object as an instance of 'Field Field Def With Period'. 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 'Field Field Def With Period'.
        See Also:
        doSwitch(EObject)
      • caseDbViewFieldTableDef

        public T caseDbViewFieldTableDef​(DbViewFieldTableDef object)
        Returns the result of interpreting the object as an instance of 'Field Table Def'. 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 'Field Table Def'.
        See Also:
        doSwitch(EObject)
      • caseDbViewVirtualFieldDef

        public T caseDbViewVirtualFieldDef​(DbViewVirtualFieldDef object)
        Returns the result of interpreting the object as an instance of 'Virtual Field Def'. 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 'Virtual Field Def'.
        See Also:
        doSwitch(EObject)
      • caseBasicDbViewDefs

        public T caseBasicDbViewDefs​(BasicDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Basic Db View Defs'. 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 'Basic Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseChangeableDbViewDefs

        public T caseChangeableDbViewDefs​(ChangeableDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Changeable Db View Defs'. 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 'Changeable Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseEnumDbViewDefs

        public T caseEnumDbViewDefs​(EnumDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Enum Db View Defs'. 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 'Enum Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseCatalogDbViewDefs

        public T caseCatalogDbViewDefs​(CatalogDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Catalog Db View Defs'. 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 'Catalog Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseDocumentDbViewDefs

        public T caseDocumentDbViewDefs​(DocumentDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Document Db View Defs'. 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 'Document Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseChartOfCharacteristicTypesDbViewDefs

        public T caseChartOfCharacteristicTypesDbViewDefs​(ChartOfCharacteristicTypesDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Chart Of Characteristic Types Db View Defs'. 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 Of Characteristic Types Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseInformationRegisterDbViewDefs

        public T caseInformationRegisterDbViewDefs​(InformationRegisterDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Information Register Db View Defs'. 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 'Information Register Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseExchangePlanDbViewDefs

        public T caseExchangePlanDbViewDefs​(ExchangePlanDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Exchange Plan Db View Defs'. 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 'Exchange Plan Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseConstantDbViewDefs

        public T caseConstantDbViewDefs​(ConstantDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Constant Db View Defs'. 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 Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseConstantsDbViewDefs

        public T caseConstantsDbViewDefs​(ConstantsDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Constants Db View Defs'. 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 'Constants Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseSequenceDbViewDefs

        public T caseSequenceDbViewDefs​(SequenceDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Sequence Db View Defs'. 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 Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseDocumentJournalDbViewDefs

        public T caseDocumentJournalDbViewDefs​(DocumentJournalDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Document Journal Db View Defs'. 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 'Document Journal Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseAccumulationRegisterbViewDefs

        public T caseAccumulationRegisterbViewDefs​(AccumulationRegisterbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Accumulation Registerb View Defs'. 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 'Accumulation Registerb View Defs'.
        See Also:
        doSwitch(EObject)
      • caseBusinessProcessDbViewDefs

        public T caseBusinessProcessDbViewDefs​(BusinessProcessDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Business Process Db View Defs'. 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 'Business Process Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseTaskDbViewDefs

        public T caseTaskDbViewDefs​(TaskDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Task Db View Defs'. 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 'Task Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseFilterCriterionDbViewDefs

        public T caseFilterCriterionDbViewDefs​(FilterCriterionDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Filter Criterion Db View Defs'. 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 'Filter Criterion Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseChartOfAccountsDbViewDefs

        public T caseChartOfAccountsDbViewDefs​(ChartOfAccountsDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Chart Of Accounts Db View Defs'. 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 Of Accounts Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseChartOfCalculationTypesDbViewDefs

        public T caseChartOfCalculationTypesDbViewDefs​(ChartOfCalculationTypesDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Chart Of Calculation Types Db View Defs'. 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 Of Calculation Types Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseAccountingRegisterDbViewDefs

        public T caseAccountingRegisterDbViewDefs​(AccountingRegisterDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Accounting Register Db View Defs'. 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 'Accounting Register Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseCalculationRegisterDbViewDefs

        public T caseCalculationRegisterDbViewDefs​(CalculationRegisterDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Calculation Register Db View Defs'. 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 'Calculation Register Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseRecalculationDbViewDefs

        public T caseRecalculationDbViewDefs​(RecalculationDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Recalculation Db View Defs'. 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 'Recalculation Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseTableDbViewDefs

        public T caseTableDbViewDefs​(TableDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Table Db View Defs'. 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 'Table Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseCubeDbViewDefs

        public T caseCubeDbViewDefs​(CubeDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Cube Db View Defs'. 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 'Cube Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseDimensionTableDbViewDefs

        public T caseDimensionTableDbViewDefs​(DimensionTableDbViewDefs object)
        Returns the result of interpreting the object as an instance of 'Dimension Table Db View Defs'. 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 'Dimension Table Db View Defs'.
        See Also:
        doSwitch(EObject)
      • caseNamedElement

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

        public T caseDuallyNamedElement​(DuallyNamedElement object)
        Returns the result of interpreting the object as an instance of 'Dually Named Element'. 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 'Dually Named Element'.
        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)