public enum EntityCategory extends Enum<EntityCategory>
Enum Constant and Description |
---|
DATETIME
Enum value datetime.
|
EMAIL
Enum value email.
|
LOCATION
Enum value location.
|
ORGANIZATION
Enum value organization.
|
PERSON
Enum value person.
|
QUANTITY
Enum value quantity.
|
URL
Enum value url.
|
Modifier and Type | Method and Description |
---|---|
static EntityCategory |
fromString(String value)
Parses a serialized value to a EntityCategory instance.
|
String |
toString() |
static EntityCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityCategory LOCATION
public static final EntityCategory ORGANIZATION
public static final EntityCategory PERSON
public static final EntityCategory QUANTITY
public static final EntityCategory DATETIME
public static final EntityCategory URL
public static final EntityCategory EMAIL
public static EntityCategory[] values()
public static EntityCategory 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 EntityCategory fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<EntityCategory>
Copyright © 2020 Microsoft Corporation. All rights reserved.