org.springframework.social.alfresco.api.entities
Class Rating.Aggregate

java.lang.Object
  extended by org.springframework.social.alfresco.api.entities.Rating.Aggregate
Enclosing class:
Rating

public static class Rating.Aggregate
extends Object

An object with properties specific to the rating scheme. For likes this will contain a single property numberOfRatings . For fiveStar this will contain numberOfRatings and average .

Author:
jottley

Constructor Summary
Rating.Aggregate()
           
 
Method Summary
 long getNumberOfRatings()
           
 void setNumberOfRatings(long numberOfRatings)
          Set the number of ratings received
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rating.Aggregate

public Rating.Aggregate()
Method Detail

getNumberOfRatings

public long getNumberOfRatings()
Returns:
The number of ratings received

setNumberOfRatings

public void setNumberOfRatings(long numberOfRatings)
Set the number of ratings received

Parameters:
numberOfRatings -


Copyright © 2012 Alfresco Software Inc.. All Rights Reserved.