com.shephertz.app42.paas.sdk.jme.recommend
Class Recommender.RecommendedItem

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.recommend.Recommender.RecommendedItem
Enclosing class:
Recommender

public class Recommender.RecommendedItem
extends java.lang.Object

An inner class that contains the remaining properties of the Recommender.


Field Summary
 java.lang.String item
           
 java.lang.String userId
           
 java.lang.Double value
           
 
Constructor Summary
Recommender.RecommendedItem()
          This is a constructor that takes no parameter
 
Method Summary
 java.lang.String getItem()
          Returns the item for the Recommended Item.
 java.lang.String getUserId()
          Returns the userId of the User.
 java.lang.Double getValue()
          Returns the value for the Recommended Item.
 void setItem(java.lang.String item)
          Sets the item for the Recommended Item.
 void setUserId(java.lang.String userId)
          Sets the userId of the User.
 void setValue(java.lang.Double value)
          Sets the value for the Recommended Item.
 java.lang.String toString()
          Returns the Recommender Response in JSON format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

item

public java.lang.String item

userId

public java.lang.String userId

value

public java.lang.Double value
Constructor Detail

Recommender.RecommendedItem

public Recommender.RecommendedItem()
This is a constructor that takes no parameter

Method Detail

getItem

public java.lang.String getItem()
Returns the item for the Recommended Item.

Returns:
the item for the Recommended Item.

getUserId

public java.lang.String getUserId()
Returns the userId of the User.

Returns:
the userId of the User.

getValue

public java.lang.Double getValue()
Returns the value for the Recommended Item.

Returns:
the value for the Recommended Item.

setItem

public void setItem(java.lang.String item)
Sets the item for the Recommended Item.

Parameters:
item - - item for the Recommended Item

setUserId

public void setUserId(java.lang.String userId)
Sets the userId of the User.

Parameters:
userId - - userId of the User

setValue

public void setValue(java.lang.Double value)
Sets the value for the Recommended Item.

Parameters:
value - - value for the Recommended Item

toString

public java.lang.String toString()
Returns the Recommender Response in JSON format.

Overrides:
toString in class java.lang.Object
Returns:
the response in JSON format.