public class UserReview extends Review
| Modifier and Type | Class and Description |
|---|---|
static class |
UserReview.Builder
A factory for a UserReview's object.
|
static class |
UserReview.Columns
A utility class that contains various strings to be used as keys to communicate with the
remote server.
|
| Constructor and Description |
|---|
UserReview(org.json.JSONObject jsonObject)
UserReview's constructor.
|
UserReview(java.lang.String json)
UserReview's constructor.
|
| Modifier and Type | Method and Description |
|---|---|
User |
getReviewedUser()
Get the reviewed user.
|
protected void |
loadFromJSONObject(org.json.JSONObject jsonObject)
Set the BusinessEntity's properties loading them from a JSONObject.
|
org.json.JSONObject |
toJSONObject()
Convert a BusinessEntity to JSONObject.
|
getAuthor, getDescription, getFeedback, setDescription, setFeedbackgetJSONObject, toStringpublic UserReview(org.json.JSONObject jsonObject)
jsonObject - The JSONObject.public UserReview(java.lang.String json)
json - protected void loadFromJSONObject(org.json.JSONObject jsonObject)
BusinessEntityloadFromJSONObject in class ReviewjsonObject - The JSONObject.BusinessEntity.loadFromJSONObject(JSONObject)public User getReviewedUser()
public org.json.JSONObject toJSONObject()
BusinessEntitytoJSONObject in class ReviewBusinessEntity.toJSONObject()