Package com.c8db.entity
Enum DocumentField.Type
- java.lang.Object
-
- java.lang.Enum<DocumentField.Type>
-
- com.c8db.entity.DocumentField.Type
-
- All Implemented Interfaces:
Serializable,Comparable<DocumentField.Type>
- Enclosing class:
- DocumentField
public static enum DocumentField.Type extends Enum<DocumentField.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSerializeName()static DocumentField.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static DocumentField.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final DocumentField.Type ID
-
KEY
public static final DocumentField.Type KEY
-
REV
public static final DocumentField.Type REV
-
FROM
public static final DocumentField.Type FROM
-
TO
public static final DocumentField.Type TO
-
-
Method Detail
-
values
public static DocumentField.Type[] 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 (DocumentField.Type c : DocumentField.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentField.Type 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
-
getSerializeName
public String getSerializeName()
-
-