|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.directdemocracyportal.democracy.model.core.BaseEntity org.directdemocracyportal.democracy.model.core.Resource org.directdemocracyportal.democracy.model.world.Document org.directdemocracyportal.democracy.model.world.VoteResult
@Entity public class VoteResult extends Document
The Class VoteResult.
Constructor and Description |
---|
VoteResult()
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsVote(java.lang.String name)
Contains vote. |
Vote.Position |
getFinalPosition()
Gets the final position. |
java.lang.String |
getHref()
Gets the href. |
Issue |
getIssue()
Gets the issue. |
java.util.Set<Vote> |
getVotes()
Gets the votes. |
void |
setFinalPosition(Vote.Position finalPosition)
Sets the final position. |
void |
setHref(java.lang.String href)
Sets the href. |
void |
setIssue(Issue issue)
Sets the issue. |
void |
setVotes(java.util.Set<Vote> votes)
Sets the votes. |
Methods inherited from class org.directdemocracyportal.democracy.model.core.Resource |
---|
getId, getName, getOwner, setId, setName, setOwner |
Methods inherited from class org.directdemocracyportal.democracy.model.core.BaseEntity |
---|
isNew |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VoteResult()
Method Detail |
---|
public Vote.Position getFinalPosition()
public void setFinalPosition(Vote.Position finalPosition)
finalPosition
- the new final positionpublic java.lang.String getHref()
public void setHref(java.lang.String href)
href
- the new hrefpublic Issue getIssue()
public void setIssue(Issue issue)
issue
- the new issuepublic java.util.Set<Vote> getVotes()
public void setVotes(java.util.Set<Vote> votes)
votes
- the new votespublic boolean containsVote(java.lang.String name)
name
- the name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |