Class Rating

java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.document.Rating
All Implemented Interfaces:
Serializable

public class Rating extends PersistentObject
A rating over a document
Since:
6.1
Author:
Matteo Caruso - LogicalDOC
See Also:
  • 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

      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)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PersistentObject
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class PersistentObject