Initial import.
[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 local path of the project. */
34         private String localPath;
35
36         /** The public key. */
37         private String publicKey;
38
39         /** The private key. */
40         private String privateKey;
41
42         /**
43          * Returns the name of the project.
44          * 
45          * @return The name of the project
46          */
47         String getName() {
48                 return name;
49         }
50
51         /**
52          * Sets the name of the project.
53          * 
54          * @param name
55          *            The name of the project
56          */
57         void setName(String name) {
58                 this.name = name;
59         }
60
61         /**
62          * Returns the local path of the project.
63          * 
64          * @return The local path of the project
65          */
66         String getLocalPath() {
67                 return localPath;
68         }
69
70         /**
71          * Sets the local path of the project.
72          * 
73          * @param localPath
74          *            The local path of the project
75          */
76         void setLocalPath(String localPath) {
77                 this.localPath = localPath;
78         }
79
80         /**
81          * Returns the public key of the project.
82          * 
83          * @return The public key of the project
84          */
85         String getPublicKey() {
86                 return publicKey;
87         }
88
89         /**
90          * Sets the public key of the project.
91          * 
92          * @param publicKey
93          *            The public key of the project
94          */
95         void setPublicKey(String publicKey) {
96                 this.publicKey = publicKey;
97         }
98
99         /**
100          * Returns the private key of the project.
101          * 
102          * @return The private key of the project
103          */
104         String getPrivateKey() {
105                 return privateKey;
106         }
107
108         /**
109          * Sets the private key of the project.
110          * 
111          * @param privateKey
112          *            The private key of the project
113          */
114         void setPrivateKey(String privateKey) {
115                 this.privateKey = privateKey;
116         }
117
118 }