fr.paris.lutece.plugins.extend.modules.rating.business
Class Rating
java.lang.Object
fr.paris.lutece.plugins.extend.modules.rating.business.Rating
public class Rating
- extends java.lang.Object
Rating
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rating
public Rating()
getIdRating
public int getIdRating()
- Returns:
- the nIdRating
setIdRating
public void setIdRating(int nIdRating)
- Parameters:
nIdRating - the nIdRating to set
getIdExtendableResource
public java.lang.String getIdExtendableResource()
- Returns:
- the strIdExtendableResource
setIdExtendableResource
public void setIdExtendableResource(java.lang.String strIdExtendableResource)
- Parameters:
strIdExtendableResource - the strIdExtendableResource to set
getExtendableResourceType
public java.lang.String getExtendableResourceType()
- Returns:
- the extendableResourceType
setExtendableResourceType
public void setExtendableResourceType(java.lang.String strExtendableResourceType)
- Parameters:
strExtendableResourceType - the extendableResourceType to set
getVoteCount
public int getVoteCount()
- Returns:
- the nVoteCount
setVoteCount
public void setVoteCount(int nVoteCount)
- Parameters:
nVoteCount - the nVoteCount to set
getScoreValue
public int getScoreValue()
- Returns:
- the nScoreValue
setScoreValue
public void setScoreValue(int nScoreValue)
- Parameters:
nScoreValue - the nScoreValue to set
getAverageScore
public int getAverageScore()
- Calculate the score (min : 0 - max : 4).
- Returns:
- the calcultated score
Copyright © 2012 Mairie de Paris. All Rights Reserved.