de.cesr.parma.tests
Enum PaBasicPa

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

public enum PaBasicPa
extends Enum<PaBasicPa>
implements PmParameterDefinition


Enum Constant Summary
COPY_NUM_AGENTS
           
MUE
           
NUM_AGENTS
          Number of households a single agents represents in simulation
SPECIAL_NUM_AGENTS
           
 
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 PaBasicPa valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PaBasicPa[] 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

NUM_AGENTS

public static final PaBasicPa NUM_AGENTS
Number of households a single agents represents in simulation


SPECIAL_NUM_AGENTS

public static final PaBasicPa SPECIAL_NUM_AGENTS

COPY_NUM_AGENTS

public static final PaBasicPa COPY_NUM_AGENTS

MUE

public static final PaBasicPa MUE
Method Detail

values

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

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

valueOf

public static PaBasicPa 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