add description
[jSite2.git] / src / net / pterodactylus / jsite / core / Project.java
1 /*
2  * jSite2 - Project.java -
3  * Copyright © 2008 David Roden
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  */
19
20 package net.pterodactylus.jsite.core;
21
22 /**
23  * Container for project information.
24  * 
25  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
26  * @version $Id$
27  */
28 public class Project {
29
30         /** The name of the project. */
31         private String name;
32
33         /** The description of the project. */
34         private String description;
35
36         /** The local path of the project. */
37         private String localPath;
38
39         /** The public key. */
40         private String publicKey;
41
42         /** The private key. */
43         private String privateKey;
44
45         /**
46          * Returns the name of the project.
47          * 
48          * @return The name of the project
49          */
50         public String getName() {
51                 return name;
52         }
53
54         /**
55          * Sets the name of the project.
56          * 
57          * @param name
58          *            The name of the project
59          */
60         public void setName(String name) {
61                 this.name = name;
62         }
63
64         /**
65          * Returns the description of the project.
66          * 
67          * @return The description of the project
68          */
69         String getDescription() {
70                 return description;
71         }
72
73         /**
74          * Sets the description of the project
75          * 
76          * @param description
77          *            The description of the project
78          */
79         void setDescription(String description) {
80                 this.description = description;
81         }
82
83         /**
84          * Returns the local path of the project.
85          * 
86          * @return The local path of the project
87          */
88         public String getLocalPath() {
89                 return localPath;
90         }
91
92         /**
93          * Sets the local path of the project.
94          * 
95          * @param localPath
96          *            The local path of the project
97          */
98         public void setLocalPath(String localPath) {
99                 this.localPath = localPath;
100         }
101
102         /**
103          * Returns the public key of the project.
104          * 
105          * @return The public key of the project
106          */
107         public String getPublicKey() {
108                 return publicKey;
109         }
110
111         /**
112          * Sets the public key of the project.
113          * 
114          * @param publicKey
115          *            The public key of the project
116          */
117         public void setPublicKey(String publicKey) {
118                 this.publicKey = publicKey;
119         }
120
121         /**
122          * Returns the private key of the project.
123          * 
124          * @return The private key of the project
125          */
126         public String getPrivateKey() {
127                 return privateKey;
128         }
129
130         /**
131          * Sets the private key of the project.
132          * 
133          * @param privateKey
134          *            The private key of the project
135          */
136         public void setPrivateKey(String privateKey) {
137                 this.privateKey = privateKey;
138         }
139
140 }