public static enum ResponsePlanData.PeriodEnum extends Enum<ResponsePlanData.PeriodEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
ResponsePlanData.PeriodEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static ResponsePlanData.PeriodEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ResponsePlanData.PeriodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponsePlanData.PeriodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponsePlanData.PeriodEnum MINUTE
public static final ResponsePlanData.PeriodEnum DAY
public static final ResponsePlanData.PeriodEnum WEEK
public static final ResponsePlanData.PeriodEnum MONTH
public static final ResponsePlanData.PeriodEnum YEAR
public static ResponsePlanData.PeriodEnum[] values()
for (ResponsePlanData.PeriodEnum c : ResponsePlanData.PeriodEnum.values()) System.out.println(c);
public static ResponsePlanData.PeriodEnum 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 String getValue()
public String toString()
toString in class Enum<ResponsePlanData.PeriodEnum>public static ResponsePlanData.PeriodEnum fromValue(String text)
Copyright © 2023. All rights reserved.