com.shephertz.app42.paas.sdk.jme.game
Class Game

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.App42Response
      extended by com.shephertz.app42.paas.sdk.jme.game.Game

public class Game
extends App42Response

This Game object is the value object which contains the properties of Game along with the setter & getter for those properties.


Nested Class Summary
 class Game.Score
          An inner class that contains the remaining properties of the Game.
 
Field Summary
 java.lang.String description
           
 java.lang.String name
           
 java.util.Vector scoreList
           
 
Constructor Summary
Game()
           
 
Method Summary
 java.lang.String getDescription()
          Returns the description of the game.
 java.lang.String getName()
          Returns the name of the game.
 java.util.Vector getScoreList()
          Returns the score list for the Game.
 void setDescription(java.lang.String description)
          Sets the description of the Game.
 void setName(java.lang.String name)
          Sets the name of the Game which has to be created.
 void setScoreList(java.util.Vector scoreList)
          Sets the Score list for the Game.
 
Methods inherited from class com.shephertz.app42.paas.sdk.jme.App42Response
getStrResponse, getTotalRecords, isResponseSuccess, setResponseSuccess, setStrResponse, setTotalRecords, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

description

public java.lang.String description

name

public java.lang.String name

scoreList

public java.util.Vector scoreList
Constructor Detail

Game

public Game()
Method Detail

getDescription

public java.lang.String getDescription()
Returns the description of the game.

Returns:
the description of the game.

getName

public java.lang.String getName()
Returns the name of the game.

Returns:
the name of the game.

getScoreList

public java.util.Vector getScoreList()
Returns the score list for the Game.

Returns:
the score list for the Game.

setDescription

public void setDescription(java.lang.String description)
Sets the description of the Game.

Parameters:
description - - Description of the game to be created

setName

public void setName(java.lang.String name)
Sets the name of the Game which has to be created.

Parameters:
name - - Name of the Game that has to be created

setScoreList

public void setScoreList(java.util.Vector scoreList)
Sets the Score list for the Game.

Parameters:
scoreList - - List of score for the game