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

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

public class Reward
extends App42Response

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


Field Summary
 java.lang.String description
           
 java.lang.String gameName
           
 java.lang.String name
           
 java.lang.Double points
           
 java.lang.String userName
           
 
Constructor Summary
Reward()
           
 
Method Summary
 java.lang.String getDescription()
          Returns the description of the game.
 java.lang.String getGameName()
          Returns the name of the game.
 java.lang.String getName()
          Returns the name of the reward.
 java.lang.Double getPoints()
          Returns the points to the Reward.
 java.lang.String getUserName()
          Returns the user name of the game.
 void setDescription(java.lang.String description)
          Sets the description of the Game.
 void setGameName(java.lang.String gameName)
          Sets the name of the Game which has to be created.
 void setName(java.lang.String name)
          Sets the name of the reward which has to be created.
 void setPoints(java.lang.Double points)
          Sets the points to the Reward.
 void setUserName(java.lang.String userName)
           
 
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

gameName

public java.lang.String gameName

name

public java.lang.String name

points

public java.lang.Double points

userName

public java.lang.String userName
Constructor Detail

Reward

public Reward()
Method Detail

getDescription

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

Returns:
the description of the game.

getGameName

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

Returns:
the name of the game.

getName

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

Returns:
the name of the reward.

getPoints

public java.lang.Double getPoints()
Returns the points to the Reward.

Returns:
the points to the Reward.

getUserName

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

Returns:
the user name of 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

setGameName

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

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

setName

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

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

setPoints

public void setPoints(java.lang.Double points)
Sets the points to the Reward.

Parameters:
points - - points to the reward

setUserName

public void setUserName(java.lang.String userName)