+/*
+ * jSite2 - Project.java -
+ * Copyright © 2008 David Roden
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+package net.pterodactylus.jsite.core;
+
+/**
+ * Container for project information.
+ *
+ * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
+ * @version $Id$
+ */
+public class Project {
+
+ /** The name of the project. */
+ private String name;
+
+ /** The local path of the project. */
+ private String localPath;
+
+ /** The public key. */
+ private String publicKey;
+
+ /** The private key. */
+ private String privateKey;
+
+ /**
+ * Returns the name of the project.
+ *
+ * @return The name of the project
+ */
+ String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the name of the project.
+ *
+ * @param name
+ * The name of the project
+ */
+ void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * Returns the local path of the project.
+ *
+ * @return The local path of the project
+ */
+ String getLocalPath() {
+ return localPath;
+ }
+
+ /**
+ * Sets the local path of the project.
+ *
+ * @param localPath
+ * The local path of the project
+ */
+ void setLocalPath(String localPath) {
+ this.localPath = localPath;
+ }
+
+ /**
+ * Returns the public key of the project.
+ *
+ * @return The public key of the project
+ */
+ String getPublicKey() {
+ return publicKey;
+ }
+
+ /**
+ * Sets the public key of the project.
+ *
+ * @param publicKey
+ * The public key of the project
+ */
+ void setPublicKey(String publicKey) {
+ this.publicKey = publicKey;
+ }
+
+ /**
+ * Returns the private key of the project.
+ *
+ * @return The private key of the project
+ */
+ String getPrivateKey() {
+ return privateKey;
+ }
+
+ /**
+ * Sets the private key of the project.
+ *
+ * @param privateKey
+ * The private key of the project
+ */
+ void setPrivateKey(String privateKey) {
+ this.privateKey = privateKey;
+ }
+
+}