-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Review processing and Rating data in PDP
- Loading branch information
1 parent
93bed42
commit 170b7ac
Showing
14 changed files
with
197 additions
and
636 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
app/src/main/java/com/avnet/gears/codes/gimbal/store/bean/RatingBean.java
This file was deleted.
Oops, something went wrong.
70 changes: 19 additions & 51 deletions
70
app/src/main/java/com/avnet/gears/codes/gimbal/store/bean/ReviewBean.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,44 @@ | ||
package com.avnet.gears.codes.gimbal.store.bean; | ||
|
||
import java.util.Arrays; | ||
|
||
/** | ||
* Created by 914889 on 3/16/15. | ||
*/ | ||
public class ReviewBean extends BaseServerDataBean { | ||
private String TotalResults; | ||
private String Offset; | ||
private String HasErrors; | ||
private ReviewResult[] Results; | ||
private RatingBean Includes; | ||
private String[] errors; | ||
|
||
public String getTotalResults() { | ||
return TotalResults; | ||
} | ||
|
||
public void setTotalResults(String totalResults) { | ||
TotalResults = totalResults; | ||
} | ||
|
||
public String getOffset() { | ||
return Offset; | ||
} | ||
|
||
public void setOffset(String offset) { | ||
Offset = offset; | ||
} | ||
|
||
public String getHasErrors() { | ||
return HasErrors; | ||
} | ||
|
||
public void setHasErrors(String hasErrors) { | ||
HasErrors = hasErrors; | ||
} | ||
private String Review; | ||
private String Rating; | ||
private String Friend; | ||
|
||
public ReviewResult[] getResults() { | ||
return Results; | ||
public String getReview() { | ||
return Review; | ||
} | ||
|
||
public void setResults(ReviewResult[] results) { | ||
Results = results; | ||
public void setReview(String review) { | ||
Review = review; | ||
} | ||
|
||
public RatingBean getIncludes() { | ||
return Includes; | ||
public String getRating() { | ||
return Rating; | ||
} | ||
|
||
public void setIncludes(RatingBean includes) { | ||
Includes = includes; | ||
public void setRating(String rating) { | ||
Rating = rating; | ||
} | ||
|
||
public String[] getErrors() { | ||
return errors; | ||
public String getFriend() { | ||
return Friend; | ||
} | ||
|
||
public void setErrors(String[] errors) { | ||
this.errors = errors; | ||
public void setFriend(String friend) { | ||
Friend = friend; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return super.toString() + | ||
return super.toString()+ | ||
"ReviewBean{" + | ||
"TotalResults='" + TotalResults + '\'' + | ||
", Offset='" + Offset + '\'' + | ||
", HasErrors='" + HasErrors + '\'' + | ||
", Results=" + Arrays.toString(Results) + | ||
", Includes='" + Includes + '\'' + | ||
", errors=" + Arrays.toString(errors) + | ||
"Review='" + Review + '\'' + | ||
", Rating='" + Rating + '\'' + | ||
", Friend='" + Friend + '\'' + | ||
'}'; | ||
} | ||
} |
Oops, something went wrong.