| Modifier and Type | Method and Description |
|---|---|
User |
Event.getCreator()
Returns the creator of the event.
|
User |
Event.getOrganizer()
Returns the organizer of the event.
|
User |
VerificationToken.getUser() |
| Modifier and Type | Method and Description |
|---|---|
Set<User> |
Event.getAssistants()
Returns the list of assistants of this event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Event.addAssistant(User assistant)
Adds a new
User to this event's assistants set. |
boolean |
Event.hasAssistants(User assistant)
Checks whether a given
User is an assistant of the current event. |
void |
Event.removeAssistant(User assistant)
Removes an
User from this event's assistants set. |
void |
Event.setAssistants(User assistant)
Sets a assistants of this event.
|
void |
Event.setCreator(User creator)
Sets the creator of this event.
|
void |
Event.setOrganizer(User organizer)
Sets the organizer of this event.
|
void |
VerificationToken.setUser(User user) |
| Constructor and Description |
|---|
Event(int id,
User organizer,
User creator,
String title,
String head,
String description,
Category category,
String location,
Date start,
Date end) |
Event(User organizer,
User creator,
String title,
String head,
String description,
Category category,
String location,
Date start,
Date end)
Creates a new instance of
Event |
VerificationToken(String token,
User user) |
Copyright © 2016. All rights reserved.