From 184ece99e3a309d08ec702baf574136484f8dd1c Mon Sep 17 00:00:00 2001 From: Thodoris1999 Date: Wed, 3 Oct 2018 22:04:27 +0300 Subject: [PATCH] add shout object --- .../java/gr/thmmy/mthmmy/model/Shout.java | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 app/src/main/java/gr/thmmy/mthmmy/model/Shout.java diff --git a/app/src/main/java/gr/thmmy/mthmmy/model/Shout.java b/app/src/main/java/gr/thmmy/mthmmy/model/Shout.java new file mode 100644 index 00000000..4e1148c9 --- /dev/null +++ b/app/src/main/java/gr/thmmy/mthmmy/model/Shout.java @@ -0,0 +1,28 @@ +package gr.thmmy.mthmmy.model; + +public class Shout { + private final String shouter, shouterProfileURL, date, shout; + + public Shout(String shouter, String shouterProfileURL, String date, String shout) { + this.shouter = shouter; + this.shouterProfileURL = shouterProfileURL; + this.date = date; + this.shout = shout; + } + + public String getShouter() { + return shouter; + } + + public String getShouterProfileURL() { + return shouterProfileURL; + } + + public String getDate() { + return date; + } + + public String getShout() { + return shout; + } +}