java.lang.Object
com.adobe.cq.testing.client.components.collab.Rating

public class Rating extends Object
  • Field Details

  • Constructor Details

    • Rating

      public Rating(Date added, int rating, String description, String url, String userAgent, String email, boolean approved, String userIdentifier, String createdBy)
    • Rating

      public Rating(com.fasterxml.jackson.databind.JsonNode node)
  • Method Details

    • 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