|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.muni.fi.pclis.domain.learningContracts.UserVote
public class UserVote
Embeddable object representing vote of a user for some learning contract User: Ľuboš Pecho Date: 11.2.2010 Time: 20:17:38
Field Summary | |
---|---|
private Date |
timeStamp
Date of the vote |
private User |
user
Voter |
Constructor Summary | |
---|---|
UserVote()
|
|
UserVote(User user,
Date timeStamp)
|
Method Summary | |
---|---|
Date |
getTimeStamp()
|
User |
getUser()
|
void |
setTimeStamp(Date timeStamp)
Sets the timestamp :D |
void |
setUser(User user)
Sets the voter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private User user
private Date timeStamp
Constructor Detail |
---|
public UserVote()
public UserVote(User user, Date timeStamp)
Method Detail |
---|
public User getUser()
public void setUser(User user)
user
- public Date getTimeStamp()
public void setTimeStamp(Date timeStamp)
timeStamp
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |