@Entity(name="TeamRule") public final class PersistentTeamRule extends Object implements com.bernardomg.tabletop.dreadball.model.faction.TeamRule, Serializable
This is a persistent JPA-Based implementation.
| Constructor and Description |
|---|
PersistentTeamRule()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getId()
Returns the ID assigned to this entity.
|
String |
getName() |
int |
hashCode() |
void |
setId(Integer identifier)
Sets the ID assigned to this entity.
|
void |
setTeamRuleName(String ruleName)
Sets the team rule name.
|
String |
toString() |
public final Integer getId()
public final String getName()
getName in interface com.bernardomg.tabletop.dreadball.model.faction.TeamRulepublic final void setId(Integer identifier)
identifier - the ID for the entitypublic final void setTeamRuleName(String ruleName)
ruleName - the team rule nameCopyright © 2015–2017 Bernardo MartÃnez Garrido. All rights reserved.