public class EsxFileImpl extends EObjectImpl implements EsxFile
The following features are implemented:
Original Non Audio DataGlobal ParametersPatternsSongsSamplesEmpty PatternEmpty SongMax Sample OffsetMem Used In BytesMem Used In SecondsMem Free In BytesMem Free In SecondsNum Patterns EmptyNum Patterns Not EmptyNum Samples EmptyNum Samples Not EmptyNum Samples Mono EmptyNum Samples Mono Not EmptyNum Samples Stereo EmptyNum Samples Stereo Not EmptyNum Songs EmptyNum Songs Not EmptySync Patterns On Move EnabledSync Samples On Move Enabled| Modifier and Type | Field and Description |
|---|---|
protected Pattern |
emptyPattern
The cached value of the '
Empty Pattern' containment reference. |
protected Song |
emptySong
The cached value of the '
Empty Song' containment reference. |
protected GlobalParameters |
globalParameters
The cached value of the '
Global Parameters' containment reference. |
protected static int |
MAX_SAMPLE_OFFSET_EDEFAULT
The default value of the '
Max Sample Offset' attribute. |
protected int |
maxSampleOffset
The cached value of the '
Max Sample Offset' attribute. |
protected static int |
MEM_FREE_IN_BYTES_EDEFAULT
The default value of the '
Mem Free In Bytes' attribute. |
protected static float |
MEM_FREE_IN_SECONDS_EDEFAULT
The default value of the '
Mem Free In Seconds' attribute. |
protected static int |
MEM_USED_IN_BYTES_EDEFAULT
The default value of the '
Mem Used In Bytes' attribute. |
protected static float |
MEM_USED_IN_SECONDS_EDEFAULT
The default value of the '
Mem Used In Seconds' attribute. |
protected static int |
NUM_PATTERNS_EMPTY_EDEFAULT
The default value of the '
Num Patterns Empty' attribute. |
protected static int |
NUM_PATTERNS_NOT_EMPTY_EDEFAULT
The default value of the '
Num Patterns Not Empty' attribute. |
protected static int |
NUM_SAMPLES_EMPTY_EDEFAULT
The default value of the '
Num Samples Empty' attribute. |
protected static int |
NUM_SAMPLES_MONO_EMPTY_EDEFAULT
The default value of the '
Num Samples Mono Empty' attribute. |
protected static int |
NUM_SAMPLES_MONO_NOT_EMPTY_EDEFAULT
The default value of the '
Num Samples Mono Not Empty' attribute. |
protected static int |
NUM_SAMPLES_NOT_EMPTY_EDEFAULT
The default value of the '
Num Samples Not Empty' attribute. |
protected static int |
NUM_SAMPLES_STEREO_EMPTY_EDEFAULT
The default value of the '
Num Samples Stereo Empty' attribute. |
protected static int |
NUM_SAMPLES_STEREO_NOT_EMPTY_EDEFAULT
The default value of the '
Num Samples Stereo Not Empty' attribute. |
protected static int |
NUM_SONGS_EMPTY_EDEFAULT
The default value of the '
Num Songs Empty' attribute. |
protected static int |
NUM_SONGS_NOT_EMPTY_EDEFAULT
The default value of the '
Num Songs Not Empty' attribute. |
protected static byte[] |
ORIGINAL_NON_AUDIO_DATA_EDEFAULT
The default value of the '
Original Non Audio Data' attribute. |
protected byte[] |
originalNonAudioData
The cached value of the '
Original Non Audio Data' attribute. |
protected |
patterns
The cached value of the '
Patterns' containment reference list. |
protected |
samples
The cached value of the '
Samples' containment reference list. |
protected |
songs
The cached value of the '
Songs' containment reference list. |
protected static boolean |
SYNC_PATTERNS_ON_MOVE_ENABLED_EDEFAULT
The default value of the '
Sync Patterns On Move Enabled' attribute. |
protected static boolean |
SYNC_SAMPLES_ON_MOVE_ENABLED_EDEFAULT
The default value of the '
Sync Samples On Move Enabled' attribute. |
protected boolean |
syncPatternsOnMoveEnabled
The cached value of the '
Sync Patterns On Move Enabled' attribute. |
protected boolean |
syncSamplesOnMoveEnabled
The cached value of the '
Sync Samples On Move Enabled' attribute. |
| Modifier | Constructor and Description |
|---|---|
protected |
EsxFileImpl() |
| Modifier and Type | Method and Description |
|---|---|
NotificationChain |
basicSetEmptyPattern(Pattern newEmptyPattern,
NotificationChain msgs) |
NotificationChain |
basicSetEmptySong(Song newEmptySong,
NotificationChain msgs) |
NotificationChain |
basicSetGlobalParameters(GlobalParameters newGlobalParameters,
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) |
Pattern |
getEmptyPattern() |
Song |
getEmptySong() |
GlobalParameters |
getGlobalParameters() |
int |
getMaxSampleOffset() |
int |
getMemFreeInBytes() |
float |
getMemFreeInSeconds() |
int |
getMemUsedInBytes() |
float |
getMemUsedInSeconds() |
int |
getNumPatternsEmpty() |
int |
getNumPatternsNotEmpty() |
int |
getNumSamplesEmpty() |
int |
getNumSamplesMonoEmpty() |
int |
getNumSamplesMonoNotEmpty() |
int |
getNumSamplesNotEmpty() |
int |
getNumSamplesStereoEmpty() |
int |
getNumSamplesStereoNotEmpty() |
int |
getNumSongsEmpty() |
int |
getNumSongsNotEmpty() |
byte[] |
getOriginalNonAudioData() |
Pattern |
getPatternFromPointer(int patternPointer)
Will return null if patternPointer is invalid or out of bounds
|
|
getPatterns() |
Sample |
getSampleFromPointer(int samplePointer)
Will return null if samplePointer is invalid or out of bounds
|
|
getSamples() |
|
getSongs() |
void |
init(byte[] b) |
void |
init(byte[] b,
IProgressMonitor monitor) |
boolean |
isSyncPatternsOnMoveEnabled() |
boolean |
isSyncSamplesOnMoveEnabled() |
void |
setAllOffsets() |
void |
setEmptyPattern(Pattern newEmptyPattern) |
void |
setEmptySong(Song newEmptySong) |
void |
setGlobalParameters(GlobalParameters newGlobalParameters) |
void |
setMaxSampleOffset(int newMaxSampleOffset) |
void |
setOriginalNonAudioData(byte[] newOriginalNonAudioData) |
void |
setSyncPatternsOnMoveEnabled(boolean newSyncPatternsOnMoveEnabled) |
void |
setSyncSamplesOnMoveEnabled(boolean newSyncSamplesOnMoveEnabled) |
byte[] |
toByteArray() |
byte[] |
toByteArray(IProgressMonitor monitor) |
java.lang.String |
toString() |
boolean |
validMemFreeInBytes(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected static final byte[] ORIGINAL_NON_AUDIO_DATA_EDEFAULT
Original Non Audio Data' attribute.
getOriginalNonAudioData()protected byte[] originalNonAudioData
Original Non Audio Data' attribute.
getOriginalNonAudioData()protected GlobalParameters globalParameters
Global Parameters' containment reference.
getGlobalParameters()protectedpatterns
Patterns' containment reference list.
getPatterns()protectedsongs
Songs' containment reference list.
getSongs()protectedsamples
Samples' containment reference list.
getSamples()protected Pattern emptyPattern
Empty Pattern' containment reference.
getEmptyPattern()protected Song emptySong
Empty Song' containment reference.
getEmptySong()protected static final int MAX_SAMPLE_OFFSET_EDEFAULT
Max Sample Offset' attribute.
getMaxSampleOffset(),
Constant Field Valuesprotected int maxSampleOffset
Max Sample Offset' attribute.
getMaxSampleOffset()protected static final int MEM_USED_IN_BYTES_EDEFAULT
Mem Used In Bytes' attribute.
getMemUsedInBytes(),
Constant Field Valuesprotected static final float MEM_USED_IN_SECONDS_EDEFAULT
Mem Used In Seconds' attribute.
getMemUsedInSeconds(),
Constant Field Valuesprotected static final int MEM_FREE_IN_BYTES_EDEFAULT
Mem Free In Bytes' attribute.
getMemFreeInBytes(),
Constant Field Valuesprotected static final float MEM_FREE_IN_SECONDS_EDEFAULT
Mem Free In Seconds' attribute.
getMemFreeInSeconds(),
Constant Field Valuesprotected static final int NUM_PATTERNS_EMPTY_EDEFAULT
Num Patterns Empty' attribute.
getNumPatternsEmpty(),
Constant Field Valuesprotected static final int NUM_PATTERNS_NOT_EMPTY_EDEFAULT
Num Patterns Not Empty' attribute.
protected static final int NUM_SAMPLES_EMPTY_EDEFAULT
Num Samples Empty' attribute.
getNumSamplesEmpty(),
Constant Field Valuesprotected static final int NUM_SAMPLES_NOT_EMPTY_EDEFAULT
Num Samples Not Empty' attribute.
getNumSamplesNotEmpty(),
Constant Field Valuesprotected static final int NUM_SAMPLES_MONO_EMPTY_EDEFAULT
Num Samples Mono Empty' attribute.
protected static final int NUM_SAMPLES_MONO_NOT_EMPTY_EDEFAULT
Num Samples Mono Not Empty' attribute.
protected static final int NUM_SAMPLES_STEREO_EMPTY_EDEFAULT
Num Samples Stereo Empty' attribute.
protected static final int NUM_SAMPLES_STEREO_NOT_EMPTY_EDEFAULT
Num Samples Stereo Not Empty' attribute.
protected static final int NUM_SONGS_EMPTY_EDEFAULT
Num Songs Empty' attribute.
getNumSongsEmpty(),
Constant Field Valuesprotected static final int NUM_SONGS_NOT_EMPTY_EDEFAULT
Num Songs Not Empty' attribute.
getNumSongsNotEmpty(),
Constant Field Valuesprotected static final boolean SYNC_PATTERNS_ON_MOVE_ENABLED_EDEFAULT
Sync Patterns On Move Enabled' attribute.
protected boolean syncPatternsOnMoveEnabled
Sync Patterns On Move Enabled' attribute.
isSyncPatternsOnMoveEnabled()protected static final boolean SYNC_SAMPLES_ON_MOVE_ENABLED_EDEFAULT
Sync Samples On Move Enabled' attribute.
protected boolean syncSamplesOnMoveEnabled
Sync Samples On Move Enabled' attribute.
isSyncSamplesOnMoveEnabled()protected EClass eStaticClass()
public byte[] getOriginalNonAudioData()
getOriginalNonAudioData in interface EsxFileEsxFile.setOriginalNonAudioData(byte[]),
EsxPackage.getEsxFile_OriginalNonAudioData()public void setOriginalNonAudioData(byte[] newOriginalNonAudioData)
setOriginalNonAudioData in interface EsxFilenewOriginalNonAudioData - the new value of the 'Original Non Audio Data' attribute.EsxFile.getOriginalNonAudioData()public GlobalParameters getGlobalParameters()
getGlobalParameters in interface EsxFileEsxFile.setGlobalParameters(GlobalParameters),
EsxPackage.getEsxFile_GlobalParameters()public NotificationChain basicSetGlobalParameters(GlobalParameters newGlobalParameters, NotificationChain msgs)
public void setGlobalParameters(GlobalParameters newGlobalParameters)
setGlobalParameters in interface EsxFilenewGlobalParameters - the new value of the 'Global Parameters' containment reference.EsxFile.getGlobalParameters()publicgetPatterns()
getPatterns in interface EsxFileEsxPackage.getEsxFile_Patterns()publicgetSongs()
getSongs in interface EsxFileEsxPackage.getEsxFile_Songs()publicgetSamples()
getSamples in interface EsxFileEsxPackage.getEsxFile_Samples()public Pattern getEmptyPattern()
getEmptyPattern in interface EsxFileEsxFile.setEmptyPattern(Pattern),
EsxPackage.getEsxFile_EmptyPattern()public NotificationChain basicSetEmptyPattern(Pattern newEmptyPattern, NotificationChain msgs)
public void setEmptyPattern(Pattern newEmptyPattern)
setEmptyPattern in interface EsxFilenewEmptyPattern - the new value of the 'Empty Pattern' containment reference.EsxFile.getEmptyPattern()public Song getEmptySong()
getEmptySong in interface EsxFileEsxFile.setEmptySong(Song),
EsxPackage.getEsxFile_EmptySong()public NotificationChain basicSetEmptySong(Song newEmptySong, NotificationChain msgs)
public void setEmptySong(Song newEmptySong)
setEmptySong in interface EsxFilenewEmptySong - the new value of the 'Empty Song' containment reference.EsxFile.getEmptySong()public int getMaxSampleOffset()
getMaxSampleOffset in interface EsxFileEsxFile.setMaxSampleOffset(int),
EsxPackage.getEsxFile_MaxSampleOffset()public void setMaxSampleOffset(int newMaxSampleOffset)
setMaxSampleOffset in interface EsxFilenewMaxSampleOffset - the new value of the 'Max Sample Offset' attribute.EsxFile.getMaxSampleOffset()public int getMemUsedInBytes()
getMemUsedInBytes in interface EsxFileEsxPackage.getEsxFile_MemUsedInBytes()public float getMemUsedInSeconds()
getMemUsedInSeconds in interface EsxFileEsxPackage.getEsxFile_MemUsedInSeconds()public int getMemFreeInBytes()
getMemFreeInBytes in interface EsxFileEsxPackage.getEsxFile_MemFreeInBytes()public float getMemFreeInSeconds()
getMemFreeInSeconds in interface EsxFileEsxPackage.getEsxFile_MemFreeInSeconds()public int getNumPatternsEmpty()
getNumPatternsEmpty in interface EsxFileEsxPackage.getEsxFile_NumPatternsEmpty()public int getNumPatternsNotEmpty()
getNumPatternsNotEmpty in interface EsxFileEsxPackage.getEsxFile_NumPatternsNotEmpty()public int getNumSamplesEmpty()
getNumSamplesEmpty in interface EsxFileEsxPackage.getEsxFile_NumSamplesEmpty()public int getNumSamplesNotEmpty()
getNumSamplesNotEmpty in interface EsxFileEsxPackage.getEsxFile_NumSamplesNotEmpty()public int getNumSamplesMonoEmpty()
getNumSamplesMonoEmpty in interface EsxFileEsxPackage.getEsxFile_NumSamplesMonoEmpty()public int getNumSamplesMonoNotEmpty()
getNumSamplesMonoNotEmpty in interface EsxFileEsxPackage.getEsxFile_NumSamplesMonoNotEmpty()public int getNumSamplesStereoEmpty()
getNumSamplesStereoEmpty in interface EsxFileEsxPackage.getEsxFile_NumSamplesStereoEmpty()public int getNumSamplesStereoNotEmpty()
getNumSamplesStereoNotEmpty in interface EsxFileEsxPackage.getEsxFile_NumSamplesStereoNotEmpty()public int getNumSongsEmpty()
getNumSongsEmpty in interface EsxFileEsxPackage.getEsxFile_NumSongsEmpty()public int getNumSongsNotEmpty()
getNumSongsNotEmpty in interface EsxFileEsxPackage.getEsxFile_NumSongsNotEmpty()public boolean isSyncPatternsOnMoveEnabled()
isSyncPatternsOnMoveEnabled in interface EsxFileEsxFile.setSyncPatternsOnMoveEnabled(boolean),
EsxPackage.getEsxFile_SyncPatternsOnMoveEnabled()public void setSyncPatternsOnMoveEnabled(boolean newSyncPatternsOnMoveEnabled)
setSyncPatternsOnMoveEnabled in interface EsxFilenewSyncPatternsOnMoveEnabled - the new value of the 'Sync Patterns On Move Enabled' attribute.EsxFile.isSyncPatternsOnMoveEnabled()public boolean isSyncSamplesOnMoveEnabled()
isSyncSamplesOnMoveEnabled in interface EsxFileEsxFile.setSyncSamplesOnMoveEnabled(boolean),
EsxPackage.getEsxFile_SyncSamplesOnMoveEnabled()public void setSyncSamplesOnMoveEnabled(boolean newSyncSamplesOnMoveEnabled)
setSyncSamplesOnMoveEnabled in interface EsxFilenewSyncSamplesOnMoveEnabled - the new value of the 'Sync Samples On Move Enabled' attribute.EsxFile.isSyncSamplesOnMoveEnabled()public Pattern getPatternFromPointer(int patternPointer)
getPatternFromPointer in interface EsxFilepublic Sample getSampleFromPointer(int samplePointer)
getSampleFromPointer in interface EsxFilepublic void setAllOffsets()
setAllOffsets in interface EsxFilepublic byte[] toByteArray()
toByteArray in interface EsxFilepublic byte[] toByteArray(IProgressMonitor monitor)
toByteArray in interface EsxFilepublic boolean validMemFreeInBytes(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
validMemFreeInBytes in interface EsxFilepublic 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()