public class ChoiceScore extends Object implements ChoiceIdAble, Comparable<ChoiceScore>
ChoiceIdAble.ChoiceIdAbleById| Constructor and Description |
|---|
ChoiceScore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addScoreValue(double scoreToAdd) |
int |
compareTo(ChoiceScore o) |
String |
getChoiceId() |
BigDecimal |
getScoreValue() |
static ChoiceScore |
newScore(String choiceId,
BigDecimal scoreValue) |
void |
setChoiceId(String choiceId) |
void |
setScoreValue(BigDecimal scoreValue) |
public static ChoiceScore newScore(String choiceId, BigDecimal scoreValue)
public String getChoiceId()
getChoiceId in interface ChoiceIdAblepublic BigDecimal getScoreValue()
public void setChoiceId(String choiceId)
public void addScoreValue(double scoreToAdd)
public void setScoreValue(BigDecimal scoreValue)
public int compareTo(ChoiceScore o)
compareTo in interface Comparable<ChoiceScore>Copyright © 2009-2012 CodeLutin. All Rights Reserved.