Package knf.hydra.core.models.data
Class ReviewResult
-
- All Implemented Interfaces:
public final class ReviewResultData representing the result of an user review
-
-
Field Summary
Fields Modifier and Type Field Description private final Doublestartsprivate final Stringcommentary
-
Constructor Summary
Constructors Constructor Description ReviewResult(Double starts, String commentary)
-
Method Summary
Modifier and Type Method Description final DoublegetStarts()The user selected stars, null if ReviewConfig.starsState is State.DISABLED or the user didn't input a response when State.OPTIONAL final StringgetCommentary()The user commentary, null if ReviewConfig.starsState is State.DISABLED or the user didn't input a response when State.OPTIONAL -
-
Method Detail
-
getStarts
final Double getStarts()
The user selected stars, null if ReviewConfig.starsState is State.DISABLED or the user didn't input a response when State.OPTIONAL
-
getCommentary
final String getCommentary()
The user commentary, null if ReviewConfig.starsState is State.DISABLED or the user didn't input a response when State.OPTIONAL
-
-
-
-