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