Overview | Package | Class
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.log4jfugue
Class InstrumentVoice

Represents an instrument, which voice to play it in, and which log message causes the instrument to be played

author:
  brian tarbox

Field Summary
`String` | `instrumentName`
`Logger` | `log`
`String` | `searchString`
`int` | `voiceNumber`

Constructor Summary
`InstrumentVoice()`
`InstrumentVoice(int voiceNumber, String searchString, String instrumentName)` create a fully defined Instrument

Method Summary
`String` | `getInstrumentName()` basic accessor
`String` | `getSearchString()` basic accessor
`int` | `getVoiceNumber()` basic accessor
`void` | `setInstrumentName(String instrumentName)` basic mutator
`void` | `setSearchString(String searchString)` basic mutator
`void` | `setVoiceNumber(int voiceNumber)` basic mutator

Constructor Detail

### InstrumentVoice

    public InstrumentVoice()

### InstrumentVoice

    public InstrumentVoice(int voiceNumber, String searchString, String instrumentName)

  create a fully defined Instrument
  param:
    voiceNumber
  param:
    searchString
  param:
    instrumentName

Method Detail

### getInstrumentName

    public String getInstrumentName()

  basic accessor
  return:

### getSearchString

    public String getSearchString()

  basic accessor
  return:

### getVoiceNumber

    public int getVoiceNumber()

  basic accessor
  return:

### setInstrumentName

    public void setInstrumentName(String instrumentName)

  basic mutator
  param:
    voiceNumber

### setSearchString

    public void setSearchString(String searchString)

  basic mutator
  param:
    voiceNumber

### setVoiceNumber

    public void setVoiceNumber(int voiceNumber)

  basic mutator
  param:
    voiceNumber