SALT.assessment
Class Design

java.lang.Object
  extended by SALT.assessment.Design

public class Design
extends java.lang.Object

Contains all settings, which specify a subjective assessment.


Constructor Summary
Design()
          Constructs a Design with default values.
 
Method Summary
 void addAdditionalSubjectInfo(java.lang.String additionalInfo)
          Appends the specified additionalInfo element to the end of the additionalSubjectInfos list.
 void addMIDIButtonNumberContinuous(java.lang.Integer buttonNumberContinuous)
          Appends the specified buttonNumberContinuous element to the end of the MIDIButtonNumberContinuous List.
 void addMIDIControllerNumberOfButton(java.lang.Integer controllerNumberOfButtons)
          Appends the specified controllerNumberOfButtons element to the end of the MIDIControllerNumberOfButtons List.
 void addMIDIControllerNumberOfFader(java.lang.Integer controllerNumberOfFaders)
          Appends the specified controllerNumberOfFaders element to the end of the MIDIControllerNumberOfFaders List.
 void clear()
          Removes additionalSubjectInfos list, MIDIControllerNumberOfFaders list, HashMap for trials and items from the design.
 void clearMIDIButtonNumberContinuous()
          Removes all of the buttonNumberContinuous elements from the MIDIButtonNumberContinuous List.
 void clearMIDIControllerNumberOfButtons()
          Removes all of the controllerNumberOfButtons elements from the MIDIControllerNumberOfButtons List.
 void clearMIDIControllerNumberOfFaders()
          Removes all of the controllerNumberOfFaders elements from the MIDIControllerNumberOfFaders List.
 java.util.List<java.lang.String> getAdditionalSubjectInfos()
          Returns a list of additionalSubjectInfos.
 int getInputDevice()
          Returns the MIDI input device.
 int getMIDIButtonNumberBackward()
          Returns the MIDIButtonNumberBackward.
 java.util.List<java.lang.Integer> getMIDIButtonNumberContinuous()
          Returns the MIDIButtonNumberContinuous.
 int getMIDIButtonNumberForward()
          Returns the MIDIButtonNumberForward.
 int getMIDIChannelNumber()
          Returns the MIDIChannelNumber.
 java.util.List<java.lang.Integer> getMIDIControllerNumberOfButtons()
          Returns a list of MIDIControllerNumberOfButtons.
 java.util.List<java.lang.Integer> getMIDIControllerNumberOfFaders()
          Returns a list of MIDIControllerNumberOfFaders.
 int getMIDIDefaultValue()
          Returns the MIDIDefaultValue of a fader.
 int getNumberOfFaders()
          Returns the numberOfFaders.
 int getOutputDevice()
          Returns the outputdevice.
 java.lang.String getTargetFolder()
          Returns the targetFolder.
 int getTimeCodeInputDevice()
          Returns the MIDI time codeinput device.
 float getTimeSlice()
          Returns the timeslice.
 float getTotalTime()
          Returns the totalTime.
 boolean isContinuousButton()
          Returns a boolean.
 boolean isContinuousFader()
          Returns a boolean.
 void removeAdditionalSubjectInfo(java.lang.String additionalInfo)
          Removes the specified additionalInfo element from the additionalSubjectInfos list.
 void replaceMIDIControllerNumberOfButton(java.lang.Integer index, java.lang.Integer controllerNumberOfButtons)
          Replaces the controllerNumberOfButtons element at the specified position in the MIDIControllerNumberOfButtons list with the specified controllerNumberOfButtons element.
 void replaceMIDIControllerNumberOfFader(java.lang.Integer index, java.lang.Integer controllerNumberOfFaders)
          Replaces the controllerNumberOfFaders element at the specified position in the MIDIControllerNumberOfFaders list with the specified controllerNumberOfFaders element.
 void setAdditionalSubjectInfos(java.util.List<java.lang.String> additionalInfos)
          Sets a list of additionalSubjectInfos.
 void setContinuousButton(boolean continuousButton)
          Sets the continuousButton.
 void setContinuousFader(boolean continuousFader)
          Sets the continuousFader.
 void setInputDevice(int inputdevice)
          Sets the MIDI input device.
 void setMIDIButtonNumberBackward(int buttonNumberBackward)
          Sets the MIDIButtonNumberBackward.
 void setMIDIButtonNumberContinuous(java.util.List<java.lang.Integer> buttonNumberContinuous)
          Sets the MIDIButtonNumberContinuous.
 void setMIDIButtonNumberForward(int buttonNumberForward)
          Sets the MIDIButtonNumberForward.
 void setMIDIChannelNumber(int channelNumber)
          Sets the MIDIChannelNumber.
 void setMIDIControllerNumberOfButtons(java.util.List<java.lang.Integer> controllerNumberOfButtons)
          Sets a list of MIDIControllerNumberOfButtons.
 void setMIDIControllerNumberOfFaders(java.util.List<java.lang.Integer> controllerNumberOfFaders)
          Sets a list of MIDIControllerNumberOfFaders.
 void setMIDIDefaultValue(int defaultValue)
          Sets the MIDIDefaultValue of a fader.
 void setNumberOfFaders(int numberOfFaders)
          Sets the numberOfFaders.
 void setOutputDevice(int outputdevice)
          Sets the MIDI output device.
 void setTargetFolder(java.lang.String targetFolder)
          Sets the target folder of the sessions.
 void setTimeCodeInputDevice(int timeCodeinputdevice)
          Sets the MIDI time code input device.
 void setTimeSlice(float timeSlice)
          Sets the timeslice.
 void setTotalTime(float totalTime)
          Sets the totalTime.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Design

public Design()
Constructs a Design with default values.

Method Detail

getAdditionalSubjectInfos

public java.util.List<java.lang.String> getAdditionalSubjectInfos()
Returns a list of additionalSubjectInfos.

Returns:

setAdditionalSubjectInfos

public void setAdditionalSubjectInfos(java.util.List<java.lang.String> additionalInfos)
Sets a list of additionalSubjectInfos.

Parameters:
additionalInfos -

addAdditionalSubjectInfo

public void addAdditionalSubjectInfo(java.lang.String additionalInfo)
Appends the specified additionalInfo element to the end of the additionalSubjectInfos list.

Parameters:
additionalInfo -

removeAdditionalSubjectInfo

public void removeAdditionalSubjectInfo(java.lang.String additionalInfo)
Removes the specified additionalInfo element from the additionalSubjectInfos list.

Parameters:
additionalInfo -

getMIDIButtonNumberBackward

public int getMIDIButtonNumberBackward()
Returns the MIDIButtonNumberBackward.

Returns:
MIDIButtonNumberBackward

setMIDIButtonNumberBackward

public void setMIDIButtonNumberBackward(int buttonNumberBackward)
Sets the MIDIButtonNumberBackward.

Parameters:
buttonNumberBackward -

getMIDIButtonNumberForward

public int getMIDIButtonNumberForward()
Returns the MIDIButtonNumberForward.

Returns:

setMIDIButtonNumberForward

public void setMIDIButtonNumberForward(int buttonNumberForward)
Sets the MIDIButtonNumberForward.

Parameters:
buttonNumberForward -

getMIDIChannelNumber

public int getMIDIChannelNumber()
Returns the MIDIChannelNumber.

Returns:

getMIDIButtonNumberContinuous

public java.util.List<java.lang.Integer> getMIDIButtonNumberContinuous()
Returns the MIDIButtonNumberContinuous.

Returns:

setMIDIButtonNumberContinuous

public void setMIDIButtonNumberContinuous(java.util.List<java.lang.Integer> buttonNumberContinuous)
Sets the MIDIButtonNumberContinuous.

Parameters:
buttonNumberForward -

addMIDIButtonNumberContinuous

public void addMIDIButtonNumberContinuous(java.lang.Integer buttonNumberContinuous)
Appends the specified buttonNumberContinuous element to the end of the MIDIButtonNumberContinuous List.

Parameters:
buttonNumberContinuous -

clearMIDIButtonNumberContinuous

public void clearMIDIButtonNumberContinuous()
Removes all of the buttonNumberContinuous elements from the MIDIButtonNumberContinuous List.


setMIDIChannelNumber

public void setMIDIChannelNumber(int channelNumber)
Sets the MIDIChannelNumber.

Parameters:
channelNumber -

getMIDIControllerNumberOfFaders

public java.util.List<java.lang.Integer> getMIDIControllerNumberOfFaders()
Returns a list of MIDIControllerNumberOfFaders.

Returns:

setMIDIControllerNumberOfFaders

public void setMIDIControllerNumberOfFaders(java.util.List<java.lang.Integer> controllerNumberOfFaders)
Sets a list of MIDIControllerNumberOfFaders.

Parameters:
controllerNumberOfFaders -

addMIDIControllerNumberOfFader

public void addMIDIControllerNumberOfFader(java.lang.Integer controllerNumberOfFaders)
Appends the specified controllerNumberOfFaders element to the end of the MIDIControllerNumberOfFaders List.

Parameters:
controllerNumberOfFaders -

clearMIDIControllerNumberOfFaders

public void clearMIDIControllerNumberOfFaders()
Removes all of the controllerNumberOfFaders elements from the MIDIControllerNumberOfFaders List.


replaceMIDIControllerNumberOfFader

public void replaceMIDIControllerNumberOfFader(java.lang.Integer index,
                                               java.lang.Integer controllerNumberOfFaders)
Replaces the controllerNumberOfFaders element at the specified position in the MIDIControllerNumberOfFaders list with the specified controllerNumberOfFaders element.

Parameters:
index -
controllerNumberOfFaders -

getMIDIControllerNumberOfButtons

public java.util.List<java.lang.Integer> getMIDIControllerNumberOfButtons()
Returns a list of MIDIControllerNumberOfButtons.

Returns:

setMIDIControllerNumberOfButtons

public void setMIDIControllerNumberOfButtons(java.util.List<java.lang.Integer> controllerNumberOfButtons)
Sets a list of MIDIControllerNumberOfButtons.

Parameters:
controllerNumberOfButtons -

addMIDIControllerNumberOfButton

public void addMIDIControllerNumberOfButton(java.lang.Integer controllerNumberOfButtons)
Appends the specified controllerNumberOfButtons element to the end of the MIDIControllerNumberOfButtons List.

Parameters:
controllerNumberOfButtons -

clearMIDIControllerNumberOfButtons

public void clearMIDIControllerNumberOfButtons()
Removes all of the controllerNumberOfButtons elements from the MIDIControllerNumberOfButtons List.


replaceMIDIControllerNumberOfButton

public void replaceMIDIControllerNumberOfButton(java.lang.Integer index,
                                                java.lang.Integer controllerNumberOfButtons)
Replaces the controllerNumberOfButtons element at the specified position in the MIDIControllerNumberOfButtons list with the specified controllerNumberOfButtons element.

Parameters:
index -
controllerNumberOfButtons -

getMIDIDefaultValue

public int getMIDIDefaultValue()
Returns the MIDIDefaultValue of a fader.

Returns:

setMIDIDefaultValue

public void setMIDIDefaultValue(int defaultValue)
Sets the MIDIDefaultValue of a fader.

Parameters:
defaultValue -

getNumberOfFaders

public int getNumberOfFaders()
Returns the numberOfFaders.

Returns:
numberOfFaders

setNumberOfFaders

public void setNumberOfFaders(int numberOfFaders)
Sets the numberOfFaders.

Parameters:
numberOfFaders -

getTimeCodeInputDevice

public int getTimeCodeInputDevice()
Returns the MIDI time codeinput device. Stian

Returns:

setTimeCodeInputDevice

public void setTimeCodeInputDevice(int timeCodeinputdevice)
Sets the MIDI time code input device. Stian

Parameters:
inputdevice -

getInputDevice

public int getInputDevice()
Returns the MIDI input device.

Returns:

setInputDevice

public void setInputDevice(int inputdevice)
Sets the MIDI input device.

Parameters:
inputdevice -

getOutputDevice

public int getOutputDevice()
Returns the outputdevice.

Returns:
the MIDI output device

setOutputDevice

public void setOutputDevice(int outputdevice)
Sets the MIDI output device.

Parameters:
outputdevice -

getTargetFolder

public java.lang.String getTargetFolder()
Returns the targetFolder.

Returns:
the folder for the sessions

setTargetFolder

public void setTargetFolder(java.lang.String targetFolder)
Sets the target folder of the sessions.

Parameters:
targetFolder -

clear

public void clear()
Removes additionalSubjectInfos list, MIDIControllerNumberOfFaders list, HashMap for trials and items from the design.


isContinuousButton

public boolean isContinuousButton()
Returns a boolean.

Returns:

setContinuousButton

public void setContinuousButton(boolean continuousButton)
Sets the continuousButton.

Parameters:
continuousButton -

isContinuousFader

public boolean isContinuousFader()
Returns a boolean.

Returns:

setContinuousFader

public void setContinuousFader(boolean continuousFader)
Sets the continuousFader.

Parameters:
timeSlice -

getTimeSlice

public float getTimeSlice()
Returns the timeslice.

Returns:

setTimeSlice

public void setTimeSlice(float timeSlice)
Sets the timeslice.

Parameters:
timeSlice -

getTotalTime

public float getTotalTime()
Returns the totalTime.

Returns:

setTotalTime

public void setTotalTime(float totalTime)
Sets the totalTime.

Parameters:
totalTime -