Package ai.tock.bot.api.model.context
Class Entity
-
- All Implemented Interfaces:
public final class Entity
-
-
Method Summary
Modifier and Type Method Description final StringgetType()Type of the entity. final StringgetRole()Role of the entity. final StringgetContent()Text content if any. final UnitsetContent(String content)Text content if any. final ValuegetValue()Value if any. final UnitsetValue(Value value)Value if any. final BooleangetEvaluated()Is the value has been evaluated? final List<Entity>getSubEntities()Sub entity values if any. final BooleangetNew()Is it a entity evaluated now? -
-
Method Detail
-
getContent
final String getContent()
Text content if any.
-
setContent
final Unit setContent(String content)
Text content if any.
-
getValue
final Value getValue()
Value if any.
-
getEvaluated
final Boolean getEvaluated()
Is the value has been evaluated?
-
getSubEntities
final List<Entity> getSubEntities()
Sub entity values if any.
-
-
-
-