Class DbViewSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
com._1c.g5.v8.dt.metadata.dbview.util.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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Accounting Register Db View Defs'.Returns the result of interpreting the object as an instance of 'Accumulation Register Db View Defs'.caseBasicDbViewDefs
(BasicDbViewDefs object) Returns the result of interpreting the object as an instance of 'Basic Db View Defs'.Returns the result of interpreting the object as an instance of 'Business Process Db View Defs'.Returns the result of interpreting the object as an instance of 'Calculation Register Db View Defs'.Returns the result of interpreting the object as an instance of 'Catalog Db View Defs'.Returns the result of interpreting the object as an instance of 'Changeable Db View Defs'.Returns the result of interpreting the object as an instance of 'Chart Of Accounts Db View Defs'.Returns the result of interpreting the object as an instance of 'Chart Of Calculation Types Db View Defs'.Returns the result of interpreting the object as an instance of 'Chart Of Characteristic Types Db View Defs'.Returns the result of interpreting the object as an instance of 'Constant Db View Defs'.Returns the result of interpreting the object as an instance of 'Constants Db View Defs'.caseCubeDbViewDefs
(CubeDbViewDefs object) Returns the result of interpreting the object as an instance of 'Cube Db View Defs'.caseDbNonObjectDef
(DbNonObjectDef object) Returns the result of interpreting the object as an instance of 'Db Non Object Def'.caseDbObjectDef
(DbObjectDef object) Returns the result of interpreting the object as an instance of 'Db Object Def'.caseDbViewDef
(DbViewDef object) Returns the result of interpreting the object as an instance of 'Def'.caseDbViewElement
(DbViewElement object) Returns the result of interpreting the object as an instance of 'Element'.caseDbViewFieldDef
(DbViewFieldDef object) Returns the result of interpreting the object as an instance of 'Field Def'.Returns the result of interpreting the object as an instance of 'Field Field Def'.Returns the result of interpreting the object as an instance of 'Field Field Def With Period'.caseDbViewFieldRole
(DbViewFieldRole object) Returns the result of interpreting the object as an instance of 'Field Role'.Returns the result of interpreting the object as an instance of 'Field Table Def'.caseDbViewSelectDef
(DbViewSelectDef object) Returns the result of interpreting the object as an instance of 'Select Def'.Returns the result of interpreting the object as an instance of 'DB View Select Def On Non Object Def'.Returns the result of interpreting the object as an instance of 'Select Param Def'.Returns the result of interpreting the object as an instance of 'Select Param Variant'.caseDbViewSortInfo
(DbViewSortInfo object) Returns the result of interpreting the object as an instance of 'Sort Info'.caseDbViewTableDef
(DbViewTableDef object) Returns the result of interpreting the object as an instance of 'Table Def'.Returns the result of interpreting the object as an instance of 'Virtual Field Def'.Returns the result of interpreting the object as an instance of 'Dimension Table Db View Defs'.Returns the result of interpreting the object as an instance of 'Document Db View Defs'.Returns the result of interpreting the object as an instance of 'Document Journal Db View Defs'.Returns the result of interpreting the object as an instance of 'Dually Named Element'.caseEnumDbViewDefs
(EnumDbViewDefs object) Returns the result of interpreting the object as an instance of 'Enum Db View Defs'.Returns the result of interpreting the object as an instance of 'Exchange Plan Db View Defs'.Returns the result of interpreting the object as an instance of 'Extended Db View Field Table Def'.Returns the result of interpreting the object as an instance of 'Extended Db View Table Def'.Returns the result of interpreting the object as an instance of 'Filter Criterion Db View Defs'.caseHierarchicalDef
(HierarchicalDef object) Returns the result of interpreting the object as an instance of 'Hierarchical Def'.Returns the result of interpreting the object as an instance of 'Information Register Db View Defs'.caseNamedElement
(NamedElement object) Returns the result of interpreting the object as an instance of 'Named Element'.caseOwnedTableDef
(OwnedTableDef object) Returns the result of interpreting the object as an instance of 'Owned Table Def'.Returns the result of interpreting the object as an instance of 'Recalculation Db View Defs'.Returns the result of interpreting the object as an instance of 'Sequence Db View Defs'.Returns the result of interpreting the object as an instance of 'Table'.caseTableDbViewDefs
(TableDbViewDefs object) Returns the result of interpreting the object as an instance of 'Table Db View Defs'.caseTaskDbViewDefs
(TaskDbViewDefs object) Returns the result of interpreting the object as an instance of 'Task Db View Defs'.defaultCase
(org.eclipse.emf.ecore.EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch
(int classifierID, org.eclipse.emf.ecore.EObject theEObject) CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor
(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this is a switch for the given package.Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch, doSwitch
-
Field Details
-
modelPackage
The cached model package
-
-
Constructor Details
-
DbViewSwitch
public DbViewSwitch()Creates an instance of the switch.
-
-
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 classorg.eclipse.emf.ecore.util.Switch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitch
in classorg.eclipse.emf.ecore.util.Switch<T>
- Returns:
- the first non-null result returned by a
caseXXX
call.
-
caseDbViewElement
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
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
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
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
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
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
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)
-
caseDbViewSortInfo
Returns the result of interpreting the object as an instance of 'Sort Info'. 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 'Sort Info'.
- See Also:
-
doSwitch(EObject)
-
caseDbViewTableDef
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)
-
caseExtendedDbViewTableDef
Returns the result of interpreting the object as an instance of 'Extended Db View 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 'Extended Db View Table Def'.
- See Also:
-
doSwitch(EObject)
-
caseExtendedDbViewFieldTableDef
Returns the result of interpreting the object as an instance of 'Extended Db View 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 'Extended Db View Field Table Def'.
- See Also:
-
doSwitch(EObject)
-
caseDBViewSelectDefOnNonObjectDef
Returns the result of interpreting the object as an instance of 'DB View Select Def On 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 View Select Def On Non Object Def'.
- See Also:
-
doSwitch(EObject)
-
caseDbViewSelectDef
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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)
-
caseAccumulationRegisterDbViewDefs
Returns the result of interpreting the object as an instance of 'Accumulation 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 'Accumulation Register Db View Defs'.
- See Also:
-
doSwitch(EObject)
-
caseBusinessProcessDbViewDefs
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
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
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
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
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
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
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
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
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
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
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
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
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
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 classorg.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)
-