public class Entity
An class EntityType with a role.
class EntityTypepublic Entity(@NotNull
EntityType entityType,
@NotNull
java.lang.String role)
An class EntityType with a role.
class EntityType@NotNull public EntityType getEntityType()
@NotNull public java.lang.String getRole()
@NotNull public EntityType component1()
@NotNull public java.lang.String component2()
@NotNull public Entity copy(@NotNull EntityType entityType, @NotNull java.lang.String role)
An class EntityType with a role.
class EntityType@NotNull public java.lang.String toString()
An class EntityType with a role.
class EntityTypepublic int hashCode()
An class EntityType with a role.
class EntityTypepublic boolean equals(@Nullable
java.lang.Object p)
An class EntityType with a role.
class EntityType