Class DcsSwitch<T>
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- com._1c.g5.v8.dt.dcs.model.core.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
caseChartAxisValue(ChartAxisValue object)
Returns the result of interpreting the object as an instance of 'Chart Axis Value'.T
caseChartColorPaletteDescriptionValue(ChartColorPaletteDescriptionValue object)
Returns the result of interpreting the object as an instance of 'Chart Color Palette Description Value'.T
caseChartReferenceBandsValue(ChartReferenceBandsValue object)
Returns the result of interpreting the object as an instance of 'Chart Reference Bands Value'.T
caseChartReferenceBandValue(ChartReferenceBandValue object)
Returns the result of interpreting the object as an instance of 'Chart Reference Band Value'.T
caseChartReferenceLinesValue(ChartReferenceLinesValue object)
Returns the result of interpreting the object as an instance of 'Chart Reference Lines Value'.T
caseChartReferenceLineValue(ChartReferenceLineValue object)
Returns the result of interpreting the object as an instance of 'Chart Reference Line Value'.T
caseChartScaleValue(ChartScaleValue object)
Returns the result of interpreting the object as an instance of 'Chart Scale Value'.T
caseChartTrendlinesValue(ChartTrendlinesValue object)
Returns the result of interpreting the object as an instance of 'Chart Trendlines Value'.T
caseDataCompositionAppearance(DataCompositionAppearance object)
Returns the result of interpreting the object as an instance of 'Data Composition Appearance'.T
caseDataCompositionChoiceParameter(DataCompositionChoiceParameter object)
Returns the result of interpreting the object as an instance of 'Data Composition Choice Parameter'.T
caseDataCompositionChoiceParameterLink(DataCompositionChoiceParameterLink object)
Returns the result of interpreting the object as an instance of 'Data Composition Choice Parameter Link'.T
caseDataCompositionChoiceParameterLinks(DataCompositionChoiceParameterLinks object)
Returns the result of interpreting the object as an instance of 'Data Composition Choice Parameter Links'.T
caseDataCompositionChoiceParameters(DataCompositionChoiceParameters object)
Returns the result of interpreting the object as an instance of 'Data Composition Choice Parameters'.T
caseDataCompositionField(DataCompositionField object)
Returns the result of interpreting the object as an instance of 'Data Composition Field'.T
caseDataCompositionID(DataCompositionID object)
Returns the result of interpreting the object as an instance of 'Data Composition ID'.T
caseDataCompositionParameter(DataCompositionParameter object)
Returns the result of interpreting the object as an instance of 'Data Composition Parameter'.T
caseDataCompositionParameterValue(DataCompositionParameterValue object)
Returns the result of interpreting the object as an instance of 'Data Composition Parameter Value'.T
caseDataCompositionTypeLink(DataCompositionTypeLink object)
Returns the result of interpreting the object as an instance of 'Data Composition Type Link'.T
caseDesignTimeValue(DesignTimeValue object)
Returns the result of interpreting the object as an instance of 'Design Time Value'.T
caseDesignTimeValueValue(DesignTimeValueValue object)
Returns the result of interpreting the object as an instance of 'Design Time Value Value'.T
caseInputParameters(InputParameters object)
Returns the result of interpreting the object as an instance of 'Input Parameters'.T
caseLocalString(LocalString object)
Returns the result of interpreting the object as an instance of 'Local String'.T
caseParameterValues(ParameterValues object)
Returns the result of interpreting the object as an instance of 'Parameter Values'.T
casePictureValue(PictureValue object)
Returns the result of interpreting the object as an instance of 'Picture Value'.T
casePresentation(Presentation object)
Returns the result of interpreting the object as an instance of 'Presentation'.T
caseValue(Value object)
Returns the result of interpreting the object as an instance of 'Value'.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.
-
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 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)
-
-