-
public final class IntentAn intent is defined by an unique name.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classIntent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final List<Entity>entitiesprivate final Map<Locale, LinkedHashSet<EntitiesRegexp>>entitiesRegexp
-
Constructor Summary
Constructors Constructor Description Intent(String name, List<Entity> entities, Map<Locale, LinkedHashSet<EntitiesRegexp>> entitiesRegexp)
-
Method Summary
Modifier and Type Method Description final BooleanhasEntity(EntityType entityType, String role)final EntitygetEntity(String role)Booleanequals(Object other)IntegerhashCode()final Stringcomponent1()final List<Entity>component2()final Map<Locale, LinkedHashSet<EntitiesRegexp>>component3()final Intentcopy(String name, List<Entity> entities, Map<Locale, LinkedHashSet<EntitiesRegexp>> entitiesRegexp)final StringgetName()final List<Entity>getEntities()final Map<Locale, LinkedHashSet<EntitiesRegexp>>getEntitiesRegexp()-
-
Constructor Detail
-
Intent
Intent(String name, List<Entity> entities, Map<Locale, LinkedHashSet<EntitiesRegexp>> entitiesRegexp)
-
-
Method Detail
-
hasEntity
final Boolean hasEntity(EntityType entityType, String role)
-
component1
final String component1()
-
component2
final List<Entity> component2()
-
component3
final Map<Locale, LinkedHashSet<EntitiesRegexp>> component3()
-
copy
final Intent copy(String name, List<Entity> entities, Map<Locale, LinkedHashSet<EntitiesRegexp>> entitiesRegexp)
-
getEntities
final List<Entity> getEntities()
-
getEntitiesRegexp
final Map<Locale, LinkedHashSet<EntitiesRegexp>> getEntitiesRegexp()
-
-
-
-