public class Entity
public Entity(@NotNull
java.lang.String type,
@NotNull
java.lang.String role,
@Nullable
java.lang.String content,
@Nullable
ai.tock.nlp.entity.Value value,
boolean evaluated,
@NotNull
java.util.List<ai.tock.bot.api.model.context.Entity> subEntities,
boolean p)
type - Type of the entity.role - Role of the entity.content - Text content if any.value - Value if any.evaluated - Is the value has been evaluated?subEntities - Sub entity values if any.p - Is it a entity evaluated now?@NotNull public java.lang.String getType()
Type of the entity.
@NotNull public java.lang.String getRole()
Role of the entity.
@Nullable public java.lang.String getContent()
Text content if any.
public void setContent(@Nullable
java.lang.String p)
Text content if any.
p - Text content if any.@Nullable public ai.tock.nlp.entity.Value getValue()
Value if any.
public void setValue(@Nullable
ai.tock.nlp.entity.Value p)
Value if any.
p - Value if any.public boolean getEvaluated()
Is the value has been evaluated?
@NotNull public java.util.List<ai.tock.bot.api.model.context.Entity> getSubEntities()
Sub entity values if any.
public boolean getNew()
Is it a entity evaluated now?
@NotNull public java.lang.String component1()
Type of the entity.
@NotNull public java.lang.String component2()
Role of the entity.
@Nullable public java.lang.String component3()
Text content if any.
@Nullable public ai.tock.nlp.entity.Value component4()
Value if any.
public boolean component5()
Is the value has been evaluated?
@NotNull public java.util.List<ai.tock.bot.api.model.context.Entity> component6()
Sub entity values if any.
public boolean component7()
Is it a entity evaluated now?
@NotNull public Entity copy(@NotNull java.lang.String type, @NotNull java.lang.String role, @Nullable java.lang.String content, @Nullable ai.tock.nlp.entity.Value value, boolean evaluated, @NotNull java.util.List<ai.tock.bot.api.model.context.Entity> subEntities, boolean p)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)