public enum SpendingLimit extends Enum<SpendingLimit>
| Enum Constant and Description |
|---|
CURRENT_PERIOD_OFF
Enum value CurrentPeriodOff.
|
OFF
Enum value Off.
|
ON
Enum value On.
|
| Modifier and Type | Method and Description |
|---|---|
static SpendingLimit |
fromString(String value)
Parses a serialized value to a SpendingLimit instance.
|
String |
toString() |
static SpendingLimit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpendingLimit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpendingLimit ON
public static final SpendingLimit OFF
public static final SpendingLimit CURRENT_PERIOD_OFF
public static SpendingLimit[] values()
for (SpendingLimit c : SpendingLimit.values()) System.out.println(c);
public static SpendingLimit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SpendingLimit fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<SpendingLimit>Copyright © 2019. All rights reserved.