public class EntityDefinition
An entity is an class EntityTypeDefinition with a role.
class EntityTypeDefinition| Constructor and Description |
|---|
EntityDefinition(java.lang.String entityTypeName,
java.lang.String role,
java.lang.Boolean atStartOfDay)
An entity is an
class EntityTypeDefinition with a role. |
EntityDefinition(ai.tock.nlp.core.Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The qualified name of the entity type.
|
java.lang.String |
component2()
The role.
|
java.lang.Boolean |
component3()
To evaluate time for entity date types.
|
EntityDefinition |
copy(java.lang.String entityTypeName,
java.lang.String role,
java.lang.Boolean atStartOfDay)
An entity is an
class EntityTypeDefinition with a role. |
boolean |
equals(java.lang.Object p) |
java.lang.Boolean |
getAtStartOfDay()
To evaluate time for entity date types.
|
java.lang.String |
getEntityTypeName()
The qualified name of the entity type.
|
java.lang.String |
getRole()
The role.
|
int |
hashCode() |
java.lang.String |
toString() |
public EntityDefinition(@NotNull
java.lang.String entityTypeName,
@NotNull
java.lang.String role,
@Nullable
java.lang.Boolean atStartOfDay)
An entity is an class EntityTypeDefinition with a role.
entityTypeName - The qualified name of the entity type.role - The role.atStartOfDay - To evaluate time for entity date types.class EntityTypeDefinitionpublic EntityDefinition(@NotNull
ai.tock.nlp.core.Entity entity)
@NotNull public java.lang.String getEntityTypeName()
The qualified name of the entity type.
@NotNull public java.lang.String getRole()
The role.
@Nullable public java.lang.Boolean getAtStartOfDay()
To evaluate time for entity date types.
@NotNull public java.lang.String component1()
The qualified name of the entity type.
@NotNull public java.lang.String component2()
The role.
@Nullable public java.lang.Boolean component3()
To evaluate time for entity date types.
@NotNull public EntityDefinition copy(@NotNull java.lang.String entityTypeName, @NotNull java.lang.String role, @Nullable java.lang.Boolean atStartOfDay)
An entity is an class EntityTypeDefinition with a role.
class EntityTypeDefinition@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)