add id to projects
[jSite2.git] / src / net / pterodactylus / jsite / project / Project.java
index 4dd3819..5a3b848 100644 (file)
@@ -47,6 +47,9 @@ public class Project extends AbstractBean {
        /** Name of the “local path” property. */
        public static final String PROPERTY_BASE_PATH = "basePath";
 
+       /** Internal ID. */
+       private String id;
+
        /** The name of the project. */
        private String name;
 
@@ -62,9 +65,24 @@ public class Project extends AbstractBean {
        /** The base path of the project. */
        private String basePath;
 
-       //
-       // EVENT MANAGEMENT
-       //
+       /**
+        * Returns the internal ID.
+        * 
+        * @return The internal ID
+        */
+       String getId() {
+               return id;
+       }
+
+       /**
+        * Sets the internal ID.
+        * 
+        * @param id
+        *            The internal ID
+        */
+       void setId(String id) {
+               this.id = id;
+       }
 
        /**
         * Returns the name of the project.