Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. package mpdproject.gcu.me.org.assignmenttest1;
  2.  
  3. import android.widget.ArrayAdapter;
  4.  
  5. /**
  6. * Created by drewlorimer on 14/03/2018.
  7. */
  8.  
  9. public class CurrentIncidentFeed {
  10. private String title;
  11. private String description;
  12. private String link;
  13. private String geoPoint;
  14. private String author;
  15. private String comment;
  16. private String pubDate;
  17.  
  18. public CurrentIncidentFeed()
  19. {
  20. title = "";
  21. description = "";
  22. link = "";
  23. geoPoint = "";
  24. author = "";
  25. comment = "";
  26. pubDate = "";
  27. }
  28.  
  29. public CurrentIncidentFeed(String atitle, String adescription, String alink, String ageoPoint, String aauthor, String acomment, String apubDate)
  30. {
  31. title = atitle;
  32. description = adescription;
  33. link = alink;
  34. geoPoint = ageoPoint;
  35. author = aauthor;
  36. comment = acomment;
  37. pubDate = apubDate;
  38. }
  39.  
  40. public String getTitle() {
  41. return title;
  42. }
  43.  
  44. public void setTitle(String title) {
  45. this.title = title;
  46. }
  47.  
  48. public String getDescription() {
  49. return description;
  50. }
  51.  
  52. public void setDescription(String description) {
  53. this.description = description;
  54. }
  55.  
  56. public String getLink() {
  57. return link;
  58. }
  59.  
  60. public void setLink(String link) {
  61. this.link = link;
  62. }
  63.  
  64. public String getGeoPoint() {
  65. return geoPoint;
  66. }
  67.  
  68. public void setGeoPoint(String geoPoint) {
  69. this.geoPoint = geoPoint;
  70. }
  71.  
  72. public String getAuthor() {
  73. return author;
  74. }
  75.  
  76. public void setAuthor(String author) {
  77. this.author = author;
  78. }
  79.  
  80. public String getComment() {
  81. return comment;
  82. }
  83.  
  84. public void setComment(String comment) {
  85. this.comment = comment;
  86. }
  87.  
  88. public String getPubDate() {
  89. return pubDate;
  90. }
  91.  
  92. public void setPubDate(String pubDate) {
  93. this.pubDate = pubDate;
  94. }
  95.  
  96. @Override
  97. public String toString()
  98. {
  99. String temp;
  100. temp = title + "\n " + description + " \n" + link + " \n" + geoPoint + " \n" + author + " \n" + comment + " \n" + pubDate;
  101. return temp;
  102. }
  103.  
  104.  
  105. } // End of class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement