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
Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, 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
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPersistentObject
-
equals
- Overrides:
equals
in classPersistentObject
-