Package com.example.oblong
Class Event
java.lang.Object
com.example.oblong.Event
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintThegetEventCapacitymethod gets the event capacityThegetEventCloseDatemethod gets the event close dateThegetEventDescriptionmethod gets the event descriptionThegetEventIDmethod gets the event IDThegetEventNamemethod gets the event nameThegetPostermethod gets the postergetQrID()voidsetEventCapacity(Long eventCapacity) ThesetEventCapacitymethod sets the event capacityvoidsetEventCloseDate(Date eventCloseDate) ThesetEventCloseDatemethod sets the event close datevoidsetEventDescription(String eventDescription) ThesetEventDescriptionmethod sets the event descriptionvoidsetEventID(String eventID) ThesetEventIDmethod sets the event IDvoidsetEventName(String eventName) ThesetEventNamemethod sets the event namevoidThesetPostermethod sets the postervoid
-
Constructor Details
-
Event
TheEventmethod retrieves an event data from Firebase- Parameters:
eventID-
-
-
Method Details
-
drawOneEntrant
public void drawOneEntrant() -
getEventName
ThegetEventNamemethod gets the event name- Returns:
-
setEventName
ThesetEventNamemethod sets the event name- Parameters:
eventName-
-
getEventDescription
ThegetEventDescriptionmethod gets the event description- Returns:
-
setEventDescription
ThesetEventDescriptionmethod sets the event description- Parameters:
eventDescription-
-
getEventCloseDate
ThegetEventCloseDatemethod gets the event close date- Returns:
-
getEventCloseLong
-
getEventCloseMon
-
getEventCloseDay
-
getEventCloseTime
-
setEventCloseDate
ThesetEventCloseDatemethod sets the event close date- Parameters:
eventCloseDate-
-
getEventCapacity
public int getEventCapacity()ThegetEventCapacitymethod gets the event capacity- Returns:
-
setEventCapacity
ThesetEventCapacitymethod sets the event capacity- Parameters:
eventCapacity-
-
getEventID
ThegetEventIDmethod gets the event ID- Returns:
-
setEventID
ThesetEventIDmethod sets the event ID- Parameters:
eventID-
-
getPoster
ThegetPostermethod gets the poster- Returns:
-
setPoster
ThesetPostermethod sets the poster- Parameters:
poster-
-
setStatus
-
getStatus
-
setQrID
-
getQrID
-