com.shephertz.app42.paas.sdk.jme.review
Class Review

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.App42Response
      extended by com.shephertz.app42.paas.sdk.jme.review.Review

public class Review
extends App42Response

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


Field Summary
 java.lang.String comment
           
 java.util.Date createdOn
           
 java.lang.String itemId
           
 java.lang.Double rating
           
 java.lang.String reviewId
           
 java.lang.String status
           
 java.lang.String userId
           
 
Constructor Summary
Review()
           
 
Method Summary
 java.lang.String getComment()
          Returns the comment of the User.
 java.util.Date getCreatedOn()
          Returns the time, day and date of the review when it was created by the User.
 java.lang.String getItemId()
          Returns the itemId of the User.
 java.lang.Double getRating()
          Returns the rating given by the User.
 java.lang.String getReviewId()
          Returns the reviewId of the User.
 java.lang.String getStatus()
          Returns the status of the User.
 java.lang.String getStringView()
          Returns the User Response in JSON format.
 java.lang.String getUserId()
          Returns the user Id.
 void setComment(java.lang.String comment)
          Sets the comment of the User.
 void setCreatedOn(java.util.Date createdOn)
          Sets the createdOn information of the review by the User.
 void setItemId(java.lang.String itemId)
          Sets the itemId of the User.
 void setRating(java.lang.Double rating)
          Sets the rating given by the User.
 void setReviewId(java.lang.String reviewId)
          Returns the comment of the User.
 void setStatus(java.lang.String status)
          Sets the status of the User.
 void setUserId(java.lang.String userId)
          Sets the userId of the User.
 
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

comment

public java.lang.String comment

createdOn

public java.util.Date createdOn

itemId

public java.lang.String itemId

rating

public java.lang.Double rating

reviewId

public java.lang.String reviewId

status

public java.lang.String status

userId

public java.lang.String userId
Constructor Detail

Review

public Review()
Method Detail

getComment

public java.lang.String getComment()
Returns the comment of the User.

Returns:
the comment of the User.

getCreatedOn

public java.util.Date getCreatedOn()
Returns the time, day and date of the review when it was created by the User.

Returns:
the createdOn information of the review by the User.

getItemId

public java.lang.String getItemId()
Returns the itemId of the User.

Returns:
the itemId of the User.

getRating

public java.lang.Double getRating()
Returns the rating given by the User.

Returns:
the rating given by the User.

getReviewId

public java.lang.String getReviewId()
Returns the reviewId of the User.

Returns:
the reviewId of the User.

getStatus

public java.lang.String getStatus()
Returns the status of the User.

Returns:
the status of the User.

getStringView

public java.lang.String getStringView()
Returns the User Response in JSON format.

Returns:
the response in JSON format.

getUserId

public java.lang.String getUserId()
Returns the user Id.

Returns:
the userId of the User.

setComment

public void setComment(java.lang.String comment)
Sets the comment of the User.

Parameters:
comment - - comment of the User

setCreatedOn

public void setCreatedOn(java.util.Date createdOn)
Sets the createdOn information of the review by the User.

Parameters:
createdOn - - createdOn information by the User

setItemId

public void setItemId(java.lang.String itemId)
Sets the itemId of the User.

Parameters:
itemId - - itemId of the User

setRating

public void setRating(java.lang.Double rating)
Sets the rating given by the User.

Parameters:
rating - - rating given by the User

setReviewId

public void setReviewId(java.lang.String reviewId)
Returns the comment of the User.


setStatus

public void setStatus(java.lang.String status)
Sets the status of the User.

Parameters:
status - - status of the User

setUserId

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

Parameters:
userId - - userId of the User