| Modifier and Type | Method and Description |
|---|---|
Category |
Event.getCategory()
Returns the category of the event
|
static Category |
Category.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Category[] |
Category.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Event.setCategory(Category category)
Sets the category of the event
|
| Constructor and Description |
|---|
Event(Integer id,
String title,
Category category,
String description,
String longDescription,
Date eventDate,
String location,
int participants,
long duration,
User creator)
Constructs a new instance of
Event. |
Event(String title,
Category category,
String description,
String longDescription,
Date eventDate,
String location,
long duration,
User creator)
Constructs a new instance of
Event. |
Copyright © 2016. All rights reserved.