Class ClassMakerSwitch<T1>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T1>
org.enterprisedomain.classmaker.util.ClassMakerSwitch<T1>
public class ClassMakerSwitch<T1>
extends org.eclipse.emf.ecore.util.Switch<T1>
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. - See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncaseAdapter
(org.eclipse.emf.common.notify.Adapter object) Returns the result of interpreting the object as an instance of 'Adapter'.caseBlueprint
(Blueprint object) Returns the result of interpreting the object as an instance of 'Blueprint'.Returns the result of interpreting the object as an instance of 'Service'.Returns the result of interpreting the object as an instance of 'Completion Listener'.Returns the result of interpreting the object as an instance of 'Completion Notification Adapter'.caseContribution
(Contribution object) Returns the result of interpreting the object as an instance of 'Contribution'.caseCustomizer
(Customizer object) Returns the result of interpreting the object as an instance of 'Customizer'.caseExecutor
(Executor object) Returns the result of interpreting the object as an instance of 'Executor'.<V> T1
caseFuture
(Future<V> object) Returns the result of interpreting the object as an instance of 'Future'.caseIAdapterFactory
(org.eclipse.core.runtime.IAdapterFactory object) Returns the result of interpreting the object as an instance of 'IAdapter Factory'.caseISchedulingRule
(org.eclipse.core.runtime.jobs.ISchedulingRule object) Returns the result of interpreting the object as an instance of 'IScheduling Rule'.Returns the result of interpreting the object as an instance of 'Item'.caseLongToStateMapEntry
(Map.Entry<Long, State> object) Returns the result of interpreting the object as an instance of 'Long To State Map Entry'.caseModels
(Models object) Returns the result of interpreting the object as an instance of 'Models'.caseNotification
(org.eclipse.emf.common.notify.Notification object) Returns the result of interpreting the object as an instance of 'Notification'.caseNotifier
(org.eclipse.emf.common.notify.Notifier object) Returns the result of interpreting the object as an instance of 'Notifier'.caseProject
(Project object) Returns the result of interpreting the object as an instance of 'Project'.caseResource
(org.eclipse.emf.ecore.resource.Resource object) Returns the result of interpreting the object as an instance of 'Resource'.caseResourceAdapter
(ResourceAdapter object) Returns the result of interpreting the object as an instance of 'Resource Adapter'.Returns the result of interpreting the object as an instance of 'Resource Change Listener'.caseRevision
(Revision object) Returns the result of interpreting the object as an instance of 'Revision'.<T> T1
caseSCMOperator
(SCMOperator<T> object) Returns the result of interpreting the object as an instance of 'SCM Operator'.<T> T1
caseSCMRegistry
(SCMRegistry<T> object) Returns the result of interpreting the object as an instance of 'SCM Registry'.Returns the result of interpreting the object as an instance of 'Select Reveal Handler'.caseStageQualifier
(StageQualifier object) Returns the result of interpreting the object as an instance of 'Stage Qualifier'.Returns the result of interpreting the object as an instance of 'Stage Qualifier To Customizer Map Entry'.Returns the result of interpreting the object as an instance of 'State'.caseStrategy
(Strategy object) Returns the result of interpreting the object as an instance of 'Strategy'.caseVersionToRevisionMapEntry
(Map.Entry<org.osgi.framework.Version, Revision> object) Returns the result of interpreting the object as an instance of 'Version To Revision Map Entry'.caseWorker
(Worker object) Returns the result of interpreting the object as an instance of 'Worker'.caseWorkspace
(Workspace object) Returns the result of interpreting the object as an instance of 'Workspace'.defaultCase
(org.eclipse.emf.ecore.EObject object) Returns the result of interpreting the object as an instance of 'EObject'.Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch
-
Constructor Details
-
ClassMakerSwitch
public ClassMakerSwitch()Creates an instance of the switch.
-
-
Method Details
-
caseContribution
Returns the result of interpreting the object as an instance of 'Contribution'. 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 'Contribution'.
- See Also:
-
doSwitch(EObject)
-
caseRevision
Returns the result of interpreting the object as an instance of 'Revision'. 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 'Revision'.
- See Also:
-
doSwitch(EObject)
-
caseState
Returns the result of interpreting the object as an instance of 'State'. 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 'State'.
- See Also:
-
doSwitch(EObject)
-
caseStrategy
Returns the result of interpreting the object as an instance of 'Strategy'. 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 'Strategy'.
- See Also:
-
doSwitch(EObject)
-
caseItem
Returns the result of interpreting the object as an instance of '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 'Item'.
- See Also:
-
doSwitch(EObject)
-
caseAdapter
Returns the result of interpreting the object as an instance of 'Adapter'. 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 'Adapter'.
- See Also:
-
doSwitch(EObject)
-
caseWorkspace
Returns the result of interpreting the object as an instance of 'Workspace'. 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 'Workspace'.
- See Also:
-
doSwitch(EObject)
-
caseLongToStateMapEntry
Returns the result of interpreting the object as an instance of 'Long To State Map Entry'. 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 'Long To State Map Entry'.
- See Also:
-
doSwitch(EObject)
-
caseVersionToRevisionMapEntry
Returns the result of interpreting the object as an instance of 'Version To Revision Map Entry'. 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 'Version To Revision Map Entry'.
- See Also:
-
doSwitch(EObject)
-
caseISchedulingRule
Returns the result of interpreting the object as an instance of 'IScheduling Rule'. 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 'IScheduling Rule'.
- See Also:
-
doSwitch(EObject)
-
caseExecutor
Returns the result of interpreting the object as an instance of 'Executor'. 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 'Executor'.
- See Also:
-
doSwitch(EObject)
-
caseFuture
Returns the result of interpreting the object as an instance of 'Future'. 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 'Future'.
- See Also:
-
doSwitch(EObject)
-
caseIAdapterFactory
Returns the result of interpreting the object as an instance of 'IAdapter Factory'. 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 'IAdapter Factory'.
- See Also:
-
doSwitch(EObject)
-
caseCustomizer
Returns the result of interpreting the object as an instance of 'Customizer'. 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 'Customizer'.
- See Also:
-
doSwitch(EObject)
-
caseStageQualifier
Returns the result of interpreting the object as an instance of 'Stage Qualifier'. 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 'Stage Qualifier'.
- See Also:
-
doSwitch(EObject)
-
caseStageQualifierToCustomizerMapEntry
Returns the result of interpreting the object as an instance of 'Stage Qualifier To Customizer Map Entry'. 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 'Stage Qualifier To Customizer Map Entry'.
- See Also:
-
doSwitch(EObject)
-
caseModels
Returns the result of interpreting the object as an instance of 'Models'. 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 'Models'.
- See Also:
-
doSwitch(EObject)
-
caseProject
Returns the result of interpreting the object as an instance of 'Project'. 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 'Project'.
- See Also:
-
doSwitch(EObject)
-
caseSCMOperator
Returns the result of interpreting the object as an instance of 'SCM Operator'. 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 'SCM Operator'.
- See Also:
-
doSwitch(EObject)
-
caseSCMRegistry
Returns the result of interpreting the object as an instance of 'SCM Registry'. 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 'SCM Registry'.
- See Also:
-
doSwitch(EObject)
-
caseResource
Returns the result of interpreting the object as an instance of 'Resource'. 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 'Resource'.
- See Also:
-
doSwitch(EObject)
-
caseResourceChangeListener
Returns the result of interpreting the object as an instance of 'Resource Change Listener'. 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 'Resource Change Listener'.
- See Also:
-
doSwitch(EObject)
-
caseNotification
Returns the result of interpreting the object as an instance of 'Notification'. 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 'Notification'.
- See Also:
-
doSwitch(EObject)
-
caseNotifier
Returns the result of interpreting the object as an instance of 'Notifier'. 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 'Notifier'.
- See Also:
-
doSwitch(EObject)
-
caseCompletionListener
Returns the result of interpreting the object as an instance of 'Completion Listener'. 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 'Completion Listener'.
- See Also:
-
doSwitch(EObject)
-
caseWorker
Returns the result of interpreting the object as an instance of 'Worker'. 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 'Worker'.
- See Also:
-
doSwitch(EObject)
-
caseSelectRevealHandler
Returns the result of interpreting the object as an instance of 'Select Reveal Handler'. 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 'Select Reveal Handler'.
- See Also:
-
doSwitch(EObject)
-
caseResourceAdapter
Returns the result of interpreting the object as an instance of 'Resource Adapter'. 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 'Resource Adapter'.
- See Also:
-
doSwitch(EObject)
-
caseClassMakerService
Returns the result of interpreting the object as an instance of 'Service'. 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 'Service'.
- See Also:
-
doSwitch(EObject)
-
caseBlueprint
Returns the result of interpreting the object as an instance of 'Blueprint'. 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 'Blueprint'.
- See Also:
-
doSwitch(EObject)
-
caseCompletionNotificationAdapter
Returns the result of interpreting the object as an instance of 'Completion Notification Adapter'. 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 'Completion Notification Adapter'.
- See Also:
-
doSwitch(EObject)
-
defaultCase
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<T1>
- 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)
-