public enum PurgeIndicatorDateTypeEnum extends Enum<PurgeIndicatorDateTypeEnum>
| Modifier and Type | Method and Description |
|---|---|
com.onwbp.base.text.UserMessage |
getLabel()
Returns the
DateTypeEnum label. |
String |
getOption()
Returns the
PurgeIndicatorDateTypeEnum option. |
boolean |
isAll()
Returns
true if the current instance is ALL. |
boolean |
isExact()
Returns
true if the current instance is EXACT. |
boolean |
isInterval()
Returns
true if the current instance is INTERVAL. |
static PurgeIndicatorDateTypeEnum |
parse(String option)
Returns
PurgeIndicatorDateTypeEnum based on the option parameter. |
static PurgeIndicatorDateTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PurgeIndicatorDateTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PurgeIndicatorDateTypeEnum ALL
public static final PurgeIndicatorDateTypeEnum EXACT
public static final PurgeIndicatorDateTypeEnum INTERVAL
public static PurgeIndicatorDateTypeEnum[] values()
for (PurgeIndicatorDateTypeEnum c : PurgeIndicatorDateTypeEnum.values()) System.out.println(c);
public static PurgeIndicatorDateTypeEnum 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 PurgeIndicatorDateTypeEnum parse(String option)
PurgeIndicatorDateTypeEnum based on the option parameter.public String getOption()
PurgeIndicatorDateTypeEnum option.public com.onwbp.base.text.UserMessage getLabel()
DateTypeEnum label.public boolean isAll()
true if the current instance is ALL.public boolean isExact()
true if the current instance is EXACT.public boolean isInterval()
true if the current instance is INTERVAL.