public class EntityTypeDefinition
A type of entity.
public EntityTypeDefinition(@NotNull
java.lang.String name,
@NotNull
java.lang.String description,
@NotNull
java.util.List<ai.tock.nlp.front.shared.config.EntityDefinition> subEntities,
boolean dictionary,
boolean obfuscated,
@NotNull
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> _id)
A type of entity.
name - The qualified name of the entity (ie namespace:name)description - The description of the entity.subEntities - The sub entities of this entity.dictionary - Is the entity based on a dictionary (predefined set of data)?obfuscated - Is the entity has to be systematically obfuscated?_id - The unique id of the entity.@NotNull public java.lang.String getName()
The qualified name of the entity
(ie namespace:name)
@NotNull public java.lang.String getDescription()
The description of the entity.
@NotNull public java.util.List<ai.tock.nlp.front.shared.config.EntityDefinition> getSubEntities()
The sub entities of this entity.
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 org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> get_id()
The unique id of the entity.
@NotNull public java.lang.String component1()
The qualified name of the entity
(ie namespace:name)
@NotNull public java.lang.String component2()
The description of the entity.
@NotNull public java.util.List<ai.tock.nlp.front.shared.config.EntityDefinition> component3()
The sub entities of this entity.
public boolean component4()
Is the entity based on a dictionary
(predefined set of data)?
public boolean component5()
Is the entity has to be systematically obfuscated?
@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> component6()
The unique id of the entity.
@NotNull public EntityTypeDefinition copy(@NotNull java.lang.String name, @NotNull java.lang.String description, @NotNull java.util.List<ai.tock.nlp.front.shared.config.EntityDefinition> subEntities, boolean dictionary, boolean obfuscated, @NotNull org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> _id)
A type of entity.
@NotNull public java.lang.String toString()
A type of entity.
public int hashCode()
A type of entity.
public boolean equals(@Nullable
java.lang.Object p)
A type of entity.