@Entity(name="TeamTypeAssetsAvailability")
public final class PersistentTeamTypeAssetsAvailability
extends java.lang.Object
implements com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailability, java.io.Serializable
TeamType, which are the Dreadball
Original (DBO) factions.
This is a persistent JPA-Based implementation.
| Constructor and Description |
|---|
PersistentTeamTypeAssetsAvailability()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCheerleaderCost() |
java.lang.Integer |
getCheerleaderInitial() |
java.lang.Integer |
getCheerleaderMax() |
java.lang.Integer |
getCoachingDieCost() |
java.lang.Integer |
getCoachingDieInitial() |
java.lang.Integer |
getCoachingDieMax() |
java.lang.Integer |
getCoachingStaffCost() |
java.lang.Integer |
getDreadballCardCost() |
java.lang.Integer |
getDreadballCardInitial() |
java.lang.Integer |
getDreadballCardMax() |
java.lang.Integer |
getId()
Returns the ID assigned to this entity.
|
java.lang.Boolean |
getStartingWithDefensiveCoachingStaff() |
java.lang.Boolean |
getStartingWithOffensiveCoachingStaff() |
java.lang.Boolean |
getStartingWithSupportCoachingStaff() |
com.bernardomg.tabletop.dreadball.model.faction.TeamType |
getTeamType() |
int |
hashCode() |
void |
setCheerleadersCost(java.lang.Integer cost)
Sets the cheerleaders cost.
|
void |
setCheerleadersInitial(java.lang.Integer initial)
Sets the initial number of cheerleaders.
|
void |
setCheerleadersMax(java.lang.Integer max)
Sets the maximum number of cheerleaders.
|
void |
setCoachingDieCost(java.lang.Integer cost)
Sets the coaching dice cost.
|
void |
setCoachingDieInitial(java.lang.Integer initial)
Sets the initial number of coaching dice.
|
void |
setCoachingDieMax(java.lang.Integer max)
Sets the maximum number of coaching dice.
|
void |
setCoachingStaffCost(java.lang.Integer cost)
Sets the coaching staff cost.
|
void |
setDreadballCardCost(java.lang.Integer cost)
Sets the Dreadball cards cost.
|
void |
setDreadballCardInitial(java.lang.Integer initial)
Sets the initial number of Dreadball cards.
|
void |
setDreadballCardMax(java.lang.Integer max)
Sets the maximum number of Dreadball cards.
|
void |
setId(java.lang.Integer identifier)
Sets the ID assigned to this entity.
|
void |
setStartingWithDefensiveCoachingStaff(java.lang.Boolean coach)
Sets the flag indicating if the team begins with a defensive coaching
staff.
|
void |
setStartingWithOffensiveCoachingStaff(java.lang.Boolean coach)
Sets the flag indicating if the team begins with an offensive coaching
staff.
|
void |
setStartingWithSupportCoachingStaff(java.lang.Boolean coach)
Sets the flag indicating if the team begins with a support coaching
staff.
|
void |
setTeamType(PersistentTeamType team)
Sets the availability's team type.
|
java.lang.String |
toString() |
public PersistentTeamTypeAssetsAvailability()
public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final java.lang.Integer getCheerleaderCost()
getCheerleaderCost in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Integer getCheerleaderInitial()
getCheerleaderInitial in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Integer getCheerleaderMax()
getCheerleaderMax in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Integer getCoachingDieCost()
getCoachingDieCost in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Integer getCoachingDieInitial()
getCoachingDieInitial in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Integer getCoachingDieMax()
getCoachingDieMax in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Integer getCoachingStaffCost()
getCoachingStaffCost in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Integer getDreadballCardCost()
getDreadballCardCost in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Integer getDreadballCardInitial()
getDreadballCardInitial in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Integer getDreadballCardMax()
getDreadballCardMax in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Integer getId()
public final java.lang.Boolean getStartingWithDefensiveCoachingStaff()
getStartingWithDefensiveCoachingStaff in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Boolean getStartingWithOffensiveCoachingStaff()
getStartingWithOffensiveCoachingStaff in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final java.lang.Boolean getStartingWithSupportCoachingStaff()
getStartingWithSupportCoachingStaff in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final com.bernardomg.tabletop.dreadball.model.faction.TeamType getTeamType()
getTeamType in interface com.bernardomg.tabletop.dreadball.model.availability.asset.TeamTypeAssetsAvailabilitypublic final int hashCode()
hashCode in class java.lang.Objectpublic final void setCheerleadersCost(java.lang.Integer cost)
cost - the cheerleaders costpublic final void setCheerleadersInitial(java.lang.Integer initial)
initial - the initial number of cheerleaderspublic final void setCheerleadersMax(java.lang.Integer max)
max - the maximum number of cheerleaderspublic final void setCoachingDieCost(java.lang.Integer cost)
cost - the coaching dice costpublic final void setCoachingDieInitial(java.lang.Integer initial)
initial - the initial number of coaching dicepublic final void setCoachingDieMax(java.lang.Integer max)
max - the maximum number of coaching dicepublic final void setCoachingStaffCost(java.lang.Integer cost)
cost - the coaching staff costpublic final void setDreadballCardCost(java.lang.Integer cost)
cost - the Dreadball cards costpublic final void setDreadballCardInitial(java.lang.Integer initial)
initial - the initial number of Dreadball cardspublic final void setDreadballCardMax(java.lang.Integer max)
max - the maximum number of Dreadball cardspublic final void setId(java.lang.Integer identifier)
identifier - the ID for the entitypublic final void setStartingWithDefensiveCoachingStaff(java.lang.Boolean coach)
coach - the flag indicating if the team begins with a defensive
coaching staffpublic final void setStartingWithOffensiveCoachingStaff(java.lang.Boolean coach)
coach - the flag indicating if the team begins with an offensive
coaching staffpublic final void setStartingWithSupportCoachingStaff(java.lang.Boolean coach)
coach - the flag indicating if the team begins with a support coaching
staffpublic final void setTeamType(PersistentTeamType team)
team - the availability's team typepublic final java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 Bernardo MartÃnez Garrido. All rights reserved.