public static enum APIApplication.Endpoint.RetrieveType extends java.lang.Enum<APIApplication.Endpoint.RetrieveType>
Enum Constant and Description |
---|
COLLECTION |
SINGLE_ELEMENT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static APIApplication.Endpoint.RetrieveType |
parse(java.lang.String value) |
static APIApplication.Endpoint.RetrieveType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APIApplication.Endpoint.RetrieveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIApplication.Endpoint.RetrieveType COLLECTION
public static final APIApplication.Endpoint.RetrieveType SINGLE_ELEMENT
public static APIApplication.Endpoint.RetrieveType[] values()
for (APIApplication.Endpoint.RetrieveType c : APIApplication.Endpoint.RetrieveType.values()) System.out.println(c);
public static APIApplication.Endpoint.RetrieveType 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 static APIApplication.Endpoint.RetrieveType parse(java.lang.String value)
public java.lang.String getValue()