Package com.logicaldoc.core.document
Class Rating
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.document.Rating
- All Implemented Interfaces:
Serializable
A rating over a document
- Since:
- 6.1
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCount()
long
getDocId()
long
int
getVote()
void
setAverage
(Float average) void
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, getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Constructor Details
-
Rating
public Rating()
-
-
Method Details
-
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
-
setCount
-
getAverage
-
setAverage
-
getUsername
-
setUsername
-