Class ChartSwitch<T>
- java.lang.Object
- 
- org.eclipse.emf.ecore.util.Switch<T>
- 
- com._1c.g5.v8.dt.chart.model.util.ChartSwitch<T>
 
 
- 
 public class ChartSwitch<T> extends org.eclipse.emf.ecore.util.Switch<T>The Switch for the model's inheritance hierarchy. It supports the calldoSwitch(object)to invoke thecaseXXXmethod 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:
- ChartPackage
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static ChartPackagemodelPackageThe cached model package
 - 
Constructor SummaryConstructors Constructor Description ChartSwitch()Creates an instance of the switch.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TcaseAbstractLine(AbstractLine object)Returns the result of interpreting the object as an instance of 'Abstract Line'.TcaseAxisInterval(AxisInterval object)Returns the result of interpreting the object as an instance of 'Axis Interval'.TcaseChart(Chart object)Returns the result of interpreting the object as an instance of 'Chart'.TcaseChartAxis(ChartAxis object)Returns the result of interpreting the object as an instance of 'Axis'.TcaseChartColorPaletteDescription(ChartColorPaletteDescription object)Returns the result of interpreting the object as an instance of 'Color Palette Description'.TcaseChartDataItem(ChartDataItem object)Returns the result of interpreting the object as an instance of 'Data Item'.TcaseChartLine(ChartLine object)Returns the result of interpreting the object as an instance of 'Line'.TcaseChartReferenceBand(ChartReferenceBand object)Returns the result of interpreting the object as an instance of 'Reference Band'.TcaseChartReferenceBands(ChartReferenceBands object)Returns the result of interpreting the object as an instance of 'Reference Bands'.TcaseChartReferenceLine(ChartReferenceLine object)Returns the result of interpreting the object as an instance of 'Reference Line'.TcaseChartReferenceLines(ChartReferenceLines object)Returns the result of interpreting the object as an instance of 'Reference Lines'.TcaseChartScale(ChartScale object)Returns the result of interpreting the object as an instance of 'Scale'.TcaseChartSeriesItem(ChartSeriesItem object)Returns the result of interpreting the object as an instance of 'Series Item'.TcaseDoubleRect(DoubleRect object)Returns the result of interpreting the object as an instance of 'Double Rect'.TcaseGaugeChartQualityBand(GaugeChartQualityBand object)Returns the result of interpreting the object as an instance of 'Gauge Chart Quality Band'.TcaseGaugeChartQualityBands(GaugeChartQualityBands object)Returns the result of interpreting the object as an instance of 'Gauge Chart Quality Bands'.TcaseLabelArea(LabelArea object)Returns the result of interpreting the object as an instance of 'Label Area'.TcasePointProperties(PointProperties object)Returns the result of interpreting the object as an instance of 'Point Properties'.TcaseRealDataItem(RealDataItem object)Returns the result of interpreting the object as an instance of 'Real Data Item'.TcaseSeriesCalcInfo(SeriesCalcInfo object)Returns the result of interpreting the object as an instance of 'Series Calc Info'.TcaseSeriesProperties(SeriesProperties object)Returns the result of interpreting the object as an instance of 'Series Properties'.TcaseTrendline(Trendline object)Returns the result of interpreting the object as an instance of 'Trendline'.TcaseTrendlineArray(TrendlineArray object)Returns the result of interpreting the object as an instance of 'Trendline Array'.TdefaultCase(org.eclipse.emf.ecore.EObject object)Returns the result of interpreting the object as an instance of 'EObject'.protected TdoSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.protected booleanisSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)Checks whether this is a switch for the given package.
 
- 
- 
- 
Field Detail- 
modelPackageprotected static ChartPackage modelPackage The cached model package
 
- 
 - 
Method Detail- 
isSwitchForprotected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this is a switch for the given package.- Specified by:
- isSwitchForin class- org.eclipse.emf.ecore.util.Switch<T>
- Parameters:
- ePackage- the package in question.
- Returns:
- whether this is a switch for the given package.
 
 - 
doSwitchprotected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject) CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.- Overrides:
- doSwitchin class- org.eclipse.emf.ecore.util.Switch<T>
- Returns:
- the first non-null result returned by a caseXXXcall.
 
 - 
caseChartLinepublic T caseChartLine(ChartLine object) Returns the result of interpreting the object as an instance of 'Line'. 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 'Line'.
- See Also:
- doSwitch(EObject)
 
 - 
caseDoubleRectpublic T caseDoubleRect(DoubleRect object) Returns the result of interpreting the object as an instance of 'Double Rect'. 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 'Double Rect'.
- See Also:
- doSwitch(EObject)
 
 - 
caseLabelAreapublic T caseLabelArea(LabelArea object) Returns the result of interpreting the object as an instance of 'Label Area'. 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 'Label Area'.
- See Also:
- doSwitch(EObject)
 
 - 
caseChartScalepublic T caseChartScale(ChartScale object) Returns the result of interpreting the object as an instance of 'Scale'. 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 'Scale'.
- See Also:
- doSwitch(EObject)
 
 - 
caseTrendlineArraypublic T caseTrendlineArray(TrendlineArray object) Returns the result of interpreting the object as an instance of 'Trendline Array'. 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 'Trendline Array'.
- See Also:
- doSwitch(EObject)
 
 - 
caseTrendlinepublic T caseTrendline(Trendline object) Returns the result of interpreting the object as an instance of 'Trendline'. 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 'Trendline'.
- See Also:
- doSwitch(EObject)
 
 - 
caseAxisIntervalpublic T caseAxisInterval(AxisInterval object) Returns the result of interpreting the object as an instance of 'Axis Interval'. 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 'Axis Interval'.
- See Also:
- doSwitch(EObject)
 
 - 
caseChartAxispublic T caseChartAxis(ChartAxis object) Returns the result of interpreting the object as an instance of 'Axis'. 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 'Axis'.
- See Also:
- doSwitch(EObject)
 
 - 
caseSeriesCalcInfopublic T caseSeriesCalcInfo(SeriesCalcInfo object) Returns the result of interpreting the object as an instance of 'Series Calc 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 'Series Calc Info'.
- See Also:
- doSwitch(EObject)
 
 - 
caseRealDataItempublic T caseRealDataItem(RealDataItem object) Returns the result of interpreting the object as an instance of 'Real Data 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 'Real Data Item'.
- See Also:
- doSwitch(EObject)
 
 - 
caseSeriesPropertiespublic T caseSeriesProperties(SeriesProperties object) Returns the result of interpreting the object as an instance of 'Series Properties'. 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 'Series Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseChartDataItempublic T caseChartDataItem(ChartDataItem object) Returns the result of interpreting the object as an instance of 'Data 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 'Data Item'.
- See Also:
- doSwitch(EObject)
 
 - 
caseChartSeriesItempublic T caseChartSeriesItem(ChartSeriesItem object) Returns the result of interpreting the object as an instance of 'Series 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 'Series Item'.
- See Also:
- doSwitch(EObject)
 
 - 
casePointPropertiespublic T casePointProperties(PointProperties object) Returns the result of interpreting the object as an instance of 'Point Properties'. 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 'Point Properties'.
- See Also:
- doSwitch(EObject)
 
 - 
caseGaugeChartQualityBandpublic T caseGaugeChartQualityBand(GaugeChartQualityBand object) Returns the result of interpreting the object as an instance of 'Gauge Chart Quality Band'. 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 'Gauge Chart Quality Band'.
- See Also:
- doSwitch(EObject)
 
 - 
caseGaugeChartQualityBandspublic T caseGaugeChartQualityBands(GaugeChartQualityBands object) Returns the result of interpreting the object as an instance of 'Gauge Chart Quality Bands'. 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 'Gauge Chart Quality Bands'.
- See Also:
- doSwitch(EObject)
 
 - 
caseChartpublic T caseChart(Chart object) Returns the result of interpreting the object as an instance of 'Chart'. 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'.
- See Also:
- doSwitch(EObject)
 
 - 
caseChartColorPaletteDescriptionpublic T caseChartColorPaletteDescription(ChartColorPaletteDescription object) Returns the result of interpreting the object as an instance of 'Color Palette 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 'Color Palette Description'.
- See Also:
- doSwitch(EObject)
 
 - 
caseChartReferenceLinepublic T caseChartReferenceLine(ChartReferenceLine object) Returns the result of interpreting the object as an instance of 'Reference Line'. 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 'Reference Line'.
- See Also:
- doSwitch(EObject)
 
 - 
caseChartReferenceBandpublic T caseChartReferenceBand(ChartReferenceBand object) Returns the result of interpreting the object as an instance of 'Reference Band'. 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 'Reference Band'.
- See Also:
- doSwitch(EObject)
 
 - 
caseChartReferenceLinespublic T caseChartReferenceLines(ChartReferenceLines object) Returns the result of interpreting the object as an instance of 'Reference Lines'. 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 'Reference Lines'.
- See Also:
- doSwitch(EObject)
 
 - 
caseChartReferenceBandspublic T caseChartReferenceBands(ChartReferenceBands object) Returns the result of interpreting the object as an instance of 'Reference Bands'. 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 'Reference Bands'.
- See Also:
- doSwitch(EObject)
 
 - 
caseAbstractLinepublic T caseAbstractLine(AbstractLine object) Returns the result of interpreting the object as an instance of 'Abstract Line'. 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 Line'.
- See Also:
- doSwitch(EObject)
 
 - 
defaultCasepublic 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:
- defaultCasein 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)
 
 
- 
 
-