1 | |
package org.apache.archiva.rss; |
2 | |
|
3 | |
import java.util.Date; |
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
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 | 0 | { |
53 | |
|
54 | 0 | } |
55 | |
|
56 | |
public RssFeedEntry( String title ) |
57 | 0 | { |
58 | 0 | this.title = title; |
59 | 0 | } |
60 | |
|
61 | |
public String getTitle() |
62 | |
{ |
63 | 0 | return title; |
64 | |
} |
65 | |
|
66 | |
public void setTitle( String title ) |
67 | |
{ |
68 | 0 | this.title = title; |
69 | 0 | } |
70 | |
|
71 | |
public String getLink() |
72 | |
{ |
73 | 0 | return link; |
74 | |
} |
75 | |
|
76 | |
public void setLink( String link ) |
77 | |
{ |
78 | 0 | this.link = link; |
79 | 0 | } |
80 | |
|
81 | |
public String getDescription() |
82 | |
{ |
83 | 0 | return description; |
84 | |
} |
85 | |
|
86 | |
public void setDescription( String description ) |
87 | |
{ |
88 | 0 | this.description = description; |
89 | 0 | } |
90 | |
|
91 | |
public String getAuthor() |
92 | |
{ |
93 | 0 | return author; |
94 | |
} |
95 | |
|
96 | |
public void setAuthor( String author ) |
97 | |
{ |
98 | 0 | this.author = author; |
99 | 0 | } |
100 | |
|
101 | |
public String getCategory() |
102 | |
{ |
103 | 0 | return category; |
104 | |
} |
105 | |
|
106 | |
public void setCategory( String category ) |
107 | |
{ |
108 | 0 | this.category = category; |
109 | 0 | } |
110 | |
|
111 | |
public String getComments() |
112 | |
{ |
113 | 0 | return comments; |
114 | |
} |
115 | |
|
116 | |
public void setComments( String comments ) |
117 | |
{ |
118 | 0 | this.comments = comments; |
119 | 0 | } |
120 | |
|
121 | |
public String getEnclosure() |
122 | |
{ |
123 | 0 | return enclosure; |
124 | |
} |
125 | |
|
126 | |
public void setEnclosure( String enclosure ) |
127 | |
{ |
128 | 0 | this.enclosure = enclosure; |
129 | 0 | } |
130 | |
|
131 | |
public String getGuid() |
132 | |
{ |
133 | 0 | return guid; |
134 | |
} |
135 | |
|
136 | |
public void setGuid( String guid ) |
137 | |
{ |
138 | 0 | this.guid = guid; |
139 | 0 | } |
140 | |
|
141 | |
public String getSource() |
142 | |
{ |
143 | 0 | return source; |
144 | |
} |
145 | |
|
146 | |
public void setSource( String source ) |
147 | |
{ |
148 | 0 | this.source = source; |
149 | 0 | } |
150 | |
|
151 | |
public Date getPublishedDate() |
152 | |
{ |
153 | 0 | return publishedDate; |
154 | |
} |
155 | |
|
156 | |
public void setPublishedDate( Date publishedDate ) |
157 | |
{ |
158 | 0 | this.publishedDate = publishedDate; |
159 | 0 | } |
160 | |
} |