Class Rating
- java.lang.Object
-
- com.adobe.cq.testing.client.components.collab.Rating
-
public class Rating extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringPRIMARY_TYPEstatic StringRESOURCE_TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetAdded()StringgetCreatedBy()StringgetDescription()StringgetEmail()static StringgetPrimaryType()intgetRating()static StringgetResourceType()StringgetUrl()StringgetUserAgent()StringgetUserIdentifier()booleanisApproved()voidsetAdded(Date added)voidsetApproved(boolean approved)voidsetCreatedBy(String createdBy)voidsetDescription(String description)voidsetEmail(String email)voidsetRating(int rating)voidsetUrl(String url)voidsetUserAgent(String userAgent)voidsetUserIdentifier(String userIdentifier)
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
PRIMARY_TYPE
public static final String PRIMARY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAdded
public Date getAdded()
- Returns:
- the added
-
setAdded
public void setAdded(Date added)
- 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
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
getUrl
public String getUrl()
- Returns:
- the url
-
setUrl
public void setUrl(String url)
- Parameters:
url- the url to set
-
getUserAgent
public String getUserAgent()
- Returns:
- the userAgent
-
setUserAgent
public void setUserAgent(String userAgent)
- Parameters:
userAgent- the userAgent to set
-
getEmail
public String getEmail()
- Returns:
- the email
-
setEmail
public void setEmail(String email)
- 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
public String getUserIdentifier()
- Returns:
- the userIdentifier
-
setUserIdentifier
public void setUserIdentifier(String userIdentifier)
- Parameters:
userIdentifier- the userIdentifier to set
-
getCreatedBy
public String getCreatedBy()
- Returns:
- the createdBy
-
setCreatedBy
public void setCreatedBy(String createdBy)
- Parameters:
createdBy- the createdBy to set
-
getResourceType
public static String getResourceType()
- Returns:
- the resourceType
-
getPrimaryType
public static String getPrimaryType()
- Returns:
- the primaryType
-
-