Package stroom.query.api.v2
Enum Format.Type
- java.lang.Object
-
- java.lang.Enum<Format.Type>
-
- stroom.query.api.v2.Format.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Format.Type>
,java.lang.constant.Constable
,HasDisplayValue
- Enclosing class:
- Format
public static enum Format.Type extends java.lang.Enum<Format.Type> implements HasDisplayValue
-
-
Method Summary
Modifier and Type Method Description java.lang.String
getDisplayValue()
static Format.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Format.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERAL
public static final Format.Type GENERAL
-
NUMBER
public static final Format.Type NUMBER
-
DATE_TIME
public static final Format.Type DATE_TIME
-
TEXT
public static final Format.Type TEXT
-
-
Method Detail
-
values
public static Format.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Format.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDisplayValue
public java.lang.String getDisplayValue()
- Specified by:
getDisplayValue
in interfaceHasDisplayValue
- Returns:
- The string label/description of this object.
-
-