|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.impl.common.BaseEntity com.hack23.cia.model.impl.application.administration.PoliticalGame
@Entity public class PoliticalGame extends BaseEntity implements ApplicationEnvironment
The Class PoliticalGame.
Constructor and Description |
---|
PoliticalGame()
Instantiates a new political game. |
Modifier and Type | Method and Description |
---|---|
protected TypeContext |
getApplicationTypeContext()
Gets the application type context. |
Set<GameBoard> |
getGameBoards()
Gets the game boards. |
Long |
getId()
Gets the id. |
String |
getName()
Gets the name. |
Long |
getVersion()
Gets the version. |
void |
setGameBoards(Set<GameBoard> gameBoards)
Sets the game boards. |
void |
setId(Long id)
Sets the id. |
void |
setName(String name)
Sets the name. |
void |
setVersion(Long version)
Sets the version. |
Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity |
---|
equals, getTypeContext, 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.api.common.PersistedModelObject |
---|
getTypeContext, isNew |
Constructor Detail |
---|
public PoliticalGame()
Method Detail |
---|
protected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext
in class BaseEntity
public Set<GameBoard> getGameBoards()
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setGameBoards(Set<GameBoard> gameBoards)
gameBoards
- the new game boardspublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new versionpublic String getName()
Environment
getName
in interface Environment
public void setName(String name)
Environment
setName
in interface Environment
name
- the new name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |