audiojury.domain
Class ConfigBase

java.lang.Object
  |
  +--audiojury.domain.ConfigBase
Direct Known Subclasses:
ConfigManager, ConfigPlugin

public class ConfigBase
extends java.lang.Object

Defines a number of configuration parameter and some constants with which it is possible to refer to the parameters.


Field Summary
static int APPLICATION_ROOT
          Parameter constant: The application root.
static int BROWSE_SOUND_PATH
          Parameter constant: Where user browsed for sound files last time.
static int PERSON_INFO
          Parameter constant: Informatin about a test subject.
static int PROJECTS_PATH
          Parameter constant: Where the administrator program stores all dynamic, active and closed projects.
static int REPORT_PATH
          Parameter constant: Where to put generated reports.
static int RESULT_PATH
          Parameter constant: Path to read/write project results.
static int SHARED_PATH
          Parameter constant: Path to "shared folder".
 
Constructor Summary
ConfigBase()
          Creates a new instance of ConfigBase
 
Method Summary
 java.lang.String getName(int type)
          Returns the name of a configuration parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_ROOT

public static final int APPLICATION_ROOT
Parameter constant: The application root.

See Also:
Constant Field Values

PROJECTS_PATH

public static final int PROJECTS_PATH
Parameter constant: Where the administrator program stores all dynamic, active and closed projects.

See Also:
Constant Field Values

REPORT_PATH

public static final int REPORT_PATH
Parameter constant: Where to put generated reports.

See Also:
Constant Field Values

BROWSE_SOUND_PATH

public static final int BROWSE_SOUND_PATH
Parameter constant: Where user browsed for sound files last time.

See Also:
Constant Field Values

SHARED_PATH

public static final int SHARED_PATH
Parameter constant: Path to "shared folder".

See Also:
Constant Field Values

RESULT_PATH

public static final int RESULT_PATH
Parameter constant: Path to read/write project results.

See Also:
Constant Field Values

PERSON_INFO

public static final int PERSON_INFO
Parameter constant: Informatin about a test subject.

See Also:
Constant Field Values
Constructor Detail

ConfigBase

public ConfigBase()
Creates a new instance of ConfigBase

Method Detail

getName

public java.lang.String getName(int type)
Returns the name of a configuration parameter.

Parameters:
type - A parameter constant.
Returns:
The name of the parameter.