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 String
PRIMARY_TYPE
static String
RESOURCE_TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getAdded()
String
getCreatedBy()
String
getDescription()
String
getEmail()
static String
getPrimaryType()
int
getRating()
static String
getResourceType()
String
getUrl()
String
getUserAgent()
String
getUserIdentifier()
boolean
isApproved()
void
setAdded(Date added)
void
setApproved(boolean approved)
void
setCreatedBy(String createdBy)
void
setDescription(String description)
void
setEmail(String email)
void
setRating(int rating)
void
setUrl(String url)
void
setUserAgent(String userAgent)
void
setUserIdentifier(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
-
-