public class VoteResource extends java.lang.Object implements RestResource
RestResource.HasETag, RestResource.HasLastModified
Modifier and Type | Field and Description |
---|---|
static com.google.inject.TypeLiteral<RestView<VoteResource>> |
VOTE_KIND |
Constructor and Description |
---|
VoteResource(ReviewerResource reviewer,
java.lang.String label) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
ReviewerResource |
getReviewer() |
public static final com.google.inject.TypeLiteral<RestView<VoteResource>> VOTE_KIND
public VoteResource(ReviewerResource reviewer, java.lang.String label)
public ReviewerResource getReviewer()
public java.lang.String getLabel()