Package com.kernelcrew.moodapp.data
Class Comment
java.lang.Object
com.kernelcrew.moodapp.data.Comment
- All Implemented Interfaces:
Serializable
A logged mood event owned by a user referenced by that user's firebase auth UID.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
long
getUid()
void
setCommentText
(String commentText) void
setCreated
(Date created) void
void
setMoodEventId
(String moodEventId) void
void
setUsername
(String username) toString()
-
Constructor Details
-
Comment
public Comment()Empty constructor for Firestore deserialization. Do not use. -
Comment
Constructor for a new Comment with additional details. Will assign this comment a new random id.
-
-
Method Details