set type of request
[jSite2.git] / src / net / pterodactylus / jsite / core / Project.java
index 8a1de1d..cc53268 100644 (file)
@@ -30,6 +30,9 @@ public class Project {
        /** The name of the project. */
        private String name;
 
+       /** The description of the project. */
+       private String description;
+
        /** The local path of the project. */
        private String localPath;
 
@@ -44,7 +47,7 @@ public class Project {
         * 
         * @return The name of the project
         */
-       String getName() {
+       public String getName() {
                return name;
        }
 
@@ -54,16 +57,35 @@ public class Project {
         * @param name
         *            The name of the project
         */
-       void setName(String name) {
+       public void setName(String name) {
                this.name = name;
        }
 
        /**
+        * Returns the description of the project.
+        * 
+        * @return The description of the project
+        */
+       public String getDescription() {
+               return description;
+       }
+
+       /**
+        * Sets the description of the project
+        * 
+        * @param description
+        *            The description of the project
+        */
+       public void setDescription(String description) {
+               this.description = description;
+       }
+
+       /**
         * Returns the local path of the project.
         * 
         * @return The local path of the project
         */
-       String getLocalPath() {
+       public String getLocalPath() {
                return localPath;
        }
 
@@ -73,7 +95,7 @@ public class Project {
         * @param localPath
         *            The local path of the project
         */
-       void setLocalPath(String localPath) {
+       public void setLocalPath(String localPath) {
                this.localPath = localPath;
        }
 
@@ -82,7 +104,7 @@ public class Project {
         * 
         * @return The public key of the project
         */
-       String getPublicKey() {
+       public String getPublicKey() {
                return publicKey;
        }
 
@@ -92,7 +114,7 @@ public class Project {
         * @param publicKey
         *            The public key of the project
         */
-       void setPublicKey(String publicKey) {
+       public void setPublicKey(String publicKey) {
                this.publicKey = publicKey;
        }
 
@@ -101,7 +123,7 @@ public class Project {
         * 
         * @return The private key of the project
         */
-       String getPrivateKey() {
+       public String getPrivateKey() {
                return privateKey;
        }
 
@@ -111,7 +133,7 @@ public class Project {
         * @param privateKey
         *            The private key of the project
         */
-       void setPrivateKey(String privateKey) {
+       public void setPrivateKey(String privateKey) {
                this.privateKey = privateKey;
        }