package net.Ox4a42.volksempfaenger.feedparser;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FeedItem {
	public String getTitle() {
		return "E001 Example Episode";
	}
	
	public Feed getFeed() {
		return new Feed();
	}
	
	public Date getDate() {
		return new Date(2011, 8, 19, 23, 58);
	}
	
	public String getUrl() {
		return "http://example.com/E001/";
	}
	
	public String getDescription() {
		return "This is the first example episode";
	}
	
	public List<Enclosure> getEnclosures() {
		List<Enclosure> l = new ArrayList<Enclosure>();
		l.add(new Enclosure());
		return l;
	}
}

@@ -140,16 +140,165 @@
 dItem %7B%0A
+%09private String title, url, description;%0A%09private Feed feed;%0A%09private Date date;%0A%09private List%3CEnclosure%3E enclosures = new ArrayList%3CEnclosure%3E();%0A%09%0A
 %09public 
@@ -330,30 +330,13 @@
 urn 
-%22E001 Example Episode%22
+title
 ;%0A%09%7D
@@ -376,18 +376,12 @@
 urn 
-new F
+f
 eed
-()
 ;%0A%09%7D
@@ -421,37 +421,12 @@
 urn 
-new Date(2011, 8, 19, 23, 58)
+date
 ;%0A%09%7D
@@ -467,34 +467,11 @@
 urn 
-%22http://example.com/E001/%22
+url
 ;%0A%09%7D
@@ -520,43 +520,19 @@
 urn 
-%22This is the first example episode%22
+description
 ;%0A%09%7D
@@ -582,92 +582,350 @@
 %7B%0A%09%09
-List%3CEnclosure%3E l = new ArrayList%3CEnclosure%3E();%0A%09%09l.add(new Enclosure());%0A%09%09return l
+return enclosures;%0A%09%7D%0A%0A%0A%09public void setTitle(String title) %7B%0A%09%09this.title = title;%0A%09%7D%0A%0A%09public void setUrl(String url) %7B%0A%09%09this.url = url;%0A%09%7D%0A%0A%09public void setDescription(String description) %7B%0A%09%09this.description = description;%0A%09%7D%0A%0A%09public void setFeed(Feed feed) %7B%0A%09%09this.feed = feed;%0A%09%7D%0A%0A%09public void setDate(Date date) %7B%0A%09%09this.date = date
 ;%0A%09%7D

Add setters to FeedItem class