1   package net.sf.flock.hibernate;
2   
3   import java.net.URL;
4   import java.util.Date;
5   
6   import net.sf.flock.FeedI;
7   import net.sf.flock.ItemI;
8   
9   class Item implements ItemI {
10  
11  	private Feed origin;
12  
13  	private String title;
14  	private String description;
15  	private URL link;
16  	private Date creationTime;
17  
18  	/***
19  	 * @see net.sf.flock.ItemI#getOrigin()
20  	 */
21  	public FeedI getOrigin() {
22  		return this.origin;
23  	}
24  
25  	public void setOrigin(Feed origin) {
26  		this.origin = origin;
27  		/*
28  		try {
29  			throw new Exception();
30  		} catch (Exception e) {
31  			e.printStackTrace();
32  		}
33  		System.out.println(this+" setOrigin "+origin);
34  		*/
35  	}
36  
37  	/***
38  	 * @see net.sf.flock.ItemI#getTitle()
39  	 */
40  	public String getTitle() {
41  		return this.title;
42  	}
43  
44  	protected void setTitle(String title) {
45  		this.title = title;
46  	}
47  
48  	/***
49  	 * @see net.sf.flock.ItemI#getDescription()
50  	 */
51  	public String getDescription() {
52  		return this.description;
53  	}
54  
55  	protected void setDescription(String description) {
56  		this.description = description;
57  	}
58  
59  	/***
60  	 * @see net.sf.flock.ItemI#getLink()
61  	 */
62  	public URL getLink() {
63  		return this.link;
64  	}
65  
66  	protected void setLink(URL link) {
67  		this.link = link;
68  	}
69  
70  	/***
71  	 * @see net.sf.flock.ItemI#getCreationTime()
72  	 */
73  	public Date getCreationTime() {
74  		return this.creationTime;
75  	}
76  
77  	protected void setCreationTime(Date creationTime) {
78  		this.creationTime = creationTime;
79  	}
80  
81  }
This page was automatically generated by Maven