|
||||||||||
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.Vote
@Entity public class Vote extends Document
The Class Vote.
Modifier and Type | Class and Description |
---|---|
static class |
Vote.Position
The Enum Position. |
Constructor and Description |
---|
Vote()
|
Modifier and Type | Method and Description |
---|---|
Vote.Position |
getPosition()
Gets the position. |
java.util.Date |
getVoteDate()
Gets the vote date. |
VoteResult |
getVoteResult()
Gets the vote result. |
void |
setPosition(Vote.Position position)
Sets the position. |
void |
setVoteDate(java.util.Date voteDate)
Sets the vote date. |
void |
setVoteResult(VoteResult voteResult)
Sets the vote result. |
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 Vote()
Method Detail |
---|
public Vote.Position getPosition()
public void setPosition(Vote.Position position)
position
- the new positionpublic java.util.Date getVoteDate()
public void setVoteDate(java.util.Date voteDate)
voteDate
- the new vote datepublic VoteResult getVoteResult()
public void setVoteResult(VoteResult voteResult)
voteResult
- the new vote result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |