org.kinsources.kiwa.sciboard
Class Vote

java.lang.Object
  extended by org.kinsources.kiwa.sciboard.Vote

public class Vote
extends java.lang.Object

Author:
christian.momon@devinsy.fr

Nested Class Summary
static class Vote.Value
           
 
Constructor Summary
Vote(long ownerId, org.joda.time.DateTime creationDate, org.joda.time.DateTime editionDate, Vote.Value value)
           
Vote(long ownerId, Vote.Value value)
           
 
Method Summary
 org.joda.time.DateTime getCreationDate()
           
 org.joda.time.DateTime getEditionDate()
           
 long getOwnerId()
           
 Vote.Value getValue()
           
 void setCreationDate(org.joda.time.DateTime creationDate)
           
 void setEditionDate(org.joda.time.DateTime editionDate)
           
 void setOwnerId(long ownerId)
           
 void setValue(Vote.Value value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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)