* @param hashTag
* name
* @return
*/
public static final HashTagBean convertHashTagDomain(final HashTag hashTag) {
final HashTagBean unitHashTag = new HashTagBean();
unitHashTag.setHashTagName(hashTag.getHashTag());
unitHashTag.setId(hashTag.getHashTagId());
unitHashTag.setHits(hashTag.getHits());
// TODO: ENCUESTAME-191
// int x = (10 + (int)(Math.random() * ((40) - 5) + 10)); //TEMP.
if (hashTag.getSize() != null) {
unitHashTag.setSize(hashTag.getSize().intValue());
}
return unitHashTag;
}