Class EventDetail
java.lang.Object
com.example.skeddly.business.event.EventDetail
This class represents specific details about an event.
-
Constructor Summary
ConstructorsConstructorDescriptionNo arg Constructor for EventDetails.EventDetail(String name, String description, String entryCriteria) Constructor for the EventDetailConstructor for the EventDetail -
Method Summary
Modifier and TypeMethodDescriptionGets the categories of the eventGets the description of the eventGets the entry criteria for the event.getName()Gets the name of the eventvoidsetCategories(ArrayList<String> categories) Sets the categories of the eventvoidsetDescription(String description) Sets the description of the eventvoidsetEntryCriteria(String entryCriteria) Sets the entry criteria for the event.voidSets the name of the event
-
Constructor Details
-
EventDetail
public EventDetail()No arg Constructor for EventDetails. Required by Firestore. -
EventDetail
public EventDetail(String name, String description, String entryCriteria, ArrayList<String> categories) Constructor for the EventDetail- Parameters:
name- The name of the eventdescription- The description of the eventcategories- The categories of the event
-
EventDetail
Constructor for the EventDetail- Parameters:
name- The name of the eventdescription- The description of the event
-
-
Method Details
-
getName
Gets the name of the event- Returns:
- The name of the event
-
setName
Sets the name of the event- Parameters:
name- The name of the event
-
getDescription
Gets the description of the event- Returns:
- The description of the event
-
setDescription
Sets the description of the event- Parameters:
description- The description of the event
-
getEntryCriteria
Gets the entry criteria for the event.- Returns:
- A string containing the entry criteria.
-
setEntryCriteria
Sets the entry criteria for the event.- Parameters:
entryCriteria- A string containing the entry criteria.
-
getCategories
Gets the categories of the event- Returns:
- The categories of the event
-
setCategories
Sets the categories of the event- Parameters:
categories- The categories of the event
-