de.cesr.parma.definition
Enum PmFrameworkPa

java.lang.Object
  extended by java.lang.Enum<PmFrameworkPa>
      extended by de.cesr.parma.definition.PmFrameworkPa
All Implemented Interfaces:
PmParameterDefinition, Serializable, Comparable<PmFrameworkPa>

public enum PmFrameworkPa
extends Enum<PmFrameworkPa>
implements PmParameterDefinition

PARameter MAnager


Enum Constant Summary
DB_SETTINGS_FILE
          Location of XML file that specifies database settings:
DBNAME
          MySQL database name
LOCATION
          MySQL server
PARAM_SET_ID
          The parameter definition that specifies the parameter set id for which parameter defualtParams shall be fetched from DB
PASSWORD
          MySQL Password
TBLNAME_PARAMS
          Table name of parameter table
USER
          MySQl user name
XML_PARAMETER_FILE
          Location of XML file that specifies parameters
 
Method Summary
 Object getDefaultValue()
          Returns the default value that is assigned to this parameter at definition
 Class<?> getType()
          Return the type of this parameter
static PmFrameworkPa valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PmFrameworkPa[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.cesr.parma.core.PmParameterDefinition
getDeclaringClass
 

Enum Constant Detail

LOCATION

public static final PmFrameworkPa LOCATION
MySQL server


DBNAME

public static final PmFrameworkPa DBNAME
MySQL database name


USER

public static final PmFrameworkPa USER
MySQl user name


PASSWORD

public static final PmFrameworkPa PASSWORD
MySQL Password


PARAM_SET_ID

public static final PmFrameworkPa PARAM_SET_ID
The parameter definition that specifies the parameter set id for which parameter defualtParams shall be fetched from DB


TBLNAME_PARAMS

public static final PmFrameworkPa TBLNAME_PARAMS
Table name of parameter table


XML_PARAMETER_FILE

public static final PmFrameworkPa XML_PARAMETER_FILE
Location of XML file that specifies parameters


DB_SETTINGS_FILE

public static final PmFrameworkPa DB_SETTINGS_FILE
Location of XML file that specifies database settings:

Method Detail

values

public static PmFrameworkPa[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PmFrameworkPa c : PmFrameworkPa.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PmFrameworkPa valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getType

public Class<?> getType()
Description copied from interface: PmParameterDefinition
Return the type of this parameter

Specified by:
getType in interface PmParameterDefinition
Returns:
the type of this parameter

getDefaultValue

public Object getDefaultValue()
Description copied from interface: PmParameterDefinition
Returns the default value that is assigned to this parameter at definition

Specified by:
getDefaultValue in interface PmParameterDefinition
Returns:
the parameter's default value