Advertisement
Antoxa421

Class Item

Feb 24th, 2020
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.44 KB | None | 0 0
  1. package com.totrail.totrail.Model;
  2.  
  3. import java.util.List;
  4.  
  5. public class Item
  6. {
  7.     public String title;
  8.     public Object pubDate;
  9.     public String link;
  10.     public String guid;
  11.     public String author;
  12.     public String thumbnail;
  13.     public String description;
  14.     public String content;
  15.     public Enclosure enclosure;
  16.     public List<Object> categories;
  17.  
  18.     public Item(String title, Object pubDate, String link, String guid, String author, String thumbnail, String description, String content, Enclosure enclosure, List<Object> categories) {
  19.         this.title = title;
  20.         this.pubDate = pubDate;
  21.         this.link = link;
  22.         this.guid = guid;
  23.         this.author = author;
  24.         this.thumbnail = thumbnail;
  25.         this.description = description;
  26.         this.content = content;
  27.         this.enclosure = enclosure;
  28.         this.categories = categories;
  29.     }
  30.  
  31.     public String getTitle() {
  32.         return title;
  33.     }
  34.  
  35.     public void setTitle(String title) {
  36.         this.title = title;
  37.     }
  38.  
  39.     public Object getPubDate() {
  40.         return pubDate;
  41.     }
  42.  
  43.     public void setPubDate(Object pubDate) {
  44.         this.pubDate = pubDate;
  45.     }
  46.  
  47.     public String getLink() {
  48.         return link;
  49.     }
  50.  
  51.     public void setLink(String link) {
  52.         this.link = link;
  53.     }
  54.  
  55.     public String getGuid() {
  56.         return guid;
  57.     }
  58.  
  59.     public void setGuid(String guid) {
  60.         this.guid = guid;
  61.     }
  62.  
  63.     public String getAuthor() {
  64.         return author;
  65.     }
  66.  
  67.     public void setAuthor(String author) {
  68.         this.author = author;
  69.     }
  70.  
  71.     public String getThumbnail() {
  72.         return thumbnail;
  73.     }
  74.  
  75.     public void setThumbnail(String thumbnail) {
  76.         this.thumbnail = thumbnail;
  77.     }
  78.  
  79.     public String getDescription() {
  80.         return description;
  81.     }
  82.  
  83.     public void setDescription(String description) {
  84.         this.description = description;
  85.     }
  86.  
  87.     public String getContent() {
  88.         return content;
  89.     }
  90.  
  91.     public void setContent(String content) {
  92.         this.content = content;
  93.     }
  94.  
  95.     public Enclosure getEnclosure() {
  96.         return enclosure;
  97.     }
  98.  
  99.     public void setEnclosure(Enclosure enclosure) {
  100.         this.enclosure = enclosure;
  101.     }
  102.  
  103.     public List<Object> getCategories() {
  104.         return categories;
  105.     }
  106.  
  107.     public void setCategories(List<Object> categories) {
  108.         this.categories = categories;
  109.     }
  110. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement