|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.model.data.util.DataSwitch
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.
DataPackage
Constructor Summary | |
DataSwitch()
Creates an instance of the switch. |
Method Summary | |
java.lang.Object |
caseAction(Action object)
Returns the result of interpretting the object as an instance of 'Action'. |
java.lang.Object |
caseBaseSampleData(BaseSampleData object)
Returns the result of interpretting the object as an instance of 'Base Sample Data'. |
java.lang.Object |
caseBubbleDataSet(BubbleDataSet object)
Returns the result of interpretting the object as an instance of 'Bubble Data Set'. |
java.lang.Object |
caseDataElement(DataElement object)
Returns the result of interpretting the object as an instance of 'Element'. |
java.lang.Object |
caseDataSet(DataSet object)
Returns the result of interpretting the object as an instance of 'Set'. |
java.lang.Object |
caseDateTimeDataElement(DateTimeDataElement object)
Returns the result of interpretting the object as an instance of 'Date Time Data Element'. |
java.lang.Object |
caseDateTimeDataSet(DateTimeDataSet object)
Returns the result of interpretting the object as an instance of 'Date Time Data Set'. |
java.lang.Object |
caseDifferenceDataSet(DifferenceDataSet object)
Returns the result of interpretting the object as an instance of 'Difference Data Set'. |
java.lang.Object |
caseGanttDataSet(GanttDataSet object)
Returns the result of interpretting the object as an instance of 'Gantt Data Set'. |
java.lang.Object |
caseNumberDataElement(NumberDataElement object)
Returns the result of interpretting the object as an instance of 'Number Data Element'. |
java.lang.Object |
caseNumberDataSet(NumberDataSet object)
Returns the result of interpretting the object as an instance of 'Number Data Set'. |
java.lang.Object |
caseOrthogonalSampleData(OrthogonalSampleData object)
Returns the result of interpretting the object as an instance of 'Orthogonal Sample Data'. |
java.lang.Object |
caseQuery(Query object)
Returns the result of interpretting the object as an instance of 'Query'. |
java.lang.Object |
caseRule(Rule object)
Returns the result of interpretting the object as an instance of 'Rule'. |
java.lang.Object |
caseSampleData(SampleData object)
Returns the result of interpretting the object as an instance of 'Sample Data'. |
java.lang.Object |
caseSeriesDefinition(SeriesDefinition object)
Returns the result of interpretting the object as an instance of 'Series Definition'. |
java.lang.Object |
caseSeriesGrouping(SeriesGrouping object)
Returns the result of interpretting the object as an instance of 'Series Grouping'. |
java.lang.Object |
caseStockDataSet(StockDataSet object)
Returns the result of interpretting the object as an instance of 'Stock Data Set'. |
java.lang.Object |
caseTextDataSet(TextDataSet object)
Returns the result of interpretting the object as an instance of 'Text Data Set'. |
java.lang.Object |
caseTrigger(Trigger object)
Returns the result of interpretting the object as an instance of 'Trigger'. |
java.lang.Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. |
java.lang.Object |
doSwitch(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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataSwitch()
Method Detail |
public java.lang.Object doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public java.lang.Object caseAction(Action object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBaseSampleData(BaseSampleData object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBubbleDataSet(BubbleDataSet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataElement(DataElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataSet(DataSet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDateTimeDataElement(DateTimeDataElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDateTimeDataSet(DateTimeDataSet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDifferenceDataSet(DifferenceDataSet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGanttDataSet(GanttDataSet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNumberDataElement(NumberDataElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNumberDataSet(NumberDataSet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseOrthogonalSampleData(OrthogonalSampleData object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseQuery(Query object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRule(Rule object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSampleData(SampleData object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSeriesDefinition(SeriesDefinition object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSeriesGrouping(SeriesGrouping object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStockDataSet(StockDataSet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTextDataSet(TextDataSet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTrigger(Trigger object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |