com.azalient.api.a.model
Enum ISettingsKey.NameKey

java.lang.Object
  extended by java.lang.Enum<ISettingsKey.NameKey>
      extended by com.azalient.api.a.model.ISettingsKey.NameKey
All Implemented Interfaces:
ISettingsKey, Serializable, Comparable<ISettingsKey.NameKey>
Enclosing interface:
ISettingsKey

public static enum ISettingsKey.NameKey
extends Enum<ISettingsKey.NameKey>
implements ISettingsKey

To add a new field in the network-specific settings, add an entry in the NameKey enum, with a standard value. The standard value will be returned initially when the store does not contain an entry. Access the value using settings().getS(NameKey.*) and settings().getS(NameKey.*). Also getI(), getD() etc You can reset the value to the standard by calling set(null)


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.azalient.api.a.model.ISettingsKey
ISettingsKey.NameKey
 
Enum Constant Summary
PageSuffix
           
Password
           
RandomSplitsP
           
RandomSplitsV
           
SoftwareVersion
           
SummaryCycleFilter
           
SummaryPersonFilter
           
SummaryVehicleFilter
           
 
Field Summary
 
Fields inherited from interface com.azalient.api.a.model.ISettingsKey
BASE
 
Method Summary
 Object defaultValue()
          The default value of a property, if the value has not been set
 String key()
          The key, or name of a property
static ISettingsKey.NameKey valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ISettingsKey.NameKey[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PageSuffix

public static final ISettingsKey.NameKey PageSuffix

SummaryPersonFilter

public static final ISettingsKey.NameKey SummaryPersonFilter

SummaryVehicleFilter

public static final ISettingsKey.NameKey SummaryVehicleFilter

SummaryCycleFilter

public static final ISettingsKey.NameKey SummaryCycleFilter

SoftwareVersion

public static final ISettingsKey.NameKey SoftwareVersion

Password

public static final ISettingsKey.NameKey Password

RandomSplitsP

public static final ISettingsKey.NameKey RandomSplitsP

RandomSplitsV

public static final ISettingsKey.NameKey RandomSplitsV
Method Detail

values

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

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

valueOf

public static ISettingsKey.NameKey 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

key

public String key()
Description copied from interface: ISettingsKey
The key, or name of a property

Specified by:
key in interface ISettingsKey

defaultValue

public Object defaultValue()
Description copied from interface: ISettingsKey
The default value of a property, if the value has not been set

Specified by:
defaultValue in interface ISettingsKey