This project has retired. For details please refer to its Attic page.
RssFeedEntry xref
View Javadoc
1   package org.apache.archiva.rss;
2   
3   import java.util.Date;
4   
5   /*
6    * Licensed to the Apache Software Foundation (ASF) under one
7    * or more contributor license agreements.  See the NOTICE file
8    * distributed with this work for additional information
9    * regarding copyright ownership.  The ASF licenses this file
10   * to you under the Apache License, Version 2.0 (the
11   * "License"); you may not use this file except in compliance
12   * with the License.  You may obtain a copy of the License at
13   *
14   *  http://www.apache.org/licenses/LICENSE-2.0
15   *
16   * Unless required by applicable law or agreed to in writing,
17   * software distributed under the License is distributed on an
18   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19   * KIND, either express or implied.  See the License for the
20   * specific language governing permissions and limitations
21   * under the License.
22   */
23  
24  /**
25   * Holds the data for the SyndEntry in the RSS feed.
26   * 
27   * @version
28   */
29  public class RssFeedEntry
30  {
31      private String title;
32      
33      private String link;
34      
35      private String description;
36      
37      private String author;
38      
39      private String category;
40      
41      private String comments;
42      
43      private String enclosure;
44      
45      private String guid;
46      
47      private String source;
48      
49      private Date publishedDate;
50      
51      public RssFeedEntry()
52      {
53          
54      }
55      
56      public RssFeedEntry( String title )
57      {
58          this.title = title;
59      }
60  
61      public String getTitle()
62      {
63          return title;
64      }
65  
66      public void setTitle( String title )
67      {
68          this.title = title;
69      }
70  
71      public String getLink()
72      {
73          return link;
74      }
75  
76      public void setLink( String link )
77      {
78          this.link = link;
79      }
80  
81      public String getDescription()
82      {
83          return description;
84      }
85  
86      public void setDescription( String description )
87      {
88          this.description = description;
89      }
90  
91      public String getAuthor()
92      {
93          return author;
94      }
95  
96      public void setAuthor( String author )
97      {
98          this.author = author;
99      }
100 
101     public String getCategory()
102     {
103         return category;
104     }
105 
106     public void setCategory( String category )
107     {
108         this.category = category;
109     }
110 
111     public String getComments()
112     {
113         return comments;
114     }
115 
116     public void setComments( String comments )
117     {
118         this.comments = comments;
119     }
120 
121     public String getEnclosure()
122     {
123         return enclosure;
124     }
125 
126     public void setEnclosure( String enclosure )
127     {
128         this.enclosure = enclosure;
129     }
130 
131     public String getGuid()
132     {
133         return guid;
134     }
135 
136     public void setGuid( String guid )
137     {
138         this.guid = guid;
139     }
140 
141     public String getSource()
142     {
143         return source;
144     }
145 
146     public void setSource( String source )
147     {
148         this.source = source;
149     }
150 
151     public Date getPublishedDate()
152     {
153         return publishedDate;
154     }
155 
156     public void setPublishedDate( Date publishedDate )
157     {
158         this.publishedDate = publishedDate;
159     }
160 }