public interface InstrumentManager
Modifier and Type | Method and Description |
---|---|
void |
deleteInstrument(Instrument instrument)
delete an instrument
|
Instrument[] |
getInstrument(Scale scale)
Get the instruments associated to a scale
|
Instrument |
getInstrument(java.lang.String name)
Get an instrument by name
|
Instrument[] |
listInstruments()
Get All instruments
|
void |
saveInstrument(Instrument instrument)
Save an instrument
|
Instrument getInstrument(java.lang.String name)
name
- Instrument[] getInstrument(Scale scale)
scale
- Instrument[] listInstruments()
void saveInstrument(Instrument instrument) throws java.lang.Exception
instrument
- java.lang.Exception
void deleteInstrument(Instrument instrument) throws java.lang.Exception
instrument
- java.lang.Exception