public enum EntityType extends Enum<EntityType> implements Tag<EntityType>
Enum Constant and Description |
---|
ANIMAL |
BIOLOGY |
CELESTIAL_BODY |
DISEASE |
EVENT |
FOOD |
INSTRUMENT |
LOCATION |
MEDIA |
MONETARY |
NUMBER |
ORGANIZATION |
PERSON |
PHYSICAL_PHENOMENON |
PLANT |
SUPERNATURAL |
TIME |
VEHICLE |
Modifier and Type | Method and Description |
---|---|
EntityType |
getValue()
Returns the tag value.
|
static EntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityType ANIMAL
public static final EntityType BIOLOGY
public static final EntityType CELESTIAL_BODY
public static final EntityType DISEASE
public static final EntityType EVENT
public static final EntityType FOOD
public static final EntityType INSTRUMENT
public static final EntityType LOCATION
public static final EntityType MEDIA
public static final EntityType MONETARY
public static final EntityType NUMBER
public static final EntityType ORGANIZATION
public static final EntityType PERSON
public static final EntityType PHYSICAL_PHENOMENON
public static final EntityType PLANT
public static final EntityType SUPERNATURAL
public static final EntityType TIME
public static final EntityType VEHICLE
public static EntityType[] values()
for (EntityType c : EntityType.values()) System.out.println(c);
public static EntityType 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 EntityType getValue()
Tag
getValue
in interface Tag<EntityType>
Copyright © 2016–2021. All rights reserved.