org.kinsources.kiwa.sciboard
Class Vote
java.lang.Object
org.kinsources.kiwa.sciboard.Vote
public class Vote
- extends java.lang.Object
- Author:
- christian.momon@devinsy.fr
Constructor Summary |
Vote(long ownerId,
org.joda.time.DateTime creationDate,
org.joda.time.DateTime editionDate,
Vote.Value value)
|
Vote(long ownerId,
Vote.Value value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Vote
public Vote(long ownerId,
org.joda.time.DateTime creationDate,
org.joda.time.DateTime editionDate,
Vote.Value value)
- Parameters:
authorId
- authorName
- creationDate
- editionDate
- value
-
Vote
public Vote(long ownerId,
Vote.Value value)
- Parameters:
authorId
- authorName
- value
-
getCreationDate
public org.joda.time.DateTime getCreationDate()
getEditionDate
public org.joda.time.DateTime getEditionDate()
getOwnerId
public long getOwnerId()
getValue
public Vote.Value getValue()
setCreationDate
public void setCreationDate(org.joda.time.DateTime creationDate)
setEditionDate
public void setEditionDate(org.joda.time.DateTime editionDate)
setOwnerId
public void setOwnerId(long ownerId)
setValue
public void setValue(Vote.Value value)