com.azalient.api.a.model
Enum ISettingsKey.NameKey
java.lang.Object
java.lang.Enum<ISettingsKey.NameKey>
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)
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
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