Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package mpdproject.gcu.me.org.assignmenttest1;
- import android.widget.ArrayAdapter;
- /**
- * Created by drewlorimer on 14/03/2018.
- */
- public class CurrentIncidentFeed {
- private String title;
- private String description;
- private String link;
- private String geoPoint;
- private String author;
- private String comment;
- private String pubDate;
- public CurrentIncidentFeed()
- {
- title = "";
- description = "";
- link = "";
- geoPoint = "";
- author = "";
- comment = "";
- pubDate = "";
- }
- public CurrentIncidentFeed(String atitle, String adescription, String alink, String ageoPoint, String aauthor, String acomment, String apubDate)
- {
- title = atitle;
- description = adescription;
- link = alink;
- geoPoint = ageoPoint;
- author = aauthor;
- comment = acomment;
- pubDate = apubDate;
- }
- public String getTitle() {
- return title;
- }
- public void setTitle(String title) {
- this.title = title;
- }
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
- public String getLink() {
- return link;
- }
- public void setLink(String link) {
- this.link = link;
- }
- public String getGeoPoint() {
- return geoPoint;
- }
- public void setGeoPoint(String geoPoint) {
- this.geoPoint = geoPoint;
- }
- public String getAuthor() {
- return author;
- }
- public void setAuthor(String author) {
- this.author = author;
- }
- public String getComment() {
- return comment;
- }
- public void setComment(String comment) {
- this.comment = comment;
- }
- public String getPubDate() {
- return pubDate;
- }
- public void setPubDate(String pubDate) {
- this.pubDate = pubDate;
- }
- @Override
- public String toString()
- {
- String temp;
- temp = title + "\n " + description + " \n" + link + " \n" + geoPoint + " \n" + author + " \n" + comment + " \n" + pubDate;
- return temp;
- }
- } // End of class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement