public class GroupVoteCountingResult extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,GroupOfVoter> |
groups |
protected GroupOfVoter |
voter |
| Constructor and Description |
|---|
GroupVoteCountingResult() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getGroupIds() |
VoteCountingResult |
getGroupResult(String groupId) |
VoteCountingResult |
getMainResult() |
static GroupVoteCountingResult |
newResult(GroupOfVoter voter,
Set<GroupOfVoter> groups) |
void |
setGroups(Set<GroupOfVoter> groups) |
void |
setVoter(GroupOfVoter voter) |
protected GroupOfVoter voter
protected Map<String,GroupOfVoter> groups
public static GroupVoteCountingResult newResult(GroupOfVoter voter, Set<GroupOfVoter> groups)
public VoteCountingResult getMainResult()
public VoteCountingResult getGroupResult(String groupId)
public void setVoter(GroupOfVoter voter)
public void setGroups(Set<GroupOfVoter> groups)
Copyright © 2009-2013 CodeLutin. All Rights Reserved.