Class Rating
java.lang.Object
com.adobe.cq.testing.client.components.collab.Rating
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAdded()getEmail()static Stringintstatic StringgetUrl()booleanvoidvoidsetApproved(boolean approved) voidsetCreatedBy(String createdBy) voidsetDescription(String description) voidvoidsetRating(int rating) voidvoidsetUserAgent(String userAgent) voidsetUserIdentifier(String userIdentifier)
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
PRIMARY_TYPE
- See Also:
-
-
Constructor Details
-
Rating
-
Rating
public Rating(com.fasterxml.jackson.databind.JsonNode node)
-
-
Method Details
-
getAdded
- Returns:
- the added
-
setAdded
- Parameters:
added- the added to set
-
getRating
public int getRating()- Returns:
- the rating
-
setRating
public void setRating(int rating) - Parameters:
rating- the rating to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getUrl
- Returns:
- the url
-
setUrl
- Parameters:
url- the url to set
-
getUserAgent
- Returns:
- the userAgent
-
setUserAgent
- Parameters:
userAgent- the userAgent to set
-
getEmail
- Returns:
- the email
-
setEmail
- Parameters:
email- the email to set
-
isApproved
public boolean isApproved()- Returns:
- the approved
-
setApproved
public void setApproved(boolean approved) - Parameters:
approved- the approved to set
-
getUserIdentifier
- Returns:
- the userIdentifier
-
setUserIdentifier
- Parameters:
userIdentifier- the userIdentifier to set
-
getCreatedBy
- Returns:
- the createdBy
-
setCreatedBy
- Parameters:
createdBy- the createdBy to set
-
getResourceType
- Returns:
- the resourceType
-
getPrimaryType
- Returns:
- the primaryType
-