Package ai.expert.nlapi.v2.model
Enum EntityType
- java.lang.Object
-
- java.lang.Enum<EntityType>
-
- ai.expert.nlapi.v2.model.EntityType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EntityType>
public enum EntityType extends java.lang.Enum<EntityType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityTypefromDescription(java.lang.String description)java.lang.StringgetDescription()static EntityTypevalueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
ADR
public static final EntityType ADR
-
ANM
public static final EntityType ANM
-
BLD
public static final EntityType BLD
-
COM
public static final EntityType COM
-
DAT
public static final EntityType DAT
-
DEV
public static final EntityType DEV
-
DOC
public static final EntityType DOC
-
EVN
public static final EntityType EVN
-
FDD
public static final EntityType FDD
-
GEA
public static final EntityType GEA
-
GEO
public static final EntityType GEO
-
GEX
public static final EntityType GEX
-
HOU
public static final EntityType HOU
-
LEN
public static final EntityType LEN
-
MAI
public static final EntityType MAI
-
MEA
public static final EntityType MEA
-
MMD
public static final EntityType MMD
-
MON
public static final EntityType MON
-
NPH
public static final EntityType NPH
-
ORG
public static final EntityType ORG
-
PCT
public static final EntityType PCT
-
PHO
public static final EntityType PHO
-
PPH
public static final EntityType PPH
-
PRD
public static final EntityType PRD
-
VCL
public static final EntityType VCL
-
WEB
public static final EntityType WEB
-
WRK
public static final EntityType WRK
-
NPR
public static final EntityType NPR
-
ENT
public static final EntityType ENT
-
-
Method Detail
-
values
public static EntityType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EntityType c : EntityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromDescription
public static EntityType fromDescription(java.lang.String description)
-
getDescription
public java.lang.String getDescription()
-
-