1 43 package net.jforum.util.rss; 44 45 import java.util.ArrayList ; 46 import java.util.List ; 47 48 54 public class RSSItem 55 { 56 private String author; 57 private String link; 58 private String title; 59 private String description; 60 private String contentType; 61 private String publishDate; 62 private List categories; 63 64 public RSSItem() 65 { 66 this.categories = new ArrayList (); 67 } 68 69 73 public String getAuthor() 74 { 75 return this.author; 76 } 77 78 82 public void setAuthor(String author) 83 { 84 this.author = author; 85 } 86 87 92 public String getContentType() 93 { 94 return this.contentType; 95 } 96 97 101 public void setContentType(String contentType) 102 { 103 this.contentType = contentType; 104 } 105 106 110 public String getDescription() 111 { 112 return this.description; 113 } 114 115 119 public void setDescription(String description) 120 { 121 this.description = description; 122 } 123 124 128 public String getLink() 129 { 130 return this.link; 131 } 132 133 137 public void setLink(String link) 138 { 139 this.link = link; 140 } 141 142 146 public String getTitle() 147 { 148 return this.title; 149 } 150 151 155 public void setTitle(String title) 156 { 157 this.title = title; 158 } 159 160 164 public void setPublishDate(String date) 165 { 166 this.publishDate = date; 167 } 168 169 173 public String getPublishDate() 174 { 175 return this.publishDate; 176 } 177 178 184 public void addCategory(String category) 185 { 186 this.categories.add(category); 187 } 188 189 193 public List getCategories() 194 { 195 return this.categories; 196 } 197 } 198 | Popular Tags |