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, setStep
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCurrentPosition, getMeasure, getOperationNumber, getPositionNumber, getStep, setMeasure, setOperationNumber, setPositionNumber, setStep
protected 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 SongEventKeyboardNote
protected EClass eStaticClass()
eStaticClass
in class SongEventImpl
public java.lang.String getEventInfo()
SongEventImpl
getEventInfo
in interface SongEvent
getEventInfo
in class SongEventImpl
EsxPackage.getSongEvent_EventInfo()
public java.lang.String getEventType()
SongEventImpl
getEventType
in interface SongEvent
getEventType
in class SongEventImpl
EsxPackage.getSongEvent_EventType()
public SongEventPart getPart()
getPart
in interface SongEventWithPart
SongEventPart
,
SongEventWithPart.setPart(SongEventPart)
,
EsxPackage.getSongEventWithPart_Part()
public void setPart(SongEventPart newPart)
setPart
in interface SongEventWithPart
newPart
- the new value of the 'Part' attribute.SongEventPart
,
SongEventWithPart.getPart()
public short getLength()
getLength
in interface SongEventKeyboardNote
SongEventKeyboardNote.setLength(short)
,
EsxPackage.getSongEventKeyboardNote_Length()
public void setLength(short newLength)
setLength
in interface SongEventKeyboardNote
newLength
- the new value of the 'Length' attribute.SongEventKeyboardNote.getLength()
public byte getNoteNumber()
getNoteNumber
in interface SongEventKeyboardNote
SongEventKeyboardNote.setNoteNumber(byte)
,
EsxPackage.getSongEventKeyboardNote_NoteNumber()
public void setNoteNumber(byte newNoteNumber)
setNoteNumber
in interface SongEventKeyboardNote
newNoteNumber
- the new value of the 'Note Number' attribute.SongEventKeyboardNote.getNoteNumber()
public byte[] toByteArray()
toByteArray
in interface SongEventKeyboardNote
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class SongEventImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in class SongEventImpl
public void eUnset(int featureID)
eUnset
in class SongEventImpl
public boolean eIsSet(int featureID)
eIsSet
in class SongEventImpl
public 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