public class DatasourcesSwitch<T>
extends <any>
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.
DatasourcesPackage
Modifier and Type | Field and Description |
---|---|
protected static DatasourcesPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
DatasourcesSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAQueryResult(AQueryResult object)
Returns the result of interpreting the object as an instance of 'AQuery Result'.
|
T |
caseCompoundQuery(CompoundQuery object)
Returns the result of interpreting the object as an instance of 'Compound Query'.
|
T |
caseCompoundRefQuery(CompoundRefQuery object)
Returns the result of interpreting the object as an instance of 'Compound Ref Query'.
|
T |
caseDataSource(DataSource object)
Returns the result of interpreting the object as an instance of 'Data Source'.
|
T |
caseDataSourceLibraryConfiguration(DataSourceLibraryConfiguration object)
Returns the result of interpreting the object as an instance of 'Data Source Library Configuration'.
|
T |
caseISynchable(ISynchable object)
Returns the result of interpreting the object as an instance of 'ISynchable'.
|
T |
caseNode(Node object)
Returns the result of interpreting the object as an instance of 'Node'.
|
T |
caseProcessQuery(ProcessQuery object)
Returns the result of interpreting the object as an instance of 'Process Query'.
|
T |
caseQuery(Query object)
Returns the result of interpreting the object as an instance of 'Query'.
|
T |
caseQueryMatchingCriteria(QueryMatchingCriteria object)
Returns the result of interpreting the object as an instance of 'Query Matching Criteria'.
|
T |
caseQueryResult(QueryResult object)
Returns the result of interpreting the object as an instance of 'Query Result'.
|
T |
caseQueryResults(QueryResults object)
Returns the result of interpreting the object as an instance of 'Query Results'.
|
T |
caseRunnableQuery(RunnableQuery object)
Returns the result of interpreting the object as an instance of 'Runnable Query'.
|
T |
caseSerializableQueryResult(SerializableQueryResult object)
Returns the result of interpreting the object as an instance of 'Serializable Query Result'.
|
T |
caseSimpleQuery(SimpleQuery object)
Returns the result of interpreting the object as an instance of 'Simple Query'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static DatasourcesPackage modelPackage
protected boolean isSwitchFor(EPackage ePackage)
ePackage
- the package in question.protected T doSwitch(int classifierID, EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public T caseDataSource(DataSource object)
object
- the target of the switch.doSwitch(EObject)
public T caseDataSourceLibraryConfiguration(DataSourceLibraryConfiguration object)
object
- the target of the switch.doSwitch(EObject)
public T caseQuery(Query object)
object
- the target of the switch.doSwitch(EObject)
public T caseProcessQuery(ProcessQuery object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimpleQuery(SimpleQuery object)
object
- the target of the switch.doSwitch(EObject)
public T caseCompoundQuery(CompoundQuery object)
object
- the target of the switch.doSwitch(EObject)
public T caseCompoundRefQuery(CompoundRefQuery object)
object
- the target of the switch.doSwitch(EObject)
public T caseQueryResults(QueryResults object)
object
- the target of the switch.doSwitch(EObject)
public T caseRunnableQuery(RunnableQuery object)
object
- the target of the switch.doSwitch(EObject)
public T caseAQueryResult(AQueryResult object)
object
- the target of the switch.doSwitch(EObject)
public T caseQueryResult(QueryResult object)
object
- the target of the switch.doSwitch(EObject)
public T caseSerializableQueryResult(SerializableQueryResult object)
object
- the target of the switch.doSwitch(EObject)
public T caseQueryMatchingCriteria(QueryMatchingCriteria object)
object
- the target of the switch.doSwitch(EObject)
public T caseISynchable(ISynchable object)
object
- the target of the switch.doSwitch(EObject)
public T caseNode(Node object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(EObject object)
object
- the target of the switch.#doSwitch(org.eclipse.emf.ecore.EObject)