com.hack23.cia.model.impl.application.administration
Class GameBoard

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

@Entity
public class GameBoard
extends BaseEntity
implements ApplicationEnvironment

The Class GameBoard.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
GameBoard()
          Instantiates a new game board.
 
Method Summary
Modifier and Type Method and Description
protected  TypeContext getApplicationTypeContext()
          Gets the application type context.
 Long getId()
          Gets the id.
 String getName()
          Gets the name.
 Set<Player> getPlayers()
          Gets the players.
 Long getVersion()
          Gets the version.
 void setId(Long id)
          Sets the id.
 void setName(String name)
          Sets the name.
 void setPlayers(Set<Player> players)
          Sets the players.
 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

GameBoard

public GameBoard()
Instantiates a new game board.

Method Detail

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application type context.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application type context

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

getPlayers

public Set<Player> getPlayers()
Gets the players.

Returns:
the players

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

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

setPlayers

public void setPlayers(Set<Player> players)
Sets the players.

Parameters:
players - the new players

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

getName

public String getName()
Description copied from interface: Environment
Gets the name.

Specified by:
getName in interface Environment
Returns:
the name

setName

public void setName(String name)
Description copied from interface: Environment
Sets the name.

Specified by:
setName in interface Environment
Parameters:
name - the new name


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