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,
@NotNull
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> _id,
@NotNull
java.util.List<ai.tock.nlp.core.PredefinedValue> predefinedValues)
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)?_id - The unique id of the entity.predefinedValues - The entity predefined values (if any).@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)?
@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> get_id()
The unique id of the entity.
@NotNull public java.util.List<ai.tock.nlp.core.PredefinedValue> getPredefinedValues()
The entity predefined values
(if any).
@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)?
@NotNull public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> component5()
The unique id of the entity.
@NotNull public java.util.List<ai.tock.nlp.core.PredefinedValue> component6()
The entity predefined values
(if any).
@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, @NotNull org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> _id, @NotNull java.util.List<ai.tock.nlp.core.PredefinedValue> predefinedValues)
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.