public class EntityType
An entity type, with optional sub entities and predefined values.
public EntityType(@NotNull
java.lang.String name,
@NotNull
java.util.List<ai.tock.nlp.api.client.model.Entity> subEntities,
boolean dictionary,
boolean obfuscated)
An entity type, with optional sub entities and predefined values.
name - The qualified name of the entity (ie namespace:name)subEntities - The sub entities of this entity if any.dictionary - Is the entity based on a dictionary (predefined set of data)?obfuscated - Is the entity has to be systematically obfuscated?@NotNull public java.lang.String getName()
The qualified name of the entity
(ie namespace:name)
@NotNull public java.util.List<ai.tock.nlp.api.client.model.Entity> getSubEntities()
The sub entities of this entity if any.
public boolean getDictionary()
Is the entity based on a dictionary
(predefined set of data)?
public boolean getObfuscated()
Is the entity has to be systematically obfuscated?
@NotNull public java.lang.String component1()
The qualified name of the entity
(ie namespace:name)
@NotNull public java.util.List<ai.tock.nlp.api.client.model.Entity> component2()
The sub entities of this entity if any.
public boolean component3()
Is the entity based on a dictionary
(predefined set of data)?
public boolean component4()
Is the entity has to be systematically obfuscated?
@NotNull public EntityType copy(@NotNull java.lang.String name, @NotNull java.util.List<ai.tock.nlp.api.client.model.Entity> subEntities, boolean dictionary, boolean obfuscated)
An entity type, with optional sub entities and predefined values.
@NotNull public java.lang.String toString()
An entity type, with optional sub entities and predefined values.
public int hashCode()
An entity type, with optional sub entities and predefined values.
public boolean equals(@Nullable
java.lang.Object p)
An entity type, with optional sub entities and predefined values.