public class Rating extends Object
| Constructor and Description |
|---|
Rating() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAverageScore()
Calculate the score (min : 1 - max : 4).
|
String |
getExtendableResourceType() |
String |
getIdExtendableResource() |
int |
getIdRating() |
int |
getScoreValue() |
int |
getVoteCount() |
void |
setExtendableResourceType(String strExtendableResourceType) |
void |
setIdExtendableResource(String strIdExtendableResource) |
void |
setIdRating(int nIdRating) |
void |
setScoreValue(int nScoreValue) |
void |
setVoteCount(int nVoteCount) |
public int getIdRating()
public void setIdRating(int nIdRating)
nIdRating - the nIdRating to setpublic String getIdExtendableResource()
public void setIdExtendableResource(String strIdExtendableResource)
strIdExtendableResource - the strIdExtendableResource to setpublic String getExtendableResourceType()
public void setExtendableResourceType(String strExtendableResourceType)
strExtendableResourceType - the extendableResourceType to setpublic int getVoteCount()
public void setVoteCount(int nVoteCount)
nVoteCount - the nVoteCount to setpublic int getScoreValue()
public void setScoreValue(int nScoreValue)
nScoreValue - the nScoreValue to setpublic int getAverageScore()
Copyright © 2015 City of Paris. All rights reserved.