@Entity(name="TeamTypePlayerAvailability") public final class PersistentTeamPlayerAvailability extends Object implements com.bernardomg.tabletop.dreadball.model.availability.player.TeamPlayerAvailability, Serializable
TeamType, to be used for both Dreadball
Original (DBO) and Dreadball Xtreme (DBX).
This is a persistent JPA-Based implementation.
| Constructor and Description |
|---|
PersistentTeamPlayerAvailability()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getId()
Returns the ID assigned to this entity.
|
com.bernardomg.tabletop.dreadball.model.player.TeamPlayer |
getTeamPlayer() |
com.bernardomg.tabletop.dreadball.model.faction.TeamType |
getTeamType() |
int |
hashCode() |
void |
setId(Integer identifier)
Sets the ID assigned to this entity.
|
void |
setTeamPlayer(PersistentTeamPlayer playerType)
Sets the player for the availability.
|
void |
setTeamType(PersistentTeamType team)
Sets the team type for the availability.
|
String |
toString() |
public PersistentTeamPlayerAvailability()
public final Integer getId()
public final com.bernardomg.tabletop.dreadball.model.player.TeamPlayer getTeamPlayer()
getTeamPlayer in interface com.bernardomg.tabletop.dreadball.model.availability.player.TeamPlayerAvailabilitypublic final com.bernardomg.tabletop.dreadball.model.faction.TeamType getTeamType()
getTeamType in interface com.bernardomg.tabletop.dreadball.model.availability.player.TeamPlayerAvailabilitypublic final void setId(Integer identifier)
identifier - the ID for the entitypublic final void setTeamPlayer(PersistentTeamPlayer playerType)
playerType - the player for the availabilitypublic final void setTeamType(PersistentTeamType team)
team - the team type for the availabilityCopyright © 2015–2018 Bernardo MartÃnez Garrido. All rights reserved.