View Javadoc

1   /*
2    * Copyright 2007 Sebastien Brunot (sbrunot@gmail.com)
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *   http://www.apache.org/licenses/LICENSE-2.0
9    *   
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package net.sourceforge.buildmonitor.utils;
17  
18  import java.util.Date;
19  
20  /**
21   * An item in a RSS feed document.
22   * @author sbrunot
23   *
24   */
25  public class RssFeedItem
26  {
27  	//////////////////////////////////
28  	// Attributes
29  	//////////////////////////////////
30  	
31  	private String title = null;
32  	
33  	private String description = null;
34  	
35  	private Date pubDate = null;
36  	
37  	private String link = null;
38  
39  	//////////////////////////////////
40  	// Constructors
41  	//////////////////////////////////
42  
43  	public RssFeedItem()
44  	{
45  	}
46  
47  	//////////////////////////////////
48  	// Accessors
49  	//////////////////////////////////
50  	
51  	public String getDescription()
52  	{
53  		return description;
54  	}
55  
56  	public void setDescription(String description)
57  	{
58  		this.description = description;
59  	}
60  
61  	public String getLink()
62  	{
63  		return link;
64  	}
65  
66  	public void setLink(String link)
67  	{
68  		this.link = link;
69  	}
70  
71  	public Date getPubDate()
72  	{
73  		return pubDate;
74  	}
75  
76  	public void setPubDate(Date pubDate)
77  	{
78  		this.pubDate = pubDate;
79  	}
80  
81  	public String getTitle()
82  	{
83  		return title;
84  	}
85  
86  	public void setTitle(String title)
87  	{
88  		this.title = title;
89  	}
90  
91  }