public class Entity
An entity definition.
public Entity(@NotNull
EntityType entityType,
@NotNull
java.lang.String role)
An entity definition.
entityType - Entity type definition.role - Role of the entity.@NotNull public EntityType getEntityType()
Entity type definition.
@NotNull public java.lang.String getRole()
Role of the entity.
@NotNull public EntityType component1()
Entity type definition.
@NotNull public java.lang.String component2()
Role of the entity.
@NotNull public Entity copy(@NotNull EntityType entityType, @NotNull java.lang.String role)
An entity definition.
@NotNull public java.lang.String toString()
An entity definition.
public int hashCode()
An entity definition.
public boolean equals(@Nullable
java.lang.Object p)
An entity definition.