public class SongEventKeyboardNoteImpl extends SongEventImpl implements SongEventKeyboardNote
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected short |
length
The cached value of the '
Length' attribute. |
protected static short |
LENGTH_EDEFAULT
The default value of the '
Length' attribute. |
protected static byte |
NOTE_NUMBER_EDEFAULT
The default value of the '
Note Number' attribute. |
protected byte |
noteNumber
The cached value of the '
Note Number' attribute. |
protected SongEventPart |
part
The cached value of the '
Part' attribute. |
protected static SongEventPart |
PART_EDEFAULT
The default value of the '
Part' attribute. |
CURRENT_POSITION_EDEFAULT, EVENT_INFO_EDEFAULT, EVENT_TYPE_EDEFAULT, measure, MEASURE_EDEFAULT, OPERATION_NUMBER_EDEFAULT, operationNumber, POSITION_NUMBER_EDEFAULT, positionNumber, step, STEP_EDEFAULT| Modifier | Constructor and Description |
|---|---|
protected |
SongEventKeyboardNoteImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.lang.String |
getEventInfo() |
java.lang.String |
getEventType() |
short |
getLength() |
byte |
getNoteNumber() |
SongEventPart |
getPart() |
void |
init(byte[] b) |
void |
setLength(short newLength) |
void |
setNoteNumber(byte newNoteNumber) |
void |
setPart(SongEventPart newPart) |
byte[] |
toByteArray() |
java.lang.String |
toString() |
getCurrentPosition, getMeasure, getOperationNumber, getPositionNumber, getStep, setMeasure, setOperationNumber, setPositionNumber, setStepclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCurrentPosition, getMeasure, getOperationNumber, getPositionNumber, getStep, setMeasure, setOperationNumber, setPositionNumber, setStepprotected static final SongEventPart PART_EDEFAULT
Part' attribute.
getPart()protected SongEventPart part
Part' attribute.
getPart()protected static final short LENGTH_EDEFAULT
Length' attribute.
getLength(),
Constant Field Valuesprotected short length
Length' attribute.
getLength()protected static final byte NOTE_NUMBER_EDEFAULT
Note Number' attribute.
getNoteNumber(),
Constant Field Valuesprotected byte noteNumber
Note Number' attribute.
getNoteNumber()public void init(byte[] b)
init in interface SongEventKeyboardNoteprotected EClass eStaticClass()
eStaticClass in class SongEventImplpublic java.lang.String getEventInfo()
SongEventImplgetEventInfo in interface SongEventgetEventInfo in class SongEventImplEsxPackage.getSongEvent_EventInfo()public java.lang.String getEventType()
SongEventImplgetEventType in interface SongEventgetEventType in class SongEventImplEsxPackage.getSongEvent_EventType()public SongEventPart getPart()
getPart in interface SongEventWithPartSongEventPart,
SongEventWithPart.setPart(SongEventPart),
EsxPackage.getSongEventWithPart_Part()public void setPart(SongEventPart newPart)
setPart in interface SongEventWithPartnewPart - the new value of the 'Part' attribute.SongEventPart,
SongEventWithPart.getPart()public short getLength()
getLength in interface SongEventKeyboardNoteSongEventKeyboardNote.setLength(short),
EsxPackage.getSongEventKeyboardNote_Length()public void setLength(short newLength)
setLength in interface SongEventKeyboardNotenewLength - the new value of the 'Length' attribute.SongEventKeyboardNote.getLength()public byte getNoteNumber()
getNoteNumber in interface SongEventKeyboardNoteSongEventKeyboardNote.setNoteNumber(byte),
EsxPackage.getSongEventKeyboardNote_NoteNumber()public void setNoteNumber(byte newNoteNumber)
setNoteNumber in interface SongEventKeyboardNotenewNoteNumber - the new value of the 'Note Number' attribute.SongEventKeyboardNote.getNoteNumber()public byte[] toByteArray()
toByteArray in interface SongEventKeyboardNotepublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class SongEventImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in class SongEventImplpublic void eUnset(int featureID)
eUnset in class SongEventImplpublic boolean eIsSet(int featureID)
eIsSet in class SongEventImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
public java.lang.String toString()
toString in class SongEventImpl