001package org.apache.archiva.rss; 002 003import java.util.Date; 004 005/* 006 * Licensed to the Apache Software Foundation (ASF) under one 007 * or more contributor license agreements. See the NOTICE file 008 * distributed with this work for additional information 009 * regarding copyright ownership. The ASF licenses this file 010 * to you under the Apache License, Version 2.0 (the 011 * "License"); you may not use this file except in compliance 012 * with the License. You may obtain a copy of the License at 013 * 014 * http://www.apache.org/licenses/LICENSE-2.0 015 * 016 * Unless required by applicable law or agreed to in writing, 017 * software distributed under the License is distributed on an 018 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 019 * KIND, either express or implied. See the License for the 020 * specific language governing permissions and limitations 021 * under the License. 022 */ 023 024/** 025 * Holds the data for the SyndEntry in the RSS feed. 026 * 027 * @version 028 */ 029public class RssFeedEntry 030{ 031 private String title; 032 033 private String link; 034 035 private String description; 036 037 private String author; 038 039 private String category; 040 041 private String comments; 042 043 private String enclosure; 044 045 private String guid; 046 047 private String source; 048 049 private Date publishedDate; 050 051 public RssFeedEntry() 052 { 053 054 } 055 056 public RssFeedEntry( String title ) 057 { 058 this.title = title; 059 } 060 061 public String getTitle() 062 { 063 return title; 064 } 065 066 public void setTitle( String title ) 067 { 068 this.title = title; 069 } 070 071 public String getLink() 072 { 073 return link; 074 } 075 076 public void setLink( String link ) 077 { 078 this.link = link; 079 } 080 081 public String getDescription() 082 { 083 return description; 084 } 085 086 public void setDescription( String description ) 087 { 088 this.description = description; 089 } 090 091 public String getAuthor() 092 { 093 return author; 094 } 095 096 public void setAuthor( String author ) 097 { 098 this.author = author; 099 } 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}