public class CondorcetVoteCounting extends AbstractVoteCounting<CondorcetVoteCountingStrategy>
| Modifier and Type | Field and Description |
|---|---|
static int |
ID |
i18nHelp, i18nName, i18nShortHelp, id, strategyType| Constructor and Description |
|---|
CondorcetVoteCounting() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayVoteValue(Integer voteValue) |
String |
getTotalVoteValueNotValidMessage(Locale locale) |
ChoiceToVoteRenderType |
getVoteValueEditorType() |
String |
getVoteValueNotValidMessage(Locale locale,
String choiceName,
String voteValue) |
boolean |
isChoiceInVote(Integer voteValue) |
boolean |
isTotalVoteValueValid(int totalValues) |
boolean |
isVoteValueNull(Integer voteValue) |
boolean |
isVoteValueValid(Integer voteValue) |
getHelp, getId, getName, getShortHelp, newStrategypublic static final int ID
public String getVoteValueNotValidMessage(Locale locale, String choiceName, String voteValue)
public ChoiceToVoteRenderType getVoteValueEditorType()
public boolean isChoiceInVote(Integer voteValue)
public boolean isVoteValueNull(Integer voteValue)
public boolean isVoteValueValid(Integer voteValue)
public boolean isTotalVoteValueValid(int totalValues)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.