Class DcsSwitch<T>
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- com._1c.g5.v8.dt.dcs.model.schema.util.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 calldoSwitch(object)
to invoke thecaseXXX
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 Summary
Fields Modifier and Type Field Description protected static DcsPackage
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description DcsSwitch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
caseAbstractDataCompositionSchema(AbstractDataCompositionSchema object)
Returns the result of interpreting the object as an instance of 'Abstract Data Composition Schema'.T
caseAvailableValue(AvailableValue object)
Returns the result of interpreting the object as an instance of 'Available Value'.T
caseDataCompositionSchema(DataCompositionSchema object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema'.T
caseDataCompositionSchemaCalculatedField(DataCompositionSchemaCalculatedField object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Calculated Field'.T
caseDataCompositionSchemaDataSetField(DataCompositionSchemaDataSetField object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set Field'.T
caseDataCompositionSchemaDataSetFieldFolder(DataCompositionSchemaDataSetFieldFolder object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set Field Folder'.T
caseDataCompositionSchemaDataSetLink(DataCompositionSchemaDataSetLink object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set Link'.T
caseDataCompositionSchemaDataSetObject(DataCompositionSchemaDataSetObject object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set Object'.T
caseDataCompositionSchemaDataSetQuery(DataCompositionSchemaDataSetQuery object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set Query'.T
caseDataCompositionSchemaDataSetUnion(DataCompositionSchemaDataSetUnion object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set Union'.T
caseDataCompositionSchemaDataSource(DataCompositionSchemaDataSource object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Source'.T
caseDataCompositionSchemaFieldTemplate(DataCompositionSchemaFieldTemplate object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Field Template'.T
caseDataCompositionSchemaFieldUseRestriction(DataCompositionSchemaFieldUseRestriction object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Field Use Restriction'.T
caseDataCompositionSchemaGroupTemplate(DataCompositionSchemaGroupTemplate object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Group Template'.T
caseDataCompositionSchemaNestedDataSet(DataCompositionSchemaNestedDataSet object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Nested Data Set'.T
caseDataCompositionSchemaParameter(DataCompositionSchemaParameter object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Parameter'.T
caseDataCompositionSchemaTemplateDescription(DataCompositionSchemaTemplateDescription object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Template Description'.T
caseDataCompositionSchemaTotalField(DataCompositionSchemaTotalField object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Total Field'.T
caseDataCompositionSchemaTotalFieldsTemplate(DataCompositionSchemaTotalFieldsTemplate object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Total Fields Template'.T
caseDataSet(DataSet object)
Returns the result of interpreting the object as an instance of 'Data Set'.T
caseDataSetField(DataSetField object)
Returns the result of interpreting the object as an instance of 'Data Set Field'.T
caseNestedDataCompositionSchema(NestedDataCompositionSchema object)
Returns the result of interpreting the object as an instance of 'Nested Data Composition Schema'.T
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.
-
-
-
Field Detail
-
modelPackage
protected static DcsPackage modelPackage
The cached model package
-
-
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 classorg.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)
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.
-
caseDataCompositionSchema
public T caseDataCompositionSchema(DataCompositionSchema object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema'. 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 Schema'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaDataSource
public T caseDataCompositionSchemaDataSource(DataCompositionSchemaDataSource object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Source'. 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 Schema Data Source'.
- See Also:
doSwitch(EObject)
-
caseDataSet
public T caseDataSet(DataSet object)
Returns the result of interpreting the object as an instance of 'Data Set'. 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 Set'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaDataSetUnion
public T caseDataCompositionSchemaDataSetUnion(DataCompositionSchemaDataSetUnion object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set Union'. 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 Schema Data Set Union'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaDataSetQuery
public T caseDataCompositionSchemaDataSetQuery(DataCompositionSchemaDataSetQuery object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set Query'. 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 Schema Data Set Query'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaDataSetObject
public T caseDataCompositionSchemaDataSetObject(DataCompositionSchemaDataSetObject object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set 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 'Data Composition Schema Data Set Object'.
- See Also:
doSwitch(EObject)
-
caseDataSetField
public T caseDataSetField(DataSetField object)
Returns the result of interpreting the object as an instance of 'Data Set 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 Set Field'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaDataSetFieldFolder
public T caseDataCompositionSchemaDataSetFieldFolder(DataCompositionSchemaDataSetFieldFolder object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set Field Folder'. 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 Schema Data Set Field Folder'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaDataSetField
public T caseDataCompositionSchemaDataSetField(DataCompositionSchemaDataSetField object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set 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 Schema Data Set Field'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaNestedDataSet
public T caseDataCompositionSchemaNestedDataSet(DataCompositionSchemaNestedDataSet object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Nested Data Set'. 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 Schema Nested Data Set'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaCalculatedField
public T caseDataCompositionSchemaCalculatedField(DataCompositionSchemaCalculatedField object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Calculated 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 Schema Calculated Field'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaFieldUseRestriction
public T caseDataCompositionSchemaFieldUseRestriction(DataCompositionSchemaFieldUseRestriction object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Field Use Restriction'. 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 Schema Field Use Restriction'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaTotalField
public T caseDataCompositionSchemaTotalField(DataCompositionSchemaTotalField object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Total 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 Schema Total Field'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaDataSetLink
public T caseDataCompositionSchemaDataSetLink(DataCompositionSchemaDataSetLink object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Data Set 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 Schema Data Set Link'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaParameter
public T caseDataCompositionSchemaParameter(DataCompositionSchemaParameter object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema 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 Schema Parameter'.
- See Also:
doSwitch(EObject)
-
caseNestedDataCompositionSchema
public T caseNestedDataCompositionSchema(NestedDataCompositionSchema object)
Returns the result of interpreting the object as an instance of 'Nested Data Composition Schema'. 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 'Nested Data Composition Schema'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaFieldTemplate
public T caseDataCompositionSchemaFieldTemplate(DataCompositionSchemaFieldTemplate object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Field 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 Schema Field Template'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaGroupTemplate
public T caseDataCompositionSchemaGroupTemplate(DataCompositionSchemaGroupTemplate object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema 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 Schema Group Template'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaTotalFieldsTemplate
public T caseDataCompositionSchemaTotalFieldsTemplate(DataCompositionSchemaTotalFieldsTemplate object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Total Fields 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 Schema Total Fields Template'.
- See Also:
doSwitch(EObject)
-
caseDataCompositionSchemaTemplateDescription
public T caseDataCompositionSchemaTemplateDescription(DataCompositionSchemaTemplateDescription object)
Returns the result of interpreting the object as an instance of 'Data Composition Schema Template Description'. 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 Schema Template Description'.
- See Also:
doSwitch(EObject)
-
caseAvailableValue
public T caseAvailableValue(AvailableValue object)
Returns the result of interpreting the object as an instance of 'Available 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 'Available Value'.
- See Also:
doSwitch(EObject)
-
caseAbstractDataCompositionSchema
public T caseAbstractDataCompositionSchema(AbstractDataCompositionSchema object)
Returns the result of interpreting the object as an instance of 'Abstract Data Composition Schema'. 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 'Abstract Data Composition Schema'.
- 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 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)
-
-