Package org.icij.datashare.com
Enum Message.Field
- java.lang.Object
-
- java.lang.Enum<Message.Field>
-
- org.icij.datashare.com.Message.Field
-
- All Implemented Interfaces:
Serializable,Comparable<Message.Field>
- Enclosing class:
- Message
public static enum Message.Field extends Enum<Message.Field>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Message.FieldvalueOf(String name)Returns the enum constant of this type with the specified name.static Message.Field[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE
public static final Message.Field TYPE
-
DATE
public static final Message.Field DATE
-
INDEX_NAME
public static final Message.Field INDEX_NAME
-
DOC_ID
public static final Message.Field DOC_ID
-
R_ID
public static final Message.Field R_ID
-
VALUE
public static final Message.Field VALUE
-
-
Method Detail
-
values
public static Message.Field[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Message.Field c : Message.Field.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Message.Field valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-