@Entity(name="TeamRule")
public final class PersistentTeamRule
extends java.lang.Object
implements com.bernardomg.tabletop.dreadball.model.faction.TeamRule, java.io.Serializable
This is a persistent JPA-Based implementation.
| Constructor and Description |
|---|
PersistentTeamRule()
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.
|
java.lang.String |
getName() |
int |
hashCode() |
void |
setId(java.lang.Integer identifier)
Sets the ID assigned to this entity.
|
void |
setTeamRuleName(java.lang.String ruleName)
Sets the team rule name.
|
java.lang.String |
toString() |
public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final java.lang.Integer getId()
public final java.lang.String getName()
getName in interface com.bernardomg.tabletop.dreadball.model.faction.TeamRulepublic final int hashCode()
hashCode in class java.lang.Objectpublic final void setId(java.lang.Integer identifier)
identifier - the ID for the entitypublic final void setTeamRuleName(java.lang.String ruleName)
ruleName - the team rule namepublic final java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 Bernardo MartÃnez Garrido. All rights reserved.