2 * jSite2 - Project.java -
3 * Copyright © 2008 David Roden
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.
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.
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.
20 package net.pterodactylus.jsite.core;
23 * Container for project information.
25 * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
28 public class Project {
30 /** The name of the project. */
33 /** The description of the project. */
34 private String description;
36 /** The local path of the project. */
37 private String localPath;
39 /** The public key. */
40 private String publicKey;
42 /** The private key. */
43 private String privateKey;
46 * Returns the name of the project.
48 * @return The name of the project
50 public String getName() {
55 * Sets the name of the project.
58 * The name of the project
60 public void setName(String name) {
65 * Returns the description of the project.
67 * @return The description of the project
69 public String getDescription() {
74 * Sets the description of the project
77 * The description of the project
79 public void setDescription(String description) {
80 this.description = description;
84 * Returns the local path of the project.
86 * @return The local path of the project
88 public String getLocalPath() {
93 * Sets the local path of the project.
96 * The local path of the project
98 public void setLocalPath(String localPath) {
99 this.localPath = localPath;
103 * Returns the public key of the project.
105 * @return The public key of the project
107 public String getPublicKey() {
112 * Sets the public key of the project.
115 * The public key of the project
117 public void setPublicKey(String publicKey) {
118 this.publicKey = publicKey;
122 * Returns the private key of the project.
124 * @return The private key of the project
126 public String getPrivateKey() {
131 * Sets the private key of the project.
134 * The private key of the project
136 public void setPrivateKey(String privateKey) {
137 this.privateKey = privateKey;