public class EntityTypeDefinition
A type of entity.
| Constructor and Description |
|---|
EntityTypeDefinition(java.lang.String name,
java.lang.String description,
java.util.List<ai.tock.nlp.front.shared.config.EntityDefinition> subEntities,
boolean dictionary,
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> _id,
java.util.List<ai.tock.nlp.core.PredefinedValue> predefinedValues)
A type of entity.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The qualified name of the entity
|
java.lang.String |
component2()
The description of the entity.
|
java.util.List<ai.tock.nlp.front.shared.config.EntityDefinition> |
component3()
The sub entities of this entity.
|
boolean |
component4()
Is the entity based on a dictionary
|
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> |
component5()
The unique id of the entity.
|
java.util.List<ai.tock.nlp.core.PredefinedValue> |
component6()
The entity predefined values
|
EntityTypeDefinition |
copy(java.lang.String name,
java.lang.String description,
java.util.List<ai.tock.nlp.front.shared.config.EntityDefinition> subEntities,
boolean dictionary,
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> _id,
java.util.List<ai.tock.nlp.core.PredefinedValue> predefinedValues)
A type of entity.
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getDescription()
The description of the entity.
|
boolean |
getDictionary()
Is the entity based on a dictionary
|
java.lang.String |
getName()
The qualified name of the entity
|
java.util.List<ai.tock.nlp.core.PredefinedValue> |
getPredefinedValues()
Deprecated.
|
java.util.List<ai.tock.nlp.front.shared.config.EntityDefinition> |
getSubEntities()
The sub entities of this entity.
|
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.EntityTypeDefinition> |
get_id()
The unique id of the entity.
|
int |
hashCode() |
java.lang.String |
toString() |
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()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)