public class PatternImpl extends EObjectImpl implements Pattern
The following features are implemented:
NameLabelTempoSwingPattern LengthReserved Bit After Pattern LengthBeatRoll TypeFx ChainLast StepArpeggiator ScaleReserved Bits After Arpeggiator ScaleArpeggiator Center NoteMute StatusSwing StatusOutput Bus StatusAccent StatusDrum PartsKeyboard PartsStretch Slice PartsAudio In PartAccent PartFx ParametersMotion ParametersEmptyPattern Number OriginalPattern Number Current| Modifier and Type | Field and Description |
|---|---|
protected static short |
ACCENT_STATUS_EDEFAULT
The default value of the '
Accent Status' attribute. |
protected PartAccent |
accentPart
The cached value of the '
Accent Part' containment reference. |
protected short |
accentStatus
The cached value of the '
Accent Status' attribute. |
protected static NoteNumber |
ARPEGGIATOR_CENTER_NOTE_EDEFAULT
The default value of the '
Arpeggiator Center Note' attribute. |
protected static ArpeggiatorScale |
ARPEGGIATOR_SCALE_EDEFAULT
The default value of the '
Arpeggiator Scale' attribute. |
protected NoteNumber |
arpeggiatorCenterNote
The cached value of the '
Arpeggiator Center Note' attribute. |
protected ArpeggiatorScale |
arpeggiatorScale
The cached value of the '
Arpeggiator Scale' attribute. |
protected PartAudioIn |
audioInPart
The cached value of the '
Audio In Part' containment reference. |
protected Beat |
beat
The cached value of the '
Beat' attribute. |
protected static Beat |
BEAT_EDEFAULT
The default value of the '
Beat' attribute. |
protected |
drumParts
The cached value of the '
Drum Parts' containment reference list. |
protected static boolean |
EMPTY_EDEFAULT
The default value of the '
Empty' attribute. |
protected static FxChain |
FX_CHAIN_EDEFAULT
The default value of the '
Fx Chain' attribute. |
protected FxChain |
fxChain
The cached value of the '
Fx Chain' attribute. |
protected |
fxParameters
The cached value of the '
Fx Parameters' containment reference list. |
protected |
keyboardParts
The cached value of the '
Keyboard Parts' containment reference list. |
protected static java.lang.String |
LABEL_EDEFAULT
The default value of the '
Label' attribute. |
protected static LastStep |
LAST_STEP_EDEFAULT
The default value of the '
Last Step' attribute. |
protected LastStep |
lastStep
The cached value of the '
Last Step' attribute. |
protected |
motionParameters
The cached value of the '
Motion Parameters' containment reference list. |
protected static short |
MUTE_STATUS_EDEFAULT
The default value of the '
Mute Status' attribute. |
protected short |
muteStatus
The cached value of the '
Mute Status' attribute. |
protected java.lang.String |
name
The cached value of the '
Name' attribute. |
protected static java.lang.String |
NAME_EDEFAULT
The default value of the '
Name' attribute. |
protected static short |
OUTPUT_BUS_STATUS_EDEFAULT
The default value of the '
Output Bus Status' attribute. |
protected short |
outputBusStatus
The cached value of the '
Output Bus Status' attribute. |
protected static PatternLength |
PATTERN_LENGTH_EDEFAULT
The default value of the '
Pattern Length' attribute. |
protected static PatternNumber |
PATTERN_NUMBER_CURRENT_EDEFAULT
The default value of the '
Pattern Number Current' attribute. |
protected static PatternNumber |
PATTERN_NUMBER_ORIGINAL_EDEFAULT
The default value of the '
Pattern Number Original' attribute. |
protected PatternLength |
patternLength
The cached value of the '
Pattern Length' attribute. |
protected PatternNumber |
patternNumberOriginal
The cached value of the '
Pattern Number Original' attribute. |
protected static byte |
RESERVED_BIT_AFTER_PATTERN_LENGTH_EDEFAULT
The default value of the '
Reserved Bit After Pattern Length' attribute. |
protected static byte |
RESERVED_BITS_AFTER_ARPEGGIATOR_SCALE_EDEFAULT
The default value of the '
Reserved Bits After Arpeggiator Scale' attribute. |
protected byte |
reservedBitAfterPatternLength
The cached value of the '
Reserved Bit After Pattern Length' attribute. |
protected byte |
reservedBitsAfterArpeggiatorScale
The cached value of the '
Reserved Bits After Arpeggiator Scale' attribute. |
protected static RollType |
ROLL_TYPE_EDEFAULT
The default value of the '
Roll Type' attribute. |
protected RollType |
rollType
The cached value of the '
Roll Type' attribute. |
protected |
stretchSliceParts
The cached value of the '
Stretch Slice Parts' containment reference list. |
protected Swing |
swing
The cached value of the '
Swing' attribute. |
protected static Swing |
SWING_EDEFAULT
The default value of the '
Swing' attribute. |
protected static short |
SWING_STATUS_EDEFAULT
The default value of the '
Swing Status' attribute. |
protected short |
swingStatus
The cached value of the '
Swing Status' attribute. |
protected Tempo |
tempo
The cached value of the '
Tempo' containment reference. |
| Modifier | Constructor and Description |
|---|---|
protected |
PatternImpl() |
| Modifier and Type | Method and Description |
|---|---|
NotificationChain |
basicSetAccentPart(PartAccent newAccentPart,
NotificationChain msgs) |
NotificationChain |
basicSetAudioInPart(PartAudioIn newAudioInPart,
NotificationChain msgs) |
NotificationChain |
basicSetTempo(Tempo newTempo,
NotificationChain msgs) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
PartAccent |
getAccentPart() |
short |
getAccentStatus() |
NoteNumber |
getArpeggiatorCenterNote() |
ArpeggiatorScale |
getArpeggiatorScale() |
PartAudioIn |
getAudioInPart() |
Beat |
getBeat() |
|
getDrumParts() |
FxChain |
getFxChain() |
|
getFxParameters() |
|
getKeyboardParts() |
java.lang.String |
getLabel() |
LastStep |
getLastStep() |
|
getMotionParameters() |
short |
getMuteStatus() |
java.lang.String |
getName() |
short |
getOutputBusStatus() |
PatternLength |
getPatternLength() |
PatternNumber |
getPatternNumberCurrent() |
PatternNumber |
getPatternNumberOriginal() |
byte |
getReservedBitAfterPatternLength() |
byte |
getReservedBitsAfterArpeggiatorScale() |
RollType |
getRollType() |
|
getStretchSliceParts() |
Swing |
getSwing() |
short |
getSwingStatus() |
Tempo |
getTempo() |
void |
init(byte[] b) |
void |
init(byte[] b,
int patternNumber) |
boolean |
isEmpty() |
void |
setAccentPart(PartAccent newAccentPart) |
void |
setAccentStatus(short newAccentStatus) |
void |
setArpeggiatorCenterNote(NoteNumber newArpeggiatorCenterNote) |
void |
setArpeggiatorScale(ArpeggiatorScale newArpeggiatorScale) |
void |
setAudioInPart(PartAudioIn newAudioInPart) |
void |
setBeat(Beat newBeat) |
void |
setFxChain(FxChain newFxChain) |
void |
setLastStep(LastStep newLastStep) |
void |
setMuteStatus(short newMuteStatus) |
void |
setName(java.lang.String newName) |
void |
setOutputBusStatus(short newOutputBusStatus) |
void |
setPatternLength(PatternLength newPatternLength) |
void |
setPatternNumberOriginal(PatternNumber newPatternNumberOriginal) |
void |
setReservedBitAfterPatternLength(byte newReservedBitAfterPatternLength) |
void |
setReservedBitsAfterArpeggiatorScale(byte newReservedBitsAfterArpeggiatorScale) |
void |
setRollType(RollType newRollType) |
void |
setSwing(Swing newSwing) |
void |
setSwingStatus(short newSwingStatus) |
void |
setTempo(Tempo newTempo) |
byte[] |
toByteArray() |
java.lang.String |
toString() |
protected static final java.lang.String NAME_EDEFAULT
Name' attribute.
getName()protected static final java.lang.String LABEL_EDEFAULT
Label' attribute.
getLabel(),
Constant Field Valuesprotected Tempo tempo
Tempo' containment reference.
getTempo()protected static final Swing SWING_EDEFAULT
Swing' attribute.
getSwing()protected Swing swing
Swing' attribute.
getSwing()protected static final PatternLength PATTERN_LENGTH_EDEFAULT
Pattern Length' attribute.
getPatternLength()protected PatternLength patternLength
Pattern Length' attribute.
getPatternLength()protected static final byte RESERVED_BIT_AFTER_PATTERN_LENGTH_EDEFAULT
Reserved Bit After Pattern Length' attribute.
protected byte reservedBitAfterPatternLength
Reserved Bit After Pattern Length' attribute.
getReservedBitAfterPatternLength()protected static final Beat BEAT_EDEFAULT
Beat' attribute.
getBeat()protected static final RollType ROLL_TYPE_EDEFAULT
Roll Type' attribute.
getRollType()protected RollType rollType
Roll Type' attribute.
getRollType()protected static final FxChain FX_CHAIN_EDEFAULT
Fx Chain' attribute.
getFxChain()protected FxChain fxChain
Fx Chain' attribute.
getFxChain()protected static final LastStep LAST_STEP_EDEFAULT
Last Step' attribute.
getLastStep()protected LastStep lastStep
Last Step' attribute.
getLastStep()protected static final ArpeggiatorScale ARPEGGIATOR_SCALE_EDEFAULT
Arpeggiator Scale' attribute.
getArpeggiatorScale()protected ArpeggiatorScale arpeggiatorScale
Arpeggiator Scale' attribute.
getArpeggiatorScale()protected static final byte RESERVED_BITS_AFTER_ARPEGGIATOR_SCALE_EDEFAULT
Reserved Bits After Arpeggiator Scale' attribute.
protected byte reservedBitsAfterArpeggiatorScale
Reserved Bits After Arpeggiator Scale' attribute.
protected static final NoteNumber ARPEGGIATOR_CENTER_NOTE_EDEFAULT
Arpeggiator Center Note' attribute.
getArpeggiatorCenterNote()protected NoteNumber arpeggiatorCenterNote
Arpeggiator Center Note' attribute.
getArpeggiatorCenterNote()protected static final short MUTE_STATUS_EDEFAULT
Mute Status' attribute.
getMuteStatus(),
Constant Field Valuesprotected short muteStatus
Mute Status' attribute.
getMuteStatus()protected static final short SWING_STATUS_EDEFAULT
Swing Status' attribute.
getSwingStatus(),
Constant Field Valuesprotected short swingStatus
Swing Status' attribute.
getSwingStatus()protected static final short OUTPUT_BUS_STATUS_EDEFAULT
Output Bus Status' attribute.
getOutputBusStatus(),
Constant Field Valuesprotected short outputBusStatus
Output Bus Status' attribute.
getOutputBusStatus()protected static final short ACCENT_STATUS_EDEFAULT
Accent Status' attribute.
getAccentStatus(),
Constant Field Valuesprotected short accentStatus
Accent Status' attribute.
getAccentStatus()protecteddrumParts
Drum Parts' containment reference list.
getDrumParts()protectedkeyboardParts
Keyboard Parts' containment reference list.
getKeyboardParts()protectedstretchSliceParts
Stretch Slice Parts' containment reference list.
getStretchSliceParts()protected PartAudioIn audioInPart
Audio In Part' containment reference.
getAudioInPart()protected PartAccent accentPart
Accent Part' containment reference.
getAccentPart()protectedfxParameters
Fx Parameters' containment reference list.
getFxParameters()protectedmotionParameters
Motion Parameters' containment reference list.
getMotionParameters()protected static final boolean EMPTY_EDEFAULT
Empty' attribute.
isEmpty(),
Constant Field Valuesprotected static final PatternNumber PATTERN_NUMBER_ORIGINAL_EDEFAULT
Pattern Number Original' attribute.
getPatternNumberOriginal()protected PatternNumber patternNumberOriginal
Pattern Number Original' attribute.
getPatternNumberOriginal()protected static final PatternNumber PATTERN_NUMBER_CURRENT_EDEFAULT
Pattern Number Current' attribute.
getPatternNumberCurrent()protected EClass eStaticClass()
public java.lang.String getName()
getName in interface PatternPattern.setName(String),
EsxPackage.getPattern_Name()public void setName(java.lang.String newName)
setName in interface PatternnewName - the new value of the 'Name' attribute.Pattern.getName()public java.lang.String getLabel()
getLabel in interface PatternEsxPackage.getPattern_Label()public Tempo getTempo()
getTempo in interface PatternPattern.setTempo(Tempo),
EsxPackage.getPattern_Tempo()public NotificationChain basicSetTempo(Tempo newTempo, NotificationChain msgs)
public void setTempo(Tempo newTempo)
setTempo in interface PatternnewTempo - the new value of the 'Tempo' containment reference.Pattern.getTempo()public Swing getSwing()
getSwing in interface PatternSwing,
Pattern.setSwing(Swing),
EsxPackage.getPattern_Swing()public void setSwing(Swing newSwing)
setSwing in interface PatternnewSwing - the new value of the 'Swing' attribute.Swing,
Pattern.getSwing()public PatternLength getPatternLength()
getPatternLength in interface PatternPatternLength,
Pattern.setPatternLength(PatternLength),
EsxPackage.getPattern_PatternLength()public void setPatternLength(PatternLength newPatternLength)
setPatternLength in interface PatternnewPatternLength - the new value of the 'Pattern Length' attribute.PatternLength,
Pattern.getPatternLength()public byte getReservedBitAfterPatternLength()
getReservedBitAfterPatternLength in interface PatternPattern.setReservedBitAfterPatternLength(byte),
EsxPackage.getPattern_ReservedBitAfterPatternLength()public void setReservedBitAfterPatternLength(byte newReservedBitAfterPatternLength)
setReservedBitAfterPatternLength in interface PatternnewReservedBitAfterPatternLength - the new value of the 'Reserved Bit After Pattern Length' attribute.Pattern.getReservedBitAfterPatternLength()public Beat getBeat()
getBeat in interface PatternBeat,
Pattern.setBeat(Beat),
EsxPackage.getPattern_Beat()public void setBeat(Beat newBeat)
setBeat in interface PatternnewBeat - the new value of the 'Beat' attribute.Beat,
Pattern.getBeat()public RollType getRollType()
getRollType in interface PatternRollType,
Pattern.setRollType(RollType),
EsxPackage.getPattern_RollType()public void setRollType(RollType newRollType)
setRollType in interface PatternnewRollType - the new value of the 'Roll Type' attribute.RollType,
Pattern.getRollType()public FxChain getFxChain()
getFxChain in interface PatternFxChain,
Pattern.setFxChain(FxChain),
EsxPackage.getPattern_FxChain()public void setFxChain(FxChain newFxChain)
setFxChain in interface PatternnewFxChain - the new value of the 'Fx Chain' attribute.FxChain,
Pattern.getFxChain()public LastStep getLastStep()
getLastStep in interface PatternLastStep,
Pattern.setLastStep(LastStep),
EsxPackage.getPattern_LastStep()public void setLastStep(LastStep newLastStep)
setLastStep in interface PatternnewLastStep - the new value of the 'Last Step' attribute.LastStep,
Pattern.getLastStep()public ArpeggiatorScale getArpeggiatorScale()
getArpeggiatorScale in interface PatternArpeggiatorScale,
Pattern.setArpeggiatorScale(ArpeggiatorScale),
EsxPackage.getPattern_ArpeggiatorScale()public void setArpeggiatorScale(ArpeggiatorScale newArpeggiatorScale)
setArpeggiatorScale in interface PatternnewArpeggiatorScale - the new value of the 'Arpeggiator Scale' attribute.ArpeggiatorScale,
Pattern.getArpeggiatorScale()public byte getReservedBitsAfterArpeggiatorScale()
getReservedBitsAfterArpeggiatorScale in interface PatternPattern.setReservedBitsAfterArpeggiatorScale(byte),
EsxPackage.getPattern_ReservedBitsAfterArpeggiatorScale()public void setReservedBitsAfterArpeggiatorScale(byte newReservedBitsAfterArpeggiatorScale)
setReservedBitsAfterArpeggiatorScale in interface PatternnewReservedBitsAfterArpeggiatorScale - the new value of the 'Reserved Bits After Arpeggiator Scale' attribute.Pattern.getReservedBitsAfterArpeggiatorScale()public NoteNumber getArpeggiatorCenterNote()
getArpeggiatorCenterNote in interface PatternNoteNumber,
Pattern.setArpeggiatorCenterNote(NoteNumber),
EsxPackage.getPattern_ArpeggiatorCenterNote()public void setArpeggiatorCenterNote(NoteNumber newArpeggiatorCenterNote)
setArpeggiatorCenterNote in interface PatternnewArpeggiatorCenterNote - the new value of the 'Arpeggiator Center Note' attribute.NoteNumber,
Pattern.getArpeggiatorCenterNote()public short getMuteStatus()
getMuteStatus in interface PatternPattern.setMuteStatus(short),
EsxPackage.getPattern_MuteStatus()public void setMuteStatus(short newMuteStatus)
setMuteStatus in interface PatternnewMuteStatus - the new value of the 'Mute Status' attribute.Pattern.getMuteStatus()public short getSwingStatus()
getSwingStatus in interface PatternPattern.setSwingStatus(short),
EsxPackage.getPattern_SwingStatus()public void setSwingStatus(short newSwingStatus)
setSwingStatus in interface PatternnewSwingStatus - the new value of the 'Swing Status' attribute.Pattern.getSwingStatus()public short getOutputBusStatus()
getOutputBusStatus in interface PatternPattern.setOutputBusStatus(short),
EsxPackage.getPattern_OutputBusStatus()public void setOutputBusStatus(short newOutputBusStatus)
setOutputBusStatus in interface PatternnewOutputBusStatus - the new value of the 'Output Bus Status' attribute.Pattern.getOutputBusStatus()public short getAccentStatus()
getAccentStatus in interface PatternPattern.setAccentStatus(short),
EsxPackage.getPattern_AccentStatus()public void setAccentStatus(short newAccentStatus)
setAccentStatus in interface PatternnewAccentStatus - the new value of the 'Accent Status' attribute.Pattern.getAccentStatus()publicgetDrumParts()
getDrumParts in interface PatternEsxPackage.getPattern_DrumParts()publicgetKeyboardParts()
getKeyboardParts in interface PatternEsxPackage.getPattern_KeyboardParts()publicgetStretchSliceParts()
getStretchSliceParts in interface PatternEsxPackage.getPattern_StretchSliceParts()public PartAudioIn getAudioInPart()
getAudioInPart in interface PatternPattern.setAudioInPart(PartAudioIn),
EsxPackage.getPattern_AudioInPart()public NotificationChain basicSetAudioInPart(PartAudioIn newAudioInPart, NotificationChain msgs)
public void setAudioInPart(PartAudioIn newAudioInPart)
setAudioInPart in interface PatternnewAudioInPart - the new value of the 'Audio In Part' containment reference.Pattern.getAudioInPart()public PartAccent getAccentPart()
getAccentPart in interface PatternPattern.setAccentPart(PartAccent),
EsxPackage.getPattern_AccentPart()public NotificationChain basicSetAccentPart(PartAccent newAccentPart, NotificationChain msgs)
public void setAccentPart(PartAccent newAccentPart)
setAccentPart in interface PatternnewAccentPart - the new value of the 'Accent Part' containment reference.Pattern.getAccentPart()publicgetFxParameters()
getFxParameters in interface PatternEsxPackage.getPattern_FxParameters()publicgetMotionParameters()
getMotionParameters in interface PatternEsxPackage.getPattern_MotionParameters()public boolean isEmpty()
isEmpty in interface PatternEsxPackage.getPattern_Empty()public PatternNumber getPatternNumberOriginal()
getPatternNumberOriginal in interface PatternPatternNumber,
Pattern.setPatternNumberOriginal(PatternNumber),
EsxPackage.getPattern_PatternNumberOriginal()public void setPatternNumberOriginal(PatternNumber newPatternNumberOriginal)
setPatternNumberOriginal in interface PatternnewPatternNumberOriginal - the new value of the 'Pattern Number Original' attribute.PatternNumber,
Pattern.getPatternNumberOriginal()public PatternNumber getPatternNumberCurrent()
getPatternNumberCurrent in interface PatternPatternNumber,
EsxPackage.getPattern_PatternNumberCurrent()public byte[] toByteArray()
toByteArray in interface Patternpublic NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
public void eSet(int featureID,
java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public java.lang.String toString()