public class UserNoteEntityImpl extends UserNoteEntity
UserNoteEntity
,
Serialized FormUserNoteEntity.Factory
Constructor and Description |
---|
UserNoteEntityImpl() |
Modifier and Type | Method and Description |
---|---|
double |
getRankNormalized()
Get the normalized rank between 0..1 based on the stored rank and the RANK_PRECISION.
|
void |
setRank(int rank) |
void |
setRankNormalized(double normalizedRank) |
attributesToString, equals, getId, getNote, getProperties, getRank, getUser, hashCode, setId, setNote, setProperties, setUser
public double getRankNormalized()
Get the normalized rank between 0..1 based on the stored rank and the RANK_PRECISION.
getRankNormalized
in class UserNoteEntity
UserNoteEntity.getRankNormalized()
public void setRank(int rank)
setRank
in class UserNoteEntity
public void setRankNormalized(double normalizedRank)
setRankNormalized
in class UserNoteEntity
UserNoteEntity.setRankNormalized(double)
Copyright © 2019 Communote team. All rights reserved.