public class EsxSwitch<T> extends
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.
EsxPackage
Modifier and Type | Field and Description |
---|---|
protected static EsxPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
EsxSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseEsxFile(EsxFile object)
Returns the result of interpreting the object as an instance of 'File'.
|
T |
caseGlobalParameters(GlobalParameters object)
Returns the result of interpreting the object as an instance of 'Global Parameters'.
|
T |
caseMidiChannelType(MidiChannelType object)
Returns the result of interpreting the object as an instance of 'Midi Channel Type'.
|
T |
caseMidiControlChangeAssignment(MidiControlChangeAssignment object)
Returns the result of interpreting the object as an instance of 'Midi Control Change Assignment'.
|
T |
caseOperation(Operation object)
Returns the result of interpreting the object as an instance of 'Operation'.
|
T |
caseParametersFx(ParametersFx object)
Returns the result of interpreting the object as an instance of 'Parameters Fx'.
|
T |
caseParametersMotion(ParametersMotion object)
Returns the result of interpreting the object as an instance of 'Parameters Motion'.
|
T |
casePart(Part object)
Returns the result of interpreting the object as an instance of 'Part'.
|
T |
casePartAccent(PartAccent object)
Returns the result of interpreting the object as an instance of 'Part Accent'.
|
T |
casePartAudioIn(PartAudioIn object)
Returns the result of interpreting the object as an instance of 'Part Audio In'.
|
T |
casePartDrum(PartDrum object)
Returns the result of interpreting the object as an instance of 'Part Drum'.
|
T |
casePartKeyboard(PartKeyboard object)
Returns the result of interpreting the object as an instance of 'Part Keyboard'.
|
T |
casePartNoteNumber(PartNoteNumber object)
Returns the result of interpreting the object as an instance of 'Part Note Number'.
|
T |
casePartStretchSlice(PartStretchSlice object)
Returns the result of interpreting the object as an instance of 'Part Stretch Slice'.
|
T |
casePartWithCommon(PartWithCommon object)
Returns the result of interpreting the object as an instance of 'Part With Common'.
|
T |
casePartWithPitch(PartWithPitch object)
Returns the result of interpreting the object as an instance of 'Part With Pitch'.
|
T |
casePartWithSample(PartWithSample object)
Returns the result of interpreting the object as an instance of 'Part With Sample'.
|
T |
casePartWithSequenceData(PartWithSequenceData object)
Returns the result of interpreting the object as an instance of 'Part With Sequence Data'.
|
T |
casePartWithSequenceDataGate(PartWithSequenceDataGate object)
Returns the result of interpreting the object as an instance of 'Part With Sequence Data Gate'.
|
T |
casePartWithSlice(PartWithSlice object)
Returns the result of interpreting the object as an instance of 'Part With Slice'.
|
T |
casePattern(Pattern object)
Returns the result of interpreting the object as an instance of 'Pattern'.
|
T |
casePatternSetParameter(PatternSetParameter object)
Returns the result of interpreting the object as an instance of 'Pattern Set Parameter'.
|
T |
caseSample(Sample object)
Returns the result of interpreting the object as an instance of 'Sample'.
|
T |
caseSampleInPatternInfo(SampleInPatternInfo object)
Returns the result of interpreting the object as an instance of 'Sample In Pattern Info'.
|
T |
caseSampleTune(SampleTune object)
Returns the result of interpreting the object as an instance of 'Sample Tune'.
|
T |
caseSequenceData(SequenceData object)
Returns the result of interpreting the object as an instance of 'Sequence Data'.
|
T |
caseSequenceDataGate(SequenceDataGate object)
Returns the result of interpreting the object as an instance of 'Sequence Data Gate'.
|
T |
caseSequenceDataNote(SequenceDataNote object)
Returns the result of interpreting the object as an instance of 'Sequence Data Note'.
|
T |
caseSong(Song object)
Returns the result of interpreting the object as an instance of 'Song'.
|
T |
caseSongEvent(SongEvent object)
Returns the result of interpreting the object as an instance of 'Song Event'.
|
T |
caseSongEventControl(SongEventControl object)
Returns the result of interpreting the object as an instance of 'Song Event Control'.
|
T |
caseSongEventDrumNote(SongEventDrumNote object)
Returns the result of interpreting the object as an instance of 'Song Event Drum Note'.
|
T |
caseSongEventKeyboardNote(SongEventKeyboardNote object)
Returns the result of interpreting the object as an instance of 'Song Event Keyboard Note'.
|
T |
caseSongEventMuteStatus(SongEventMuteStatus object)
Returns the result of interpreting the object as an instance of 'Song Event Mute Status'.
|
T |
caseSongEventTempo(SongEventTempo object)
Returns the result of interpreting the object as an instance of 'Song Event Tempo'.
|
T |
caseSongEventWithPart(SongEventWithPart object)
Returns the result of interpreting the object as an instance of 'Song Event With Part'.
|
T |
caseSongPattern(SongPattern object)
Returns the result of interpreting the object as an instance of 'Song Pattern'.
|
T |
caseTempo(Tempo object)
Returns the result of interpreting the object as an instance of 'Tempo'.
|
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 EsxPackage modelPackage
protected boolean isSwitchFor(EPackage ePackage)
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 caseEsxFile(EsxFile object)
object
- the target of the switch.doSwitch(EObject)
public T caseGlobalParameters(GlobalParameters object)
object
- the target of the switch.doSwitch(EObject)
public T casePatternSetParameter(PatternSetParameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseMidiChannelType(MidiChannelType object)
object
- the target of the switch.doSwitch(EObject)
public T casePartNoteNumber(PartNoteNumber object)
object
- the target of the switch.doSwitch(EObject)
public T caseMidiControlChangeAssignment(MidiControlChangeAssignment object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperation(Operation object)
object
- the target of the switch.doSwitch(EObject)
public T caseParametersFx(ParametersFx object)
object
- the target of the switch.doSwitch(EObject)
public T caseParametersMotion(ParametersMotion object)
object
- the target of the switch.doSwitch(EObject)
public T caseSequenceData(SequenceData object)
object
- the target of the switch.doSwitch(EObject)
public T caseSequenceDataGate(SequenceDataGate object)
object
- the target of the switch.doSwitch(EObject)
public T caseSequenceDataNote(SequenceDataNote object)
object
- the target of the switch.doSwitch(EObject)
public T casePart(Part object)
object
- the target of the switch.doSwitch(EObject)
public T casePartWithSequenceData(PartWithSequenceData object)
object
- the target of the switch.doSwitch(EObject)
public T casePartWithCommon(PartWithCommon object)
object
- the target of the switch.doSwitch(EObject)
public T casePartWithSample(PartWithSample object)
object
- the target of the switch.doSwitch(EObject)
public T casePartWithSlice(PartWithSlice object)
object
- the target of the switch.doSwitch(EObject)
public T casePartWithPitch(PartWithPitch object)
object
- the target of the switch.doSwitch(EObject)
public T casePartWithSequenceDataGate(PartWithSequenceDataGate object)
object
- the target of the switch.doSwitch(EObject)
public T casePartAccent(PartAccent object)
object
- the target of the switch.doSwitch(EObject)
public T casePartAudioIn(PartAudioIn object)
object
- the target of the switch.doSwitch(EObject)
public T casePartDrum(PartDrum object)
object
- the target of the switch.doSwitch(EObject)
public T casePartKeyboard(PartKeyboard object)
object
- the target of the switch.doSwitch(EObject)
public T casePartStretchSlice(PartStretchSlice object)
object
- the target of the switch.doSwitch(EObject)
public T casePattern(Pattern object)
object
- the target of the switch.doSwitch(EObject)
public T caseSample(Sample object)
object
- the target of the switch.doSwitch(EObject)
public T caseSampleInPatternInfo(SampleInPatternInfo object)
object
- the target of the switch.doSwitch(EObject)
public T caseSampleTune(SampleTune object)
object
- the target of the switch.doSwitch(EObject)
public T caseSong(Song object)
object
- the target of the switch.doSwitch(EObject)
public T caseSongPattern(SongPattern object)
object
- the target of the switch.doSwitch(EObject)
public T caseTempo(Tempo object)
object
- the target of the switch.doSwitch(EObject)
public T caseSongEvent(SongEvent object)
object
- the target of the switch.doSwitch(EObject)
public T caseSongEventWithPart(SongEventWithPart object)
object
- the target of the switch.doSwitch(EObject)
public T caseSongEventControl(SongEventControl object)
object
- the target of the switch.doSwitch(EObject)
public T caseSongEventDrumNote(SongEventDrumNote object)
object
- the target of the switch.doSwitch(EObject)
public T caseSongEventKeyboardNote(SongEventKeyboardNote object)
object
- the target of the switch.doSwitch(EObject)
public T caseSongEventTempo(SongEventTempo object)
object
- the target of the switch.doSwitch(EObject)
public T caseSongEventMuteStatus(SongEventMuteStatus 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)