-
public final class EntityAn EntityType with a role.
-
-
Field Summary
Fields Modifier and Type Field Description private final EntityTypeentityTypeprivate final Stringrole
-
Constructor Summary
Constructors Constructor Description Entity(EntityType entityType, String role)
-
Method Summary
Modifier and Type Method Description final EntityTypecomponent1()final Stringcomponent2()final Entitycopy(EntityType entityType, String role)final EntityTypegetEntityType()final StringgetRole()-
-
Constructor Detail
-
Entity
Entity(EntityType entityType, String role)
-
-
Method Detail
-
component1
final EntityType component1()
-
component2
final String component2()
-
copy
final Entity copy(EntityType entityType, String role)
-
getEntityType
final EntityType getEntityType()
-
-
-
-