com.hack23.cia.model.application.impl.common
Class PoliticalGame

Package class diagram package PoliticalGame
java.lang.Object
  extended by com.hack23.cia.model.common.impl.BaseEntity
      extended by com.hack23.cia.model.application.impl.common.PoliticalGame
All Implemented Interfaces:
ApplicationEnvironment, Environment, ModelObject, PersistedModelObject, Serializable

@Entity
public class PoliticalGame
extends BaseEntity
implements ApplicationEnvironment

The Class PoliticalGame.

See Also:
Serialized Form

Constructor Summary
PoliticalGame()
          Instantiates a new political game.
 
Method Summary
 Set<GameBoard> getGameBoards()
          Gets the game boards.
 Long getId()
          Gets the id.
 Long getVersion()
          Gets the version.
 void setGameBoards(Set<GameBoard> gameBoards)
          Sets the game boards.
 void setId(Long id)
          Sets the id.
 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

PoliticalGame

public PoliticalGame()
Instantiates a new political game.

Method Detail

getGameBoards

public Set<GameBoard> getGameBoards()
Gets the game boards.

Returns:
the game boards

getId

public Long getId()
Description copied from class: BaseEntity
Gets the id.

Specified by:
getId in interface PersistedModelObject
Specified by:
getId in class BaseEntity
Returns:
the id

getVersion

public Long getVersion()
Description copied from class: BaseEntity
Gets the version.

Specified by:
getVersion in interface PersistedModelObject
Specified by:
getVersion in class BaseEntity
Returns:
the version

setGameBoards

public void setGameBoards(Set<GameBoard> gameBoards)
Sets the game boards.

Parameters:
gameBoards - the new game boards

setId

public void setId(Long id)
Description copied from interface: PersistedModelObject
Sets the id.

Specified by:
setId in interface PersistedModelObject
Parameters:
id - the new id

setVersion

public void setVersion(Long version)
Description copied from interface: PersistedModelObject
Sets the version.

Specified by:
setVersion in interface PersistedModelObject
Parameters:
version - the new version


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.