|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.common.impl.BaseEntity com.hack23.cia.model.application.impl.common.GameBoard
@Entity public class GameBoard
The Class GameBoard.
Constructor Summary | |
---|---|
GameBoard()
Instantiates a new game board. |
Method Summary | |
---|---|
Long |
getId()
Gets the id. |
Set<Player> |
getPlayers()
Gets the players. |
Long |
getVersion()
Gets the version. |
void |
setId(Long id)
Sets the id. |
void |
setPlayers(Set<Player> players)
Sets the players. |
void |
setVersion(Long version)
Sets the version. |
Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity |
---|
equals, hashCode, isNew |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject |
---|
isNew |
Constructor Detail |
---|
public GameBoard()
Method Detail |
---|
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public Set<Player> getPlayers()
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setPlayers(Set<Player> players)
players
- the new playerspublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |