@Entity(name="TeamTypePlayerAvailability")
public final class PersistentTeamPlayerAvailability
extends java.lang.Object
implements com.bernardomg.tabletop.dreadball.model.availability.player.TeamPlayerAvailability, java.io.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(java.lang.Object obj) |
java.lang.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(java.lang.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.
|
java.lang.String |
toString() |
public PersistentTeamPlayerAvailability()
public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final java.lang.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 int hashCode()
hashCode in class java.lang.Objectpublic final void setId(java.lang.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 availabilitypublic final java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 Bernardo MartÃnez Garrido. All rights reserved.