Package com.example.rocket_launch
Class Notification
java.lang.Object
com.example.rocket_launch.Notification
Defines a notification class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateInvite(String id, String title, String eventId) creates a notification structured for an invitegetId()getTitle()voidsetEventId(String eventId) voidvoidsetInvitation(Boolean invitation) voidsetMessage(String message) void
-
Constructor Details
-
Notification
public Notification() -
Notification
-
-
Method Details
-
createInvite
creates a notification structured for an invite- Parameters:
id- id for databasetitle- title of notificationeventId- id of of event from which the invite came from
-
getId
-
setId
-
getTitle
-
setTitle
-
getMessage
-
setMessage
-
getInvitation
-
setInvitation
-
getEventId
-
setEventId
-