Package com.logicaldoc.core.document
Class Rating
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.core.document.Rating
-
public class Rating extends PersistentObject
A rating over a document- Since:
- 6.1
- Author:
- Matteo Caruso - LogicalDOC
-
-
Field Summary
-
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
-
Constructor Summary
Constructors Constructor Description Rating()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Float
getAverage()
Integer
getCount()
long
getDocId()
long
getUserId()
String
getUsername()
int
getVote()
void
setAverage(Float average)
void
setCount(Integer count)
void
setDocId(long docId)
void
setUserId(long userId)
void
setUsername(String username)
void
setVote(int vote)
-
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
-
-
-
Method Detail
-
getUserId
public long getUserId()
-
setUserId
public void setUserId(long userId)
-
getDocId
public long getDocId()
-
setDocId
public void setDocId(long docId)
-
getVote
public int getVote()
-
setVote
public void setVote(int vote)
-
getCount
public Integer getCount()
-
setCount
public void setCount(Integer count)
-
getAverage
public Float getAverage()
-
setAverage
public void setAverage(Float average)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
-