1 /*
2 * BibSonomyExporter
3 * Copyright (C) 2007 Christian Schenk
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19 package org.christianschenk.bibsonomy.export.model;
20
21 /**
22 * Simple version of a post for the Velocity template.
23 *
24 * @author Christian Schenk
25 */
26 public class SimplePost {
27
28 private String title;
29 private String url;
30 private String tags;
31 private long date;
32 private String description;
33
34 public String getTitle() {
35 return this.title;
36 }
37
38 public void setTitle(String title) {
39 this.title = title;
40 }
41
42 public String getUrl() {
43 return this.url;
44 }
45
46 public void setUrl(String url) {
47 this.url = url;
48 }
49
50 public String getTags() {
51 return this.tags;
52 }
53
54 public void setTags(String tags) {
55 this.tags = tags;
56 }
57
58 public long getDate() {
59 return this.date;
60 }
61
62 public void setDate(long date) {
63 this.date = date;
64 }
65
66 public String getDescription() {
67 return this.description;
68 }
69
70 public void setDescription(String description) {
71 this.description = description;
72 }
73 }