[jboss-svn-commits] JBL Code SVN: r6340 - in labs/jbosslabs/trunk/portal-extensions/forge-common/src: java/org/jboss/forge/common/projects/test web/WEB-INF

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Sep 21 09:05:37 EDT 2006


Author: unibrew
Date: 2006-09-21 09:05:31 -0400 (Thu, 21 Sep 2006)
New Revision: 6340

Added:
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forum.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumType.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportService.java
Removed:
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forums.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumsType.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportServices.java
Modified:
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd
Log:
[JBLAB-754] Correcting class names.

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forum.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forum.java	2006-09-21 12:08:12 UTC (rev 6339)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forum.java	2006-09-21 13:05:31 UTC (rev 6340)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * 
+ *         Class for keeping links to project's forums.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *         @author Ryszard Kozmik
+ *                 
+ * 
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "forum", propOrder = {
+    "value"
+})
+public class Forum {
+
+    @XmlValue
+    protected String value;
+    @XmlAttribute(required = true)
+    protected ForumType type;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link ForumType }
+     *     
+     */
+    public ForumType getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link ForumType }
+     *     
+     */
+    public void setType(ForumType value) {
+        this.type = value;
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumType.java	2006-09-21 12:08:12 UTC (rev 6339)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumType.java	2006-09-21 13:05:31 UTC (rev 6340)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ * 
+ *             Enum describing types of forums.
+ *             PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
+ * 
+ * <p>Java class for ForumType.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="ForumType">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     &lt;enumeration value="user"/>
+ *     &lt;enumeration value="dev"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+ at XmlEnum
+public enum ForumType {
+
+    @XmlEnumValue("dev")
+    DEV("dev"),
+    @XmlEnumValue("user")
+    USER("user");
+    private final String value;
+
+    ForumType(String v) {
+        value = v;
+    }
+
+    public String value() {
+        return value;
+    }
+
+    public static ForumType fromValue(String v) {
+        for (ForumType c: ForumType.values()) {
+            if (c.value.equals(v)) {
+                return c;
+            }
+        }
+        throw new IllegalArgumentException(v.toString());
+    }
+
+}

Deleted: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forums.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forums.java	2006-09-21 12:08:12 UTC (rev 6339)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forums.java	2006-09-21 13:05:31 UTC (rev 6340)
@@ -1,101 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.forge.common.projects.test;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlValue;
-
-
-/**
- * 
- *         Class for keeping links to project's forums.
- *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
- *         @author Ryszard Kozmik
- *                 
- * 
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "forums", propOrder = {
-    "value"
-})
-public class Forums {
-
-    @XmlValue
-    protected String value;
-    @XmlAttribute(required = true)
-    protected ForumsType type;
-
-    /**
-     * Gets the value of the value property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getValue() {
-        return value;
-    }
-
-    /**
-     * Sets the value of the value property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setValue(String value) {
-        this.value = value;
-    }
-
-    /**
-     * Gets the value of the type property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link ForumsType }
-     *     
-     */
-    public ForumsType getType() {
-        return type;
-    }
-
-    /**
-     * Sets the value of the type property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link ForumsType }
-     *     
-     */
-    public void setType(ForumsType value) {
-        this.type = value;
-    }
-
-}

Deleted: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumsType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumsType.java	2006-09-21 12:08:12 UTC (rev 6339)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumsType.java	2006-09-21 13:05:31 UTC (rev 6340)
@@ -1,76 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.forge.common.projects.test;
-
-import javax.xml.bind.annotation.XmlEnum;
-import javax.xml.bind.annotation.XmlEnumValue;
-
-
-/**
- * 
- *             Enum describing types of forums.
- *             PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
- *             @author Ryszard Kozmik
- *                     
- * 
- * <p>Java class for ForumsType.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * <p>
- * <pre>
- * &lt;simpleType name="ForumsType">
- *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     &lt;enumeration value="user"/>
- *     &lt;enumeration value="dev"/>
- *   &lt;/restriction>
- * &lt;/simpleType>
- * </pre>
- * 
- */
- at XmlEnum
-public enum ForumsType {
-
-    @XmlEnumValue("dev")
-    DEV("dev"),
-    @XmlEnumValue("user")
-    USER("user");
-    private final String value;
-
-    ForumsType(String v) {
-        value = v;
-    }
-
-    public String value() {
-        return value;
-    }
-
-    public static ForumsType fromValue(String v) {
-        for (ForumsType c: ForumsType.values()) {
-            if (c.value.equals(v)) {
-                return c;
-            }
-        }
-        throw new IllegalArgumentException(v.toString());
-    }
-
-}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java	2006-09-21 12:08:12 UTC (rev 6339)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java	2006-09-21 13:05:31 UTC (rev 6340)
@@ -30,10 +30,10 @@
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
 import org.jboss.forge.common.projects.test.Menu.Documentation;
-import org.jboss.forge.common.projects.test.Menu.Forums;
+import org.jboss.forge.common.projects.test.Menu.Forum;
 import org.jboss.forge.common.projects.test.Menu.IssueTracker;
 import org.jboss.forge.common.projects.test.Menu.RepoMonitor;
-import org.jboss.forge.common.projects.test.Menu.SupportServices;
+import org.jboss.forge.common.projects.test.Menu.SupportService;
 
 
 /**
@@ -50,8 +50,8 @@
 @XmlType(name = "menu", propOrder = {
     "page",
     "documentation",
-    "supportServices",
-    "forums",
+    "supportService",
+    "forum",
     "issueTracker",
     "repoMonitor"
 })
@@ -61,10 +61,10 @@
     protected List<Page> page;
     @XmlElement(namespace = "http://jboss.org", required = true)
     protected List<Documentation> documentation;
-    @XmlElement(name = "support-services", namespace = "http://jboss.org", required = true)
-    protected List<SupportServices> supportServices;
+    @XmlElement(name = "support-service", namespace = "http://jboss.org", required = true)
+    protected List<SupportService> supportService;
     @XmlElement(namespace = "http://jboss.org", required = true)
-    protected List<Forums> forums;
+    protected List<Forum> forum;
     @XmlElement(name = "issue-tracker", namespace = "http://jboss.org")
     protected IssueTracker issueTracker;
     @XmlElement(name = "repo-monitor", namespace = "http://jboss.org", required = true)
@@ -129,61 +129,61 @@
     }
 
     /**
-     * Gets the value of the supportServices property.
+     * Gets the value of the supportService property.
      * 
      * <p>
      * This accessor method returns a reference to the live list,
      * not a snapshot. Therefore any modification you make to the
      * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the supportServices property.
+     * This is why there is not a <CODE>set</CODE> method for the supportService property.
      * 
      * <p>
      * For example, to add a new item, do as follows:
      * <pre>
-     *    getSupportServices().add(newItem);
+     *    getSupportService().add(newItem);
      * </pre>
      * 
      * 
      * <p>
      * Objects of the following type(s) are allowed in the list
-     * {@link SupportServices }
+     * {@link SupportService }
      * 
      * 
      */
-    public List<SupportServices> getSupportServices() {
-        if (supportServices == null) {
-            supportServices = new ArrayList<SupportServices>();
+    public List<SupportService> getSupportService() {
+        if (supportService == null) {
+            supportService = new ArrayList<SupportService>();
         }
-        return this.supportServices;
+        return this.supportService;
     }
 
     /**
-     * Gets the value of the forums property.
+     * Gets the value of the forum property.
      * 
      * <p>
      * This accessor method returns a reference to the live list,
      * not a snapshot. Therefore any modification you make to the
      * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the forums property.
+     * This is why there is not a <CODE>set</CODE> method for the forum property.
      * 
      * <p>
      * For example, to add a new item, do as follows:
      * <pre>
-     *    getForums().add(newItem);
+     *    getForum().add(newItem);
      * </pre>
      * 
      * 
      * <p>
      * Objects of the following type(s) are allowed in the list
-     * {@link Forums }
+     * {@link Forum }
      * 
      * 
      */
-    public List<Forums> getForums() {
-        if (forums == null) {
-            forums = new ArrayList<Forums>();
+    public List<Forum> getForum() {
+        if (forum == null) {
+            forum = new ArrayList<Forum>();
         }
-        return this.forums;
+        return this.forum;
     }
 
     /**
@@ -300,7 +300,7 @@
      * &lt;complexType>
      *   &lt;complexContent>
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       &lt;attribute name="type" use="required" type="{http://jboss.org}ForumsType" />
+     *       &lt;attribute name="type" use="required" type="{http://jboss.org}ForumType" />
      *     &lt;/restriction>
      *   &lt;/complexContent>
      * &lt;/complexType>
@@ -310,20 +310,20 @@
      */
     @XmlAccessorType(XmlAccessType.FIELD)
     @XmlType(name = "")
-    public static class Forums {
+    public static class Forum {
 
         @XmlAttribute(required = true)
-        protected ForumsType type;
+        protected ForumType type;
 
         /**
          * Gets the value of the type property.
          * 
          * @return
          *     possible object is
-         *     {@link ForumsType }
+         *     {@link ForumType }
          *     
          */
-        public ForumsType getType() {
+        public ForumType getType() {
             return type;
         }
 
@@ -332,10 +332,10 @@
          * 
          * @param value
          *     allowed object is
-         *     {@link ForumsType }
+         *     {@link ForumType }
          *     
          */
-        public void setType(ForumsType value) {
+        public void setType(ForumType value) {
             this.type = value;
         }
 
@@ -463,7 +463,7 @@
      */
     @XmlAccessorType(XmlAccessType.FIELD)
     @XmlType(name = "")
-    public static class SupportServices {
+    public static class SupportService {
 
         @XmlAttribute(required = true)
         protected SupportType type;

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java	2006-09-21 12:08:12 UTC (rev 6339)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java	2006-09-21 13:05:31 UTC (rev 6340)
@@ -53,35 +53,35 @@
     }
 
     /**
-     * Create an instance of {@link Page }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.RepoMonitor }
      * 
      */
-    public Page createPage() {
-        return new Page();
+    public org.jboss.forge.common.projects.test.Menu.RepoMonitor createMenuRepoMonitor() {
+        return new org.jboss.forge.common.projects.test.Menu.RepoMonitor();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.SupportServices }
+     * Create an instance of {@link Polls }
      * 
      */
-    public org.jboss.forge.common.projects.test.Menu.SupportServices createMenuSupportServices() {
-        return new org.jboss.forge.common.projects.test.Menu.SupportServices();
+    public Polls createPolls() {
+        return new Polls();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.Forums }
+     * Create an instance of {@link Button }
      * 
      */
-    public org.jboss.forge.common.projects.test.Forums createForums() {
-        return new org.jboss.forge.common.projects.test.Forums();
+    public Button createFileButton() {
+        return new Button();
     }
 
     /**
-     * Create an instance of {@link Counters }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.Forum }
      * 
      */
-    public Counters createDownloadsCounters() {
-        return new Counters();
+    public org.jboss.forge.common.projects.test.Menu.Forum createMenuForum() {
+        return new org.jboss.forge.common.projects.test.Menu.Forum();
     }
 
     /**
@@ -93,11 +93,11 @@
     }
 
     /**
-     * Create an instance of {@link Repository }
+     * Create an instance of {@link Downloads }
      * 
      */
-    public Repository createRepository() {
-        return new Repository();
+    public Downloads createDownloads() {
+        return new Downloads();
     }
 
     /**
@@ -109,38 +109,30 @@
     }
 
     /**
-     * Create an instance of {@link Downloads }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.RepoMonitor }
      * 
      */
-    public Downloads createDownloads() {
-        return new Downloads();
+    public org.jboss.forge.common.projects.test.RepoMonitor createRepoMonitor() {
+        return new org.jboss.forge.common.projects.test.RepoMonitor();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.IssueTracker }
+     * Create an instance of {@link File }
      * 
      */
-    public org.jboss.forge.common.projects.test.Menu.IssueTracker createMenuIssueTracker() {
-        return new org.jboss.forge.common.projects.test.Menu.IssueTracker();
+    public File createFile() {
+        return new File();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.SupportServices }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Forum }
      * 
      */
-    public org.jboss.forge.common.projects.test.SupportServices createSupportServices() {
-        return new org.jboss.forge.common.projects.test.SupportServices();
+    public org.jboss.forge.common.projects.test.Forum createForum() {
+        return new org.jboss.forge.common.projects.test.Forum();
     }
 
     /**
-     * Create an instance of {@link File }
-     * 
-     */
-    public File createFile() {
-        return new File();
-    }
-
-    /**
      * Create an instance of {@link Poll }
      * 
      */
@@ -149,54 +141,46 @@
     }
 
     /**
-     * Create an instance of {@link Button }
+     * Create an instance of {@link Counters }
      * 
      */
-    public Button createFileButton() {
-        return new Button();
+    public Counters createDownloadsCounters() {
+        return new Counters();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.Forums }
+     * Create an instance of {@link Categories }
      * 
      */
-    public org.jboss.forge.common.projects.test.Menu.Forums createMenuForums() {
-        return new org.jboss.forge.common.projects.test.Menu.Forums();
+    public Categories createCategories() {
+        return new Categories();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.Documentation }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Documentation }
      * 
      */
-    public org.jboss.forge.common.projects.test.Menu.Documentation createMenuDocumentation() {
-        return new org.jboss.forge.common.projects.test.Menu.Documentation();
+    public org.jboss.forge.common.projects.test.Documentation createDocumentation() {
+        return new org.jboss.forge.common.projects.test.Documentation();
     }
 
     /**
-     * Create an instance of {@link Categories }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.SupportService }
      * 
      */
-    public Categories createCategories() {
-        return new Categories();
+    public org.jboss.forge.common.projects.test.Menu.SupportService createMenuSupportService() {
+        return new org.jboss.forge.common.projects.test.Menu.SupportService();
     }
 
     /**
-     * Create an instance of {@link Polls }
+     * Create an instance of {@link Repository }
      * 
      */
-    public Polls createPolls() {
-        return new Polls();
+    public Repository createRepository() {
+        return new Repository();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.Documentation }
-     * 
-     */
-    public org.jboss.forge.common.projects.test.Documentation createDocumentation() {
-        return new org.jboss.forge.common.projects.test.Documentation();
-    }
-
-    /**
      * Create an instance of {@link Project }
      * 
      */
@@ -213,22 +197,30 @@
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.RepoMonitor }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.IssueTracker }
      * 
      */
-    public org.jboss.forge.common.projects.test.Menu.RepoMonitor createMenuRepoMonitor() {
-        return new org.jboss.forge.common.projects.test.Menu.RepoMonitor();
+    public org.jboss.forge.common.projects.test.Menu.IssueTracker createMenuIssueTracker() {
+        return new org.jboss.forge.common.projects.test.Menu.IssueTracker();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.RepoMonitor }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.Documentation }
      * 
      */
-    public org.jboss.forge.common.projects.test.RepoMonitor createRepoMonitor() {
-        return new org.jboss.forge.common.projects.test.RepoMonitor();
+    public org.jboss.forge.common.projects.test.Menu.Documentation createMenuDocumentation() {
+        return new org.jboss.forge.common.projects.test.Menu.Documentation();
     }
 
     /**
+     * Create an instance of {@link org.jboss.forge.common.projects.test.SupportService }
+     * 
+     */
+    public org.jboss.forge.common.projects.test.SupportService createSupportService() {
+        return new org.jboss.forge.common.projects.test.SupportService();
+    }
+
+    /**
      * Create an instance of {@link Files }
      * 
      */
@@ -236,4 +228,12 @@
         return new Files();
     }
 
+    /**
+     * Create an instance of {@link Page }
+     * 
+     */
+    public Page createPage() {
+        return new Page();
+    }
+
 }

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java	2006-09-21 12:08:12 UTC (rev 6339)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java	2006-09-21 13:05:31 UTC (rev 6340)
@@ -81,9 +81,9 @@
     @XmlElement(name = "issue-tracker", namespace = "http://jboss.org", required = true)
     protected List<IssueTracker> issueTracker;
     @XmlElement(name = "support-services", namespace = "http://jboss.org", required = true)
-    protected List<SupportServices> supportServices;
+    protected List<SupportService> supportServices;
     @XmlElement(namespace = "http://jboss.org", required = true)
-    protected List<Forums> forums;
+    protected List<Forum> forums;
     @XmlElement(namespace = "http://jboss.org", required = true)
     protected List<Documentation> documentation;
     @XmlElement(namespace = "http://jboss.org")
@@ -347,13 +347,13 @@
      * 
      * <p>
      * Objects of the following type(s) are allowed in the list
-     * {@link SupportServices }
+     * {@link SupportService }
      * 
      * 
      */
-    public List<SupportServices> getSupportServices() {
+    public List<SupportService> getSupportServices() {
         if (supportServices == null) {
-            supportServices = new ArrayList<SupportServices>();
+            supportServices = new ArrayList<SupportService>();
         }
         return this.supportServices;
     }
@@ -376,13 +376,13 @@
      * 
      * <p>
      * Objects of the following type(s) are allowed in the list
-     * {@link Forums }
+     * {@link Forum }
      * 
      * 
      */
-    public List<Forums> getForums() {
+    public List<Forum> getForums() {
         if (forums == null) {
-            forums = new ArrayList<Forums>();
+            forums = new ArrayList<Forum>();
         }
         return this.forums;
     }

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportService.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportService.java	2006-09-21 12:08:12 UTC (rev 6339)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportService.java	2006-09-21 13:05:31 UTC (rev 6340)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * 
+ *         Class for keeping information about support services provided by project.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *         @author Ryszard Kozmik
+ *                 
+ * 
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "support-service", propOrder = {
+    "value"
+})
+public class SupportService {
+
+    @XmlValue
+    protected String value;
+    @XmlAttribute(required = true)
+    protected SupportType type;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link SupportType }
+     *     
+     */
+    public SupportType getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link SupportType }
+     *     
+     */
+    public void setType(SupportType value) {
+        this.type = value;
+    }
+
+}

Deleted: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportServices.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportServices.java	2006-09-21 12:08:12 UTC (rev 6339)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportServices.java	2006-09-21 13:05:31 UTC (rev 6340)
@@ -1,101 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.forge.common.projects.test;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.bind.annotation.XmlValue;
-
-
-/**
- * 
- *         Class for keeping information about support services provided by project.
- *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
- *         @author Ryszard Kozmik
- *                 
- * 
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "support-services", propOrder = {
-    "value"
-})
-public class SupportServices {
-
-    @XmlValue
-    protected String value;
-    @XmlAttribute(required = true)
-    protected SupportType type;
-
-    /**
-     * Gets the value of the value property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getValue() {
-        return value;
-    }
-
-    /**
-     * Sets the value of the value property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setValue(String value) {
-        this.value = value;
-    }
-
-    /**
-     * Gets the value of the type property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link SupportType }
-     *     
-     */
-    public SupportType getType() {
-        return type;
-    }
-
-    /**
-     * Sets the value of the type property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link SupportType }
-     *     
-     */
-    public void setType(SupportType value) {
-        this.type = value;
-    }
-
-}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd	2006-09-21 12:08:12 UTC (rev 6339)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd	2006-09-21 13:05:31 UTC (rev 6340)
@@ -57,8 +57,8 @@
             <xs:element name="repository" minOccurs="0" maxOccurs="unbounded" type="repository" />
             <xs:element name="repo-monitor" minOccurs="0" maxOccurs="unbounded" type="repo-monitor" />
             <xs:element name="issue-tracker" minOccurs="0" maxOccurs="unbounded" type="issue-tracker" />
-	    <xs:element name="support-services" minOccurs="0" maxOccurs="unbounded" type="support-services" />
-            <xs:element name="forums" minOccurs="0" maxOccurs="unbounded" type="forums" />
+	    <xs:element name="support-services" minOccurs="0" maxOccurs="unbounded" type="support-service" />
+            <xs:element name="forums" minOccurs="0" maxOccurs="unbounded" type="forum" />
             <xs:element name="documentation" minOccurs="0" maxOccurs="unbounded" type="documentation" />
             <xs:element name="menu" type="menu" minOccurs="0" maxOccurs="1" />
             <xs:element name="downloads" minOccurs="0" maxOccurs="1" type="downloads" />
@@ -189,7 +189,7 @@
 <!--                 SUPPORT                     -->
 <!--                                             -->
 
-<xs:complexType name="support-services" mixed="true" >
+<xs:complexType name="support-service" mixed="true" >
     <xs:annotation>
         <xs:appinfo>
             <jxb:class>
@@ -231,7 +231,7 @@
 <!--                  FORUMS                     -->
 <!--                                             -->
 
-<xs:complexType name="forums" mixed="true" >
+<xs:complexType name="forum" mixed="true" >
     <xs:annotation>
         <xs:appinfo>
             <jxb:class>
@@ -245,12 +245,12 @@
     </xs:annotation>
     <xs:simpleContent>
         <xs:extension base="xs:string" >
-            <xs:attribute name="type" use="required" type="ForumsType" />
+            <xs:attribute name="type" use="required" type="ForumType" />
         </xs:extension>
     </xs:simpleContent>
 </xs:complexType>
 
-    <xs:simpleType name="ForumsType" >
+    <xs:simpleType name="ForumType" >
         <xs:annotation>
             <xs:appinfo>
                 <jxb:typesafeEnumClass>
@@ -337,14 +337,14 @@
                 <xs:attribute name="type" use="required" type="DocumentationType" />
         </xs:complexType>
         </xs:element>
-        <xs:element name="support-services"  minOccurs="0" maxOccurs="unbounded" >
+        <xs:element name="support-service"  minOccurs="0" maxOccurs="unbounded" >
             <xs:complexType mixed="false" >
                 <xs:attribute name="type" use="required" type="SupportType" />
             </xs:complexType>
         </xs:element>
-        <xs:element name="forums" minOccurs="0" maxOccurs="unbounded" >
+        <xs:element name="forum" minOccurs="0" maxOccurs="unbounded" >
             <xs:complexType mixed="false" >
-                <xs:attribute name="type" use="required" type="ForumsType" />
+                <xs:attribute name="type" use="required" type="ForumType" />
             </xs:complexType>
         </xs:element>
         <xs:element name="issue-tracker" minOccurs="0" maxOccurs="1" >




More information about the jboss-svn-commits mailing list