|
||||||||||
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.application.Event
@Entity public class Event extends BaseEntity
The Class Event.
Constructor and Description |
---|
Event()
Instantiates a new event. |
Event(User user,
Action action,
java.util.Date time)
Instantiates a new event. |
Modifier and Type | Method and Description |
---|---|
Action |
getAction()
Gets the action. |
java.lang.Long |
getId()
Gets the id. |
java.util.Date |
getTime()
Gets the time. |
User |
getUser()
Gets the user. |
void |
setAction(Action action)
Sets the action. |
void |
setId(java.lang.Long id)
Sets the id. |
void |
setTime(java.util.Date time)
Sets the time. |
void |
setUser(User user)
Sets the user. |
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 Event()
public Event(User user, Action action, java.util.Date time)
user
- the useraction
- the actiontime
- the timeMethod Detail |
---|
public java.lang.Long getId()
BaseEntity
getId
in class BaseEntity
public void setId(java.lang.Long id)
id
- the new idpublic User getUser()
public void setUser(User user)
user
- the new userpublic Action getAction()
public void setAction(Action action)
action
- the new actionpublic java.util.Date getTime()
public void setTime(java.util.Date time)
time
- the new time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |