diff options
author | 2021-08-03 18:42:39 +0900 | |
---|---|---|
committer | 2021-08-06 19:32:38 +0900 | |
commit | be4f78978faba3d3ceb88df02a7f93a2e09ff1e0 (patch) | |
tree | 1f3f1a96251ac4f655c8a96fc33d5d4ee779cd06 /rba.model.sound/src/rba/sound/util | |
parent | 71ca7c6cab863767ef30c8bd05b2bbfda8731cb5 (diff) |
Initial commit
Bug-AGL: SPEC-4033
Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Diffstat (limited to 'rba.model.sound/src/rba/sound/util')
-rw-r--r-- | rba.model.sound/src/rba/sound/util/RBASoundAdapterFactory.java | 723 | ||||
-rw-r--r-- | rba.model.sound/src/rba/sound/util/RBASoundSwitch.java | 827 |
2 files changed, 1550 insertions, 0 deletions
diff --git a/rba.model.sound/src/rba/sound/util/RBASoundAdapterFactory.java b/rba.model.sound/src/rba/sound/util/RBASoundAdapterFactory.java new file mode 100644 index 0000000..d5954cc --- /dev/null +++ b/rba.model.sound/src/rba/sound/util/RBASoundAdapterFactory.java @@ -0,0 +1,723 @@ +/** + */ +package rba.sound.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import rba.core.AbstractAllocatable; +import rba.core.AbstractContent; +import rba.core.Allocatable; +import rba.core.AllocatableSet; +import rba.core.Content; +import rba.core.ContentOperator; +import rba.core.ContentSet; +import rba.core.ContentState; +import rba.core.Expression; +import rba.core.ModelElement; +import rba.core.NamedElement; +import rba.core.Operator; +import rba.core.PackagableElement; +import rba.core.RuleObject; +import rba.core.SetExpression; + +import rba.core.SugarExpression; +import rba.core.SugarExpressionBase; +import rba.sound.*; + +/** + * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code> method for + * each class of the model. <!-- end-user-doc --> + * @see rba.sound.RBASoundPackage + * @generated + */ +public class RBASoundAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected static RBASoundPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public RBASoundAdapterFactory() { + if (modelPackage == null) { + modelPackage = RBASoundPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> This implementation + * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!-- + * end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject) object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected RBASoundSwitch<Adapter> modelSwitch = new RBASoundSwitch<Adapter>() { + @Override + public Adapter caseSoundContent(SoundContent object) { + return createSoundContentAdapter(); + } + + @Override + public Adapter caseSoundContentSet(SoundContentSet object) { + return createSoundContentSetAdapter(); + } + + @Override + public Adapter caseSoundContentState(SoundContentState object) { + return createSoundContentStateAdapter(); + } + + @Override + public Adapter caseZone(Zone object) { + return createZoneAdapter(); + } + + @Override + public Adapter caseZoneSet(ZoneSet object) { + return createZoneSetAdapter(); + } + + @Override + public Adapter caseSoundContentOperator(SoundContentOperator object) { + return createSoundContentOperatorAdapter(); + } + + @Override + public Adapter caseIsSounding(IsSounding object) { + return createIsSoundingAdapter(); + } + + @Override + public Adapter caseZoneOperator(ZoneOperator object) { + return createZoneOperatorAdapter(); + } + + @Override + public Adapter caseIsOutputted(IsOutputted object) { + return createIsOutputtedAdapter(); + } + + @Override + public Adapter caseIsMuted(IsMuted object) { + return createIsMutedAdapter(); + } + + @Override + public Adapter caseIsAttenuated(IsAttenuated object) { + return createIsAttenuatedAdapter(); + } + + @Override + public Adapter caseOutputtingSound(OutputtingSound object) { + return createOutputtingSoundAdapter(); + } + + @Override + public Adapter caseAllInstanceOfZone(AllInstanceOfZone object) { + return createAllInstanceOfZoneAdapter(); + } + + @Override + public Adapter caseAllInstanceOfSoundContent(AllInstanceOfSoundContent object) { + return createAllInstanceOfSoundContentAdapter(); + } + + @Override + public Adapter caseIsOutputtedOn(IsOutputtedOn object) { + return createIsOutputtedOnAdapter(); + } + + @Override + public Adapter caseIsChangedOutput(IsChangedOutput object) { + return createIsChangedOutputAdapter(); + } + + @Override + public Adapter caseIsTranslatedSoundTo(IsTranslatedSoundTo object) { + return createIsTranslatedSoundToAdapter(); + } + + @Override + public Adapter caseMuteLowerPriority(MuteLowerPriority object) { + return createMuteLowerPriorityAdapter(); + } + + @Override + public Adapter caseModelElement(ModelElement object) { + return createModelElementAdapter(); + } + + @Override + public Adapter caseNamedElement(NamedElement object) { + return createNamedElementAdapter(); + } + + @Override + public Adapter casePackagableElement(PackagableElement object) { + return createPackagableElementAdapter(); + } + + @Override + public Adapter caseRuleObject(RuleObject object) { + return createRuleObjectAdapter(); + } + + @Override + public Adapter caseAbstractContent(AbstractContent object) { + return createAbstractContentAdapter(); + } + + @Override + public Adapter caseContent(Content object) { + return createContentAdapter(); + } + + @Override + public Adapter caseContentSet(ContentSet object) { + return createContentSetAdapter(); + } + + @Override + public Adapter caseContentState(ContentState object) { + return createContentStateAdapter(); + } + + @Override + public Adapter caseAbstractAllocatable(AbstractAllocatable object) { + return createAbstractAllocatableAdapter(); + } + + @Override + public Adapter caseAllocatable(Allocatable object) { + return createAllocatableAdapter(); + } + + @Override + public Adapter caseAllocatableSet(AllocatableSet object) { + return createAllocatableSetAdapter(); + } + + @Override + public Adapter caseExpression(Expression object) { + return createExpressionAdapter(); + } + + @Override + public Adapter caseOperator(Operator object) { + return createOperatorAdapter(); + } + + @Override + public Adapter caseContentOperator(ContentOperator object) { + return createContentOperatorAdapter(); + } + + @Override + public Adapter caseSetExpression(SetExpression object) { + return createSetExpressionAdapter(); + } + + @Override + public Adapter caseSugarExpression(SugarExpression object) { + return createSugarExpressionAdapter(); + } + + @Override + public Adapter caseSugarExpressionBase(SugarExpressionBase object) { + return createSugarExpressionBaseAdapter(); + } + + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject) target); + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.SoundContent <em>Sound Content</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.SoundContent + * @generated + */ + public Adapter createSoundContentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.SoundContentSet <em>Sound Content Set</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.SoundContentSet + * @generated + */ + public Adapter createSoundContentSetAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.SoundContentState <em>Sound Content State</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.SoundContentState + * @generated + */ + public Adapter createSoundContentStateAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.Zone <em>Zone</em>}'. + * <!-- begin-user-doc --> This default + * implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch + * all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.Zone + * @generated + */ + public Adapter createZoneAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.ZoneSet <em>Zone Set</em>}'. + * <!-- begin-user-doc --> This + * default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance + * will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.ZoneSet + * @generated + */ + public Adapter createZoneSetAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.SoundContentOperator <em>Sound Content Operator</em>}'. + * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to + * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.SoundContentOperator + * @generated + */ + public Adapter createSoundContentOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.IsSounding <em>Is Sounding</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.IsSounding + * @generated + */ + public Adapter createIsSoundingAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.ZoneOperator <em>Zone Operator</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.ZoneOperator + * @generated + */ + public Adapter createZoneOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.IsOutputted <em>Is Outputted</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.IsOutputted + * @generated + */ + public Adapter createIsOutputtedAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.IsMuted <em>Is Muted</em>}'. + * <!-- begin-user-doc --> This + * default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance + * will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.IsMuted + * @generated + */ + public Adapter createIsMutedAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.IsAttenuated <em>Is Attenuated</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.IsAttenuated + * @generated + */ + public Adapter createIsAttenuatedAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.OutputtingSound <em>Outputting Sound</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.OutputtingSound + * @generated + */ + public Adapter createOutputtingSoundAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.AllInstanceOfZone <em>All Instance Of Zone</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.AllInstanceOfZone + * @generated + */ + public Adapter createAllInstanceOfZoneAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.AllInstanceOfSoundContent <em>All Instance Of Sound Content</em>}'. + * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's + * useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.AllInstanceOfSoundContent + * @generated + */ + public Adapter createAllInstanceOfSoundContentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.IsOutputtedOn <em>Is Outputted On</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.IsOutputtedOn + * @generated + */ + public Adapter createIsOutputtedOnAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.IsChangedOutput <em>Is Changed Output</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.IsChangedOutput + * @generated + */ + public Adapter createIsChangedOutputAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.IsTranslatedSoundTo <em>Is Translated Sound To</em>}'. + * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to + * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.IsTranslatedSoundTo + * @generated + */ + public Adapter createIsTranslatedSoundToAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.sound.MuteLowerPriority <em>Mute Lower Priority</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.sound.MuteLowerPriority + * @generated + */ + public Adapter createMuteLowerPriorityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.ModelElement <em>Model Element</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.ModelElement + * @generated + */ + public Adapter createModelElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.NamedElement <em>Named Element</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.NamedElement + * @generated + */ + public Adapter createNamedElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.PackagableElement <em>Packagable Element</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.PackagableElement + * @generated + */ + public Adapter createPackagableElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.RuleObject <em>Rule Object</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.RuleObject + * @generated + */ + public Adapter createRuleObjectAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.AbstractContent <em>Abstract Content</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.AbstractContent + * @generated + */ + public Adapter createAbstractContentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.Content <em>Content</em>}'. + * <!-- begin-user-doc --> This + * default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance + * will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.Content + * @generated + */ + public Adapter createContentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.ContentSet <em>Content Set</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.ContentSet + * @generated + */ + public Adapter createContentSetAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.ContentState <em>Content State</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.ContentState + * @generated + */ + public Adapter createContentStateAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.AbstractAllocatable <em>Abstract Allocatable</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.AbstractAllocatable + * @generated + */ + public Adapter createAbstractAllocatableAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.Allocatable <em>Allocatable</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.Allocatable + * @generated + */ + public Adapter createAllocatableAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.AllocatableSet <em>Allocatable Set</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.AllocatableSet + * @generated + */ + public Adapter createAllocatableSetAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.Expression <em>Expression</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.Expression + * @generated + */ + public Adapter createExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.Operator <em>Operator</em>}'. + * <!-- begin-user-doc --> This + * default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance + * will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.Operator + * @generated + */ + public Adapter createOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.ContentOperator <em>Content Operator</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.ContentOperator + * @generated + */ + public Adapter createContentOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.SetExpression <em>Set Expression</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.SetExpression + * @generated + */ + public Adapter createSetExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.SugarExpression <em>Sugar Expression</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.SugarExpression + * @generated + */ + public Adapter createSugarExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.SugarExpressionBase <em>Sugar Expression Base</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.SugarExpressionBase + * @generated + */ + public Adapter createSugarExpressionBaseAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> This default implementation returns null. <!-- + * end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} // RBASoundAdapterFactory diff --git a/rba.model.sound/src/rba/sound/util/RBASoundSwitch.java b/rba.model.sound/src/rba/sound/util/RBASoundSwitch.java new file mode 100644 index 0000000..7ffb514 --- /dev/null +++ b/rba.model.sound/src/rba/sound/util/RBASoundSwitch.java @@ -0,0 +1,827 @@ +/** + */ +package rba.sound.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import rba.core.AbstractAllocatable; +import rba.core.AbstractContent; +import rba.core.Allocatable; +import rba.core.AllocatableSet; +import rba.core.Content; +import rba.core.ContentOperator; +import rba.core.ContentSet; +import rba.core.ContentState; +import rba.core.Expression; +import rba.core.ModelElement; +import rba.core.NamedElement; +import rba.core.Operator; +import rba.core.PackagableElement; +import rba.core.RuleObject; +import rba.core.SetExpression; + +import rba.core.SugarExpression; +import rba.core.SugarExpressionBase; +import rba.sound.*; + +/** + * <!-- begin-user-doc --> The <b>Switch</b> for the model's inheritance hierarchy. It supports the call + * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> 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. <!-- end-user-doc --> + * @see rba.sound.RBASoundPackage + * @generated + */ +public class RBASoundSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected static RBASoundPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public RBASoundSwitch() { + if (modelPackage == null) { + modelPackage = RBASoundPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case RBASoundPackage.SOUND_CONTENT: { + SoundContent soundContent = (SoundContent) theEObject; + T result = caseSoundContent(soundContent); + if (result == null) + result = caseContent(soundContent); + if (result == null) + result = caseAbstractContent(soundContent); + if (result == null) + result = caseRuleObject(soundContent); + if (result == null) + result = casePackagableElement(soundContent); + if (result == null) + result = caseNamedElement(soundContent); + if (result == null) + result = caseModelElement(soundContent); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.SOUND_CONTENT_SET: { + SoundContentSet soundContentSet = (SoundContentSet) theEObject; + T result = caseSoundContentSet(soundContentSet); + if (result == null) + result = caseContentSet(soundContentSet); + if (result == null) + result = caseAbstractContent(soundContentSet); + if (result == null) + result = caseRuleObject(soundContentSet); + if (result == null) + result = casePackagableElement(soundContentSet); + if (result == null) + result = caseNamedElement(soundContentSet); + if (result == null) + result = caseModelElement(soundContentSet); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.SOUND_CONTENT_STATE: { + SoundContentState soundContentState = (SoundContentState) theEObject; + T result = caseSoundContentState(soundContentState); + if (result == null) + result = caseContentState(soundContentState); + if (result == null) + result = caseRuleObject(soundContentState); + if (result == null) + result = casePackagableElement(soundContentState); + if (result == null) + result = caseNamedElement(soundContentState); + if (result == null) + result = caseModelElement(soundContentState); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.ZONE: { + Zone zone = (Zone) theEObject; + T result = caseZone(zone); + if (result == null) + result = caseAllocatable(zone); + if (result == null) + result = caseAbstractAllocatable(zone); + if (result == null) + result = caseRuleObject(zone); + if (result == null) + result = casePackagableElement(zone); + if (result == null) + result = caseNamedElement(zone); + if (result == null) + result = caseModelElement(zone); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.ZONE_SET: { + ZoneSet zoneSet = (ZoneSet) theEObject; + T result = caseZoneSet(zoneSet); + if (result == null) + result = caseAllocatableSet(zoneSet); + if (result == null) + result = caseAbstractAllocatable(zoneSet); + if (result == null) + result = caseRuleObject(zoneSet); + if (result == null) + result = casePackagableElement(zoneSet); + if (result == null) + result = caseNamedElement(zoneSet); + if (result == null) + result = caseModelElement(zoneSet); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.SOUND_CONTENT_OPERATOR: { + SoundContentOperator soundContentOperator = (SoundContentOperator) theEObject; + T result = caseSoundContentOperator(soundContentOperator); + if (result == null) + result = caseContentOperator(soundContentOperator); + if (result == null) + result = caseOperator(soundContentOperator); + if (result == null) + result = caseExpression(soundContentOperator); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.IS_SOUNDING: { + IsSounding isSounding = (IsSounding) theEObject; + T result = caseIsSounding(isSounding); + if (result == null) + result = caseSoundContentOperator(isSounding); + if (result == null) + result = caseContentOperator(isSounding); + if (result == null) + result = caseOperator(isSounding); + if (result == null) + result = caseExpression(isSounding); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.ZONE_OPERATOR: { + ZoneOperator zoneOperator = (ZoneOperator) theEObject; + T result = caseZoneOperator(zoneOperator); + if (result == null) + result = caseOperator(zoneOperator); + if (result == null) + result = caseExpression(zoneOperator); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.IS_OUTPUTTED: { + IsOutputted isOutputted = (IsOutputted) theEObject; + T result = caseIsOutputted(isOutputted); + if (result == null) + result = caseZoneOperator(isOutputted); + if (result == null) + result = caseOperator(isOutputted); + if (result == null) + result = caseExpression(isOutputted); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.IS_MUTED: { + IsMuted isMuted = (IsMuted) theEObject; + T result = caseIsMuted(isMuted); + if (result == null) + result = caseZoneOperator(isMuted); + if (result == null) + result = caseOperator(isMuted); + if (result == null) + result = caseExpression(isMuted); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.IS_ATTENUATED: { + IsAttenuated isAttenuated = (IsAttenuated) theEObject; + T result = caseIsAttenuated(isAttenuated); + if (result == null) + result = caseZoneOperator(isAttenuated); + if (result == null) + result = caseOperator(isAttenuated); + if (result == null) + result = caseExpression(isAttenuated); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.OUTPUTTING_SOUND: { + OutputtingSound outputtingSound = (OutputtingSound) theEObject; + T result = caseOutputtingSound(outputtingSound); + if (result == null) + result = caseZoneOperator(outputtingSound); + if (result == null) + result = caseOperator(outputtingSound); + if (result == null) + result = caseExpression(outputtingSound); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.ALL_INSTANCE_OF_ZONE: { + AllInstanceOfZone allInstanceOfZone = (AllInstanceOfZone) theEObject; + T result = caseAllInstanceOfZone(allInstanceOfZone); + if (result == null) + result = caseSetExpression(allInstanceOfZone); + if (result == null) + result = caseExpression(allInstanceOfZone); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.ALL_INSTANCE_OF_SOUND_CONTENT: { + AllInstanceOfSoundContent allInstanceOfSoundContent = (AllInstanceOfSoundContent) theEObject; + T result = caseAllInstanceOfSoundContent(allInstanceOfSoundContent); + if (result == null) + result = caseSetExpression(allInstanceOfSoundContent); + if (result == null) + result = caseExpression(allInstanceOfSoundContent); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.IS_OUTPUTTED_ON: { + IsOutputtedOn isOutputtedOn = (IsOutputtedOn) theEObject; + T result = caseIsOutputtedOn(isOutputtedOn); + if (result == null) + result = caseSoundContentOperator(isOutputtedOn); + if (result == null) + result = caseSugarExpressionBase(isOutputtedOn); + if (result == null) + result = caseContentOperator(isOutputtedOn); + if (result == null) + result = caseSugarExpression(isOutputtedOn); + if (result == null) + result = caseOperator(isOutputtedOn); + if (result == null) + result = caseExpression(isOutputtedOn); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.IS_CHANGED_OUTPUT: { + IsChangedOutput isChangedOutput = (IsChangedOutput) theEObject; + T result = caseIsChangedOutput(isChangedOutput); + if (result == null) + result = caseZoneOperator(isChangedOutput); + if (result == null) + result = caseSugarExpressionBase(isChangedOutput); + if (result == null) + result = caseOperator(isChangedOutput); + if (result == null) + result = caseSugarExpression(isChangedOutput); + if (result == null) + result = caseExpression(isChangedOutput); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.IS_TRANSLATED_SOUND_TO: { + IsTranslatedSoundTo isTranslatedSoundTo = (IsTranslatedSoundTo) theEObject; + T result = caseIsTranslatedSoundTo(isTranslatedSoundTo); + if (result == null) + result = caseZoneOperator(isTranslatedSoundTo); + if (result == null) + result = caseSugarExpressionBase(isTranslatedSoundTo); + if (result == null) + result = caseOperator(isTranslatedSoundTo); + if (result == null) + result = caseSugarExpression(isTranslatedSoundTo); + if (result == null) + result = caseExpression(isTranslatedSoundTo); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBASoundPackage.MUTE_LOWER_PRIORITY: { + MuteLowerPriority muteLowerPriority = (MuteLowerPriority) theEObject; + T result = caseMuteLowerPriority(muteLowerPriority); + if (result == null) + result = caseOperator(muteLowerPriority); + if (result == null) + result = caseSugarExpressionBase(muteLowerPriority); + if (result == null) + result = caseExpression(muteLowerPriority); + if (result == null) + result = caseSugarExpression(muteLowerPriority); + if (result == null) + result = defaultCase(theEObject); + return result; + } + default: + return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Sound Content</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Sound Content</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSoundContent(SoundContent object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Sound Content Set</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Sound Content Set</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSoundContentSet(SoundContentSet object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Sound Content State</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Sound Content State</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSoundContentState(SoundContentState object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Zone</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Zone</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseZone(Zone object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Zone Set</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Zone Set</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseZoneSet(ZoneSet object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Sound Content Operator</em>'. + * <!-- begin-user-doc + * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Sound Content Operator</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSoundContentOperator(SoundContentOperator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Sounding</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Sounding</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsSounding(IsSounding object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Zone Operator</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Zone Operator</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseZoneOperator(ZoneOperator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Outputted</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Outputted</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsOutputted(IsOutputted object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Muted</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Muted</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsMuted(IsMuted object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Attenuated</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Attenuated</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsAttenuated(IsAttenuated object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Outputting Sound</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Outputting Sound</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOutputtingSound(OutputtingSound object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>All Instance Of Zone</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>All Instance Of Zone</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllInstanceOfZone(AllInstanceOfZone object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>All Instance Of Sound Content</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>All Instance Of Sound Content</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllInstanceOfSoundContent(AllInstanceOfSoundContent object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Outputted On</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Outputted On</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsOutputtedOn(IsOutputtedOn object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Changed Output</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Changed Output</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsChangedOutput(IsChangedOutput object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Translated Sound To</em>'. + * <!-- begin-user-doc + * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Translated Sound To</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsTranslatedSoundTo(IsTranslatedSoundTo object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Mute Lower Priority</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Mute Lower Priority</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMuteLowerPriority(MuteLowerPriority object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Model Element</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Model Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseModelElement(ModelElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Named Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNamedElement(NamedElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Packagable Element</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Packagable Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePackagableElement(PackagableElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Rule Object</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Rule Object</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRuleObject(RuleObject object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Abstract Content</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Abstract Content</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAbstractContent(AbstractContent object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Content</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Content</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContent(Content object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Content Set</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Content Set</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContentSet(ContentSet object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Content State</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Content State</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContentState(ContentState object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Abstract Allocatable</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Abstract Allocatable</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAbstractAllocatable(AbstractAllocatable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Allocatable</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Allocatable</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllocatable(Allocatable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Allocatable Set</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Allocatable Set</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllocatableSet(AllocatableSet object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Expression</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Expression</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExpression(Expression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Operator</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Operator</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOperator(Operator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Content Operator</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Content Operator</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContentOperator(ContentOperator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Set Expression</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Set Expression</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSetExpression(SetExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Sugar Expression</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Sugar Expression</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSugarExpression(SugarExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Sugar Expression Base</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Sugar Expression Base</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSugarExpressionBase(SugarExpressionBase object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} // RBASoundSwitch |