1   /*
2    * Confluence BibSonomy plugin
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.confluence.plugin.bibsonomy.model;
20  
21  import java.util.Date;
22  import java.util.List;
23  
24  public class Post<T extends Resource> {
25  
26  	private T resource;
27  	private String description;
28  	private Date date;
29  	private User user;
30  	private Group group;
31  	private List<Tag> tags;
32  
33  	public T getResource() {
34  		return this.resource;
35  	}
36  
37  	public void setResource(T resource) {
38  		this.resource = resource;
39  	}
40  
41  	public String getDescription() {
42  		return this.description;
43  	}
44  
45  	public void setDescription(String description) {
46  		this.description = description;
47  	}
48  
49  	public Date getDate() {
50  		return this.date;
51  	}
52  
53  	public void setDate(Date date) {
54  		this.date = date;
55  	}
56  
57  	public User getUser() {
58  		return this.user;
59  	}
60  
61  	public void setUser(User user) {
62  		this.user = user;
63  	}
64  
65  	public Group getGroup() {
66  		return this.group;
67  	}
68  
69  	public void setGroup(Group group) {
70  		this.group = group;
71  	}
72  
73  	public List<Tag> getTags() {
74  		return this.tags;
75  	}
76  
77  	public void setTags(List<Tag> tags) {
78  		this.tags = tags;
79  	}
80  }