org.directdemocracyportal.democracy.model.world
Class Vote

Package class diagram package Vote
java.lang.Object
  extended by org.directdemocracyportal.democracy.model.core.BaseEntity
      extended by org.directdemocracyportal.democracy.model.core.Resource
          extended by org.directdemocracyportal.democracy.model.world.Document
              extended by org.directdemocracyportal.democracy.model.world.Vote
All Implemented Interfaces:
java.io.Serializable

@Entity
public class Vote
extends Document

The Class Vote.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
static class Vote.Position
          The Enum Position.
 
Constructor Summary
Constructor and Description
Vote()
           
 
Method Summary
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

Vote

public Vote()
Method Detail

getPosition

public Vote.Position getPosition()
Gets the position.

Returns:
the position

setPosition

public void setPosition(Vote.Position position)
Sets the position.

Parameters:
position - the new position

getVoteDate

public java.util.Date getVoteDate()
Gets the vote date.

Returns:
the vote date

setVoteDate

public void setVoteDate(java.util.Date voteDate)
Sets the vote date.

Parameters:
voteDate - the new vote date

getVoteResult

public VoteResult getVoteResult()
Gets the vote result.

Returns:
the vote result

setVoteResult

public void setVoteResult(VoteResult voteResult)
Sets the vote result.

Parameters:
voteResult - the new vote result


Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.