de.cesr.more.param
Enum MSqlPa

java.lang.Object
  extended by java.lang.Enum<MSqlPa>
      extended by de.cesr.more.param.MSqlPa
All Implemented Interfaces:
de.cesr.parma.core.PmParameterDefinition, Serializable, Comparable<MSqlPa>

public enum MSqlPa
extends Enum<MSqlPa>
implements de.cesr.parma.core.PmParameterDefinition

Definition of database related parameters for MoRe

Date:
29.06.2010

Enum Constant Summary
DB_SETTINGS_EXAMPLE_FILE
          Location of example XML file that specifies database settings for writing data.
DBNAME
          Database name used to write data to.
FLUSH_INTERVAL
           
LOCATION
          Database location used to write data to.
PASSWORD
          (unencrypted) password used to write data.
TBLNAME_EDGE_LENGTH
          Table for runtime information gathered by MRuntimeDbWriter.
TBLNAME_NET_PREFS
          Table from which agent network preferences are retrieved by MMilieuNetDataReader.
TBLNAME_NET_PREFS_LINKS
          Table from which agent network link preferences are retrieved by MMilieuNetDataReader.
TBLNAME_NETWORK_MEASURES
          Table where MoRe stores network measures.
TBLNAME_RUNTIME_INFO
          Table for runtime information gathered by MRuntimeDbWriter.
USER
          Database user name used to write data.
 
Method Summary
 Object getDefaultValue()
           
 Class<?> getType()
           
static MSqlPa valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MSqlPa[] 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 MSqlPa LOCATION
Database location used to write data to. Default is PmFrameworkPa.LOCATION


DBNAME

public static final MSqlPa DBNAME
Database name used to write data to. Default is PmFrameworkPa.DBNAME


USER

public static final MSqlPa USER
Database user name used to write data. Default is PmFrameworkPa.USER


PASSWORD

public static final MSqlPa PASSWORD
(unencrypted) password used to write data. Default is PmFrameworkPa.PASSWORD


TBLNAME_NETWORK_MEASURES

public static final MSqlPa TBLNAME_NETWORK_MEASURES
Table where MoRe stores network measures. See MDbNetworkDataWriter. Default: more_net_measures


TBLNAME_NET_PREFS

public static final MSqlPa TBLNAME_NET_PREFS
Table from which agent network preferences are retrieved by MMilieuNetDataReader. Default: more_netprefs


TBLNAME_RUNTIME_INFO

public static final MSqlPa TBLNAME_RUNTIME_INFO
Table for runtime information gathered by MRuntimeDbWriter.


TBLNAME_EDGE_LENGTH

public static final MSqlPa TBLNAME_EDGE_LENGTH
Table for runtime information gathered by MRuntimeDbWriter.


FLUSH_INTERVAL

public static final MSqlPa FLUSH_INTERVAL

TBLNAME_NET_PREFS_LINKS

public static final MSqlPa TBLNAME_NET_PREFS_LINKS
Table from which agent network link preferences are retrieved by MMilieuNetDataReader. Default: more_netprefs_links


DB_SETTINGS_EXAMPLE_FILE

public static final MSqlPa DB_SETTINGS_EXAMPLE_FILE
Location of example XML file that specifies database settings for writing data. The reading of these file needs to be issued by the user using ParMa. Default: ./config/DBSettingsMore.xml"

Method Detail

values

public static MSqlPa[] 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 (MSqlPa c : MSqlPa.values())
    System.out.println(c);

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

valueOf

public static MSqlPa 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()
Specified by:
getType in interface de.cesr.parma.core.PmParameterDefinition

getDefaultValue

public Object getDefaultValue()
Specified by:
getDefaultValue in interface de.cesr.parma.core.PmParameterDefinition