Class Score

java.lang.Object
io.gs2.ranking.model.Score
All Implemented Interfaces:
IModel, Serializable, Comparable<Score>

public class Score extends Object implements IModel, Serializable, Comparable<Score>
See Also:
  • Constructor Details

    • Score

      public Score()
  • Method Details

    • getScoreId

      public String getScoreId()
    • setScoreId

      public void setScoreId(String scoreId)
    • withScoreId

      public Score withScoreId(String scoreId)
    • getCategoryName

      public String getCategoryName()
    • setCategoryName

      public void setCategoryName(String categoryName)
    • withCategoryName

      public Score withCategoryName(String categoryName)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public Score withUserId(String userId)
    • getUniqueId

      public String getUniqueId()
    • setUniqueId

      public void setUniqueId(String uniqueId)
    • withUniqueId

      public Score withUniqueId(String uniqueId)
    • getScorerUserId

      public String getScorerUserId()
    • setScorerUserId

      public void setScorerUserId(String scorerUserId)
    • withScorerUserId

      public Score withScorerUserId(String scorerUserId)
    • getScore

      public Long getScore()
    • setScore

      public void setScore(Long score)
    • withScore

      public Score withScore(Long score)
    • getMetadata

      public String getMetadata()
    • setMetadata

      public void setMetadata(String metadata)
    • withMetadata

      public Score withMetadata(String metadata)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Score withCreatedAt(Long createdAt)
    • getRevision

      public Long getRevision()
    • setRevision

      public void setRevision(Long revision)
    • withRevision

      public Score withRevision(Long revision)
    • fromJson

      public static Score fromJson(com.fasterxml.jackson.databind.JsonNode data)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
    • compareTo

      public int compareTo(Score o)
      Specified by:
      compareTo in interface Comparable<Score>
    • hashCode

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object