Enum EntityType

java.lang.Object
java.lang.Enum<EntityType>
it.uniroma1.lcl.babelnet.data.EntityType
All Implemented Interfaces:
Tag<EntityType>, Serializable, Comparable<EntityType>, java.lang.constant.Constable

public enum EntityType extends Enum<EntityType> implements Tag<EntityType>
Enumeration describing entity type information
  • Enum Constant Details

    • ANIMAL

      public static final EntityType ANIMAL
    • BIOLOGY

      public static final EntityType BIOLOGY
    • CELESTIAL_BODY

      public static final EntityType CELESTIAL_BODY
    • DISEASE

      public static final EntityType DISEASE
    • EVENT

      public static final EntityType EVENT
    • FOOD

      public static final EntityType FOOD
    • INSTRUMENT

      public static final EntityType INSTRUMENT
    • LOCATION

      public static final EntityType LOCATION
    • MEDIA

      public static final EntityType MEDIA
    • MONETARY

      public static final EntityType MONETARY
    • NUMBER

      public static final EntityType NUMBER
    • ORGANIZATION

      public static final EntityType ORGANIZATION
    • PERSON

      public static final EntityType PERSON
    • PHYSICAL_PHENOMENON

      public static final EntityType PHYSICAL_PHENOMENON
    • PLANT

      public static final EntityType PLANT
    • SUPERNATURAL

      public static final EntityType SUPERNATURAL
    • TIME

      public static final EntityType TIME
    • VEHICLE

      public static final EntityType VEHICLE
  • Method Details

    • values

      public static EntityType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EntityType 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 name
      NullPointerException - if the argument is null
    • getValue

      public EntityType getValue()
      Description copied from interface: Tag
      Returns the tag value.
      Specified by:
      getValue in interface Tag<EntityType>
      Returns:
      the tag value