public enum EntityOrder extends Enum<EntityOrder>
| Enum Constant and Description |
|---|
CONFIDENCE |
OCCURRENCE |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
static EntityOrder |
fromValue(String order)
Gets an
EntityOrder by value. |
static List<String> |
getOrders()
Gets the allowed sort orders.
|
String |
toString() |
static EntityOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityOrder CONFIDENCE
public static final EntityOrder TEXT
public static final EntityOrder OCCURRENCE
public static EntityOrder[] values()
for (EntityOrder c : EntityOrder.values()) System.out.println(c);
public static EntityOrder valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static EntityOrder fromValue(String order)
EntityOrder by value.order - The sort order.EntityOrder.public static List<String> getOrders()
public String toString()
toString in class Enum<EntityOrder>Copyright © 2018. All rights reserved.