fr.paris.lutece.plugins.rating.business
Class ResourceStat

java.lang.Object
  extended by fr.paris.lutece.plugins.rating.business.ResourceStat

public class ResourceStat
extends java.lang.Object

class ResourceStat


Constructor Summary
ResourceStat()
           
 
Method Summary
 int getDownloadCount()
           
 int getIdResource()
           
 java.lang.String getResourceType()
           
 int getScoreValue()
           
 int getViewCount()
           
 int getVoteCount()
           
 void setDownloadCount(int nDownloadCount)
          set the download count
 void setIdResource(int nIdResource)
          set the Id of the resource
 void setResourceType(java.lang.String strResourceType)
          set the resource type
 void setScoreValue(int nScoreValue)
          set the score value
 void setViewCount(int nViewCount)
          set the view count
 void setVoteCount(int nVoteCount)
          set the vote count
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceStat

public ResourceStat()
Method Detail

setResourceType

public void setResourceType(java.lang.String strResourceType)
set the resource type

Parameters:
strResourceType - the resource type of the statistic

getResourceType

public java.lang.String getResourceType()
Returns:
the resource type of the statistic

setIdResource

public void setIdResource(int nIdResource)
set the Id of the resource

Parameters:
nIdResource - the id of the resource

getIdResource

public int getIdResource()
Returns:
the Id of the resource

setDownloadCount

public void setDownloadCount(int nDownloadCount)
set the download count

Parameters:
nDownloadCount - the count of download

getDownloadCount

public int getDownloadCount()
Returns:
the download count

setVoteCount

public void setVoteCount(int nVoteCount)
set the vote count

Parameters:
nVoteCount - the count of vote

getVoteCount

public int getVoteCount()
Returns:
the vote count

setViewCount

public void setViewCount(int nViewCount)
set the view count

Parameters:
nViewCount - the count of view

getViewCount

public int getViewCount()
Returns:
the view count

setScoreValue

public void setScoreValue(int nScoreValue)
set the score value

Parameters:
nScoreValue - the value of the score

getScoreValue

public int getScoreValue()
Returns:
the score value


Copyright © 2011 Mairie de Paris. All Rights Reserved.