*/
public static PollBeanResult convertPollResultToBean(final Long answerId,
final String answerString, final String color,
final Long resultVotes, final Question question) {
final PollBeanResult result = new PollBeanResult();
final QuestionAnswerBean answer = new QuestionAnswerBean();
answer.setAnswerId(answerId);
answer.setAnswers(answerString);
answer.setColor(color);
answer.setQuestionId(question.getQid());
result.setAnswerBean(answer);
result.setResult(resultVotes);
//FIXME: these properties are repeated, we need to update and unify these properties.
result.setAnswerName(answer.getAnswers());
result.setVotes(resultVotes);
result.setColor(answer.getColor());
result.setUrl(answer.getUrl());
result.setShortUrl(answer.getShortUrl());
result.setAnswerId(answerId);
return result;
}