@Entity(name="TeamTypeUnitAvailability") public final class PersistentTeamTypeUnitAvailability extends Object implements com.bernardomg.tabletop.dreadball.model.availability.unit.TeamTypeUnitAvailability, Serializable
TeamType, to be used for both Dreadball
Original (DBO) and Dreadball Xtreme (DBX).
This is a persistent JPA-Based implementation.
| Constructor and Description |
|---|
PersistentTeamTypeUnitAvailability()
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.faction.TeamType |
getTeamType() |
com.bernardomg.tabletop.dreadball.model.unit.Unit |
getUnit() |
int |
hashCode() |
void |
setId(Integer identifier)
Sets the ID assigned to this entity.
|
void |
setTeamType(PersistentTeamType team)
Sets the team type for the availability.
|
void |
setUnit(PersistentUnit unitType)
Sets the unit for the availability.
|
String |
toString() |
public PersistentTeamTypeUnitAvailability()
public final Integer getId()
public final com.bernardomg.tabletop.dreadball.model.faction.TeamType getTeamType()
getTeamType in interface com.bernardomg.tabletop.dreadball.model.availability.unit.TeamTypeUnitAvailabilitypublic final com.bernardomg.tabletop.dreadball.model.unit.Unit getUnit()
getUnit in interface com.bernardomg.tabletop.dreadball.model.availability.unit.TeamTypeUnitAvailabilitypublic final void setId(Integer identifier)
identifier - the ID for the entitypublic final void setTeamType(PersistentTeamType team)
team - the team type for the availabilitypublic final void setUnit(PersistentUnit unitType)
unitType - the unit for the availabilityCopyright © 2015–2018 Bernardo MartÃnez Garrido. All rights reserved.