public enum EnumIntervalTimeType extends java.lang.Enum<EnumIntervalTimeType>
| Enum Constant and Description |
|---|
APPLICATION
Application time interval.
|
SERVER
Server timestamp time interval.
|
| Modifier and Type | Field and Description |
|---|---|
static EnumIntervalTimeType |
DEFAULT_INTERVAL_TYPE
Default interval type.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumIntervalTimeType |
fromString(java.lang.String text)
Returns a
EnumIntervalTimeType from the given text. |
static java.lang.String |
getList()
Returns a "printable" list of the elements' values.
|
java.lang.String |
toString()
Returns the text code for the current IntervalTimeType.
|
static EnumIntervalTimeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumIntervalTimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumIntervalTimeType APPLICATION
public static final EnumIntervalTimeType SERVER
public static final EnumIntervalTimeType DEFAULT_INTERVAL_TYPE
public static EnumIntervalTimeType[] values()
for (EnumIntervalTimeType c : EnumIntervalTimeType.values()) System.out.println(c);
public static EnumIntervalTimeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<EnumIntervalTimeType>public static EnumIntervalTimeType fromString(java.lang.String text)
EnumIntervalTimeType from the given text.
null if the given text doesn't describes any of the elements.text - Text to retrieve the EnumTypenull if the given text doesn't describes any of the elements.public static java.lang.String getList()