[jboss-svn-commits] JBL Code SVN: r5582 - labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Aug 7 19:23:42 EDT 2006


Author: unibrew
Date: 2006-08-07 19:23:35 -0400 (Mon, 07 Aug 2006)
New Revision: 5582

Modified:
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Downloads.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/LinkType.java
   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/MonitorType.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/Page.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.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/java/org/jboss/forge/common/projects/test/RepoMonitor.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoType.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Sorting.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java
Log:
[JBLAB-679] Update of javabeans - modifing structure, quantity of references and comments.

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,26 +1,36 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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 java.util.ArrayList;
 import java.util.List;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
 
 
 /**
  * 
  *         Class for keeping information about download categories.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -33,7 +43,6 @@
 })
 public class Categories {
 
-    @XmlElement(required = true)
     protected List<Category> category;
 
     /**

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,15 +1,26 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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 java.util.ArrayList;
-import java.util.List;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
@@ -19,8 +30,6 @@
 /**
  * 
  *         Class for keeping information about download category.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -35,13 +44,10 @@
 
     @XmlElement(required = true)
     protected String id;
-    @XmlElement(required = true)
     protected String name;
-    @XmlElement(required = true)
     protected String description;
-    @XmlElement(required = true)
     protected Files files;
-    protected Category.Categories categories;
+    protected Categories categories;
 
     /**
      * Gets the value of the id property.
@@ -144,10 +150,10 @@
      * 
      * @return
      *     possible object is
-     *     {@link Category.Categories }
+     *     {@link Categories }
      *     
      */
-    public Category.Categories getCategories() {
+    public Categories getCategories() {
         return categories;
     }
 
@@ -156,71 +162,11 @@
      * 
      * @param value
      *     allowed object is
-     *     {@link Category.Categories }
+     *     {@link Categories }
      *     
      */
-    public void setCategories(Category.Categories value) {
+    public void setCategories(Categories value) {
         this.categories = value;
     }
 
-
-    /**
-     * <p>Java class for anonymous complex type.
-     * 
-     * <p>The following schema fragment specifies the expected content contained within this class.
-     * 
-     * <pre>
-     * &lt;complexType>
-     *   &lt;complexContent>
-     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       &lt;sequence>
-     *         &lt;element name="category" type="{http://jboss.org}category" maxOccurs="unbounded"/>
-     *       &lt;/sequence>
-     *     &lt;/restriction>
-     *   &lt;/complexContent>
-     * &lt;/complexType>
-     * </pre>
-     * 
-     * 
-     */
-    @XmlAccessorType(XmlAccessType.FIELD)
-    @XmlType(name = "", propOrder = {
-        "category"
-    })
-    public static class Categories {
-
-        @XmlElement(required = true)
-        protected List<Category> category;
-
-        /**
-         * Gets the value of the category 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 category property.
-         * 
-         * <p>
-         * For example, to add a new item, do as follows:
-         * <pre>
-         *    getCategory().add(newItem);
-         * </pre>
-         * 
-         * 
-         * <p>
-         * Objects of the following type(s) are allowed in the list
-         * {@link Category }
-         * 
-         * 
-         */
-        public List<Category> getCategory() {
-            if (category == null) {
-                category = new ArrayList<Category>();
-            }
-            return this.category;
-        }
-
-    }
-
 }

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Downloads.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Downloads.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Downloads.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -16,8 +29,6 @@
 /**
  * 
  *         Class for keeping information about project's downloads.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -166,10 +177,10 @@
      * &lt;complexType>
      *   &lt;complexContent>
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       &lt;all>
+     *       &lt;sequence>
      *         &lt;element name="sorting" type="{http://jboss.org}sorting" minOccurs="0"/>
      *         &lt;element name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *       &lt;/all>
+     *       &lt;/sequence>
      *     &lt;/restriction>
      *   &lt;/complexContent>
      * &lt;/complexType>
@@ -179,7 +190,8 @@
      */
     @XmlAccessorType(XmlAccessType.FIELD)
     @XmlType(name = "", propOrder = {
-
+        "sorting",
+        "visible"
     })
     public static class Counters {
 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,13 +1,28 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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 java.util.ArrayList;
+import java.util.List;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlAttribute;
@@ -18,8 +33,6 @@
 /**
  * 
  *         Class for keeping information about one file available for download.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -28,7 +41,13 @@
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "file", propOrder = {
-
+    "id",
+    "name",
+    "description",
+    "size",
+    "license",
+    "release",
+    "button"
 })
 public class File {
 
@@ -45,10 +64,8 @@
     @XmlElement(required = true)
     protected String release;
     @XmlElement(required = true)
-    protected File.Button button;
+    protected List<File.Button> button;
     @XmlAttribute
-    protected Sorting sorting;
-    @XmlAttribute
     protected Boolean visible;
 
     /**
@@ -198,56 +215,33 @@
     /**
      * Gets the value of the button property.
      * 
-     * @return
-     *     possible object is
-     *     {@link File.Button }
-     *     
-     */
-    public File.Button getButton() {
-        return button;
-    }
-
-    /**
-     * Sets the value of the button 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 button property.
      * 
-     * @param value
-     *     allowed object is
-     *     {@link File.Button }
-     *     
-     */
-    public void setButton(File.Button value) {
-        this.button = value;
-    }
-
-    /**
-     * Gets the value of the sorting property.
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getButton().add(newItem);
+     * </pre>
      * 
-     * @return
-     *     possible object is
-     *     {@link Sorting }
-     *     
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link File.Button }
+     * 
+     * 
      */
-    public Sorting getSorting() {
-        if (sorting == null) {
-            return Sorting.RANDOM;
-        } else {
-            return sorting;
+    public List<File.Button> getButton() {
+        if (button == null) {
+            button = new ArrayList<File.Button>();
         }
+        return this.button;
     }
 
     /**
-     * Sets the value of the sorting property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link Sorting }
-     *     
-     */
-    public void setSorting(Sorting value) {
-        this.sorting = value;
-    }
-
-    /**
      * Gets the value of the visible property.
      * 
      * @return
@@ -285,11 +279,11 @@
      * &lt;complexType>
      *   &lt;complexContent>
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       &lt;all>
+     *       &lt;sequence>
      *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
      *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
      *         &lt;element name="freezone" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
-     *       &lt;/all>
+     *       &lt;/sequence>
      *     &lt;/restriction>
      *   &lt;/complexContent>
      * &lt;/complexType>
@@ -299,7 +293,9 @@
      */
     @XmlAccessorType(XmlAccessType.FIELD)
     @XmlType(name = "", propOrder = {
-
+        "id",
+        "name",
+        "freezone"
     })
     public static class Button {
 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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 java.util.ArrayList;
@@ -19,8 +32,6 @@
 /**
  * 
  *         Class for keeping information about files available to download.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -18,8 +31,6 @@
 /**
  * 
  *         Class for keeping information about project's issue tracker.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -18,8 +31,6 @@
 /**
  * 
  *         Class for keeping information about one of predefined links for project's navigation menu.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -36,7 +47,7 @@
     protected String value;
     @XmlAttribute
     protected String display;
-    @XmlAttribute
+    @XmlAttribute(required = true)
     protected LinkType type;
 
     /**

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/LinkType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/LinkType.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/LinkType.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -15,8 +28,6 @@
 /**
  * 
  *         Enum describing types of possbile repository-monitors.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 

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-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,24 +1,36 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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 java.util.ArrayList;
+import java.util.List;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
 
 
 /**
  * 
  *         Class for keeping information about project's navigation menu.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -27,61 +39,70 @@
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "menu", propOrder = {
-
+    "page",
+    "link"
 })
 public class Menu {
 
-    @XmlElement(required = true)
-    protected Page page;
-    @XmlElement(required = true)
-    protected Link link;
+    protected List<Page> page;
+    protected List<Link> link;
 
     /**
      * Gets the value of the page property.
      * 
-     * @return
-     *     possible object is
-     *     {@link Page }
-     *     
-     */
-    public Page getPage() {
-        return page;
-    }
-
-    /**
-     * Sets the value of the page 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 page property.
      * 
-     * @param value
-     *     allowed object is
-     *     {@link Page }
-     *     
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getPage().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Page }
+     * 
+     * 
      */
-    public void setPage(Page value) {
-        this.page = value;
+    public List<Page> getPage() {
+        if (page == null) {
+            page = new ArrayList<Page>();
+        }
+        return this.page;
     }
 
     /**
      * Gets the value of the link property.
      * 
-     * @return
-     *     possible object is
-     *     {@link Link }
-     *     
-     */
-    public Link getLink() {
-        return link;
-    }
-
-    /**
-     * Sets the value of the link 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 link property.
      * 
-     * @param value
-     *     allowed object is
-     *     {@link Link }
-     *     
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getLink().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Link }
+     * 
+     * 
      */
-    public void setLink(Link value) {
-        this.link = value;
+    public List<Link> getLink() {
+        if (link == null) {
+            link = new ArrayList<Link>();
+        }
+        return this.link;
     }
 
 }

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/MonitorType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/MonitorType.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/MonitorType.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -15,8 +28,6 @@
 /**
  * 
  *         Enum describing types of possbile repository-monitors.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 

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-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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.XmlRegistry;
@@ -37,43 +50,43 @@
     }
 
     /**
-     * Create an instance of {@link File.Button }
+     * Create an instance of {@link Poll }
      * 
      */
-    public File.Button createFileButton() {
-        return new File.Button();
+    public Poll createPoll() {
+        return new Poll();
     }
 
     /**
-     * Create an instance of {@link Poll }
+     * Create an instance of {@link Categories }
      * 
      */
-    public Poll createPoll() {
-        return new Poll();
+    public Categories createCategories() {
+        return new Categories();
     }
 
     /**
-     * Create an instance of {@link Link }
+     * Create an instance of {@link Category }
      * 
      */
-    public Link createLink() {
-        return new Link();
+    public Category createCategory() {
+        return new Category();
     }
 
     /**
-     * Create an instance of {@link File }
+     * Create an instance of {@link IssueTracker }
      * 
      */
-    public File createFile() {
-        return new File();
+    public IssueTracker createIssueTracker() {
+        return new IssueTracker();
     }
 
     /**
-     * Create an instance of {@link Page }
+     * Create an instance of {@link File }
      * 
      */
-    public Page createPage() {
-        return new Page();
+    public File createFile() {
+        return new File();
     }
 
     /**
@@ -85,22 +98,6 @@
     }
 
     /**
-     * Create an instance of {@link Files }
-     * 
-     */
-    public Files createFiles() {
-        return new Files();
-    }
-
-    /**
-     * Create an instance of {@link RepoMonitor }
-     * 
-     */
-    public RepoMonitor createRepoMonitor() {
-        return new RepoMonitor();
-    }
-
-    /**
      * Create an instance of {@link Repository }
      * 
      */
@@ -109,19 +106,19 @@
     }
 
     /**
-     * Create an instance of {@link Category }
+     * Create an instance of {@link Polls }
      * 
      */
-    public Category createCategory() {
-        return new Category();
+    public Polls createPolls() {
+        return new Polls();
     }
 
     /**
-     * Create an instance of {@link Menu }
+     * Create an instance of {@link Page }
      * 
      */
-    public Menu createMenu() {
-        return new Menu();
+    public Page createPage() {
+        return new Page();
     }
 
     /**
@@ -133,43 +130,51 @@
     }
 
     /**
-     * Create an instance of {@link Polls }
+     * Create an instance of {@link Downloads.Counters }
      * 
      */
-    public Polls createPolls() {
-        return new Polls();
+    public Downloads.Counters createDownloadsCounters() {
+        return new Downloads.Counters();
     }
 
     /**
-     * Create an instance of {@link IssueTracker }
+     * Create an instance of {@link Link }
      * 
      */
-    public IssueTracker createIssueTracker() {
-        return new IssueTracker();
+    public Link createLink() {
+        return new Link();
     }
 
     /**
-     * Create an instance of {@link Downloads.Counters }
+     * Create an instance of {@link RepoMonitor }
      * 
      */
-    public Downloads.Counters createDownloadsCounters() {
-        return new Downloads.Counters();
+    public RepoMonitor createRepoMonitor() {
+        return new RepoMonitor();
     }
 
     /**
-     * Create an instance of {@link Category.Categories }
+     * Create an instance of {@link File.Button }
      * 
      */
-    public Category.Categories createCategoryCategories() {
-        return new Category.Categories();
+    public File.Button createFileButton() {
+        return new File.Button();
     }
 
     /**
-     * Create an instance of {@link org.jboss.forge.common.projects.test.Categories }
+     * Create an instance of {@link Files }
      * 
      */
-    public org.jboss.forge.common.projects.test.Categories createCategories() {
-        return new org.jboss.forge.common.projects.test.Categories();
+    public Files createFiles() {
+        return new Files();
     }
 
+    /**
+     * Create an instance of {@link Menu }
+     * 
+     */
+    public Menu createMenu() {
+        return new Menu();
+    }
+
 }

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -18,8 +31,6 @@
 /**
  * 
  *         Class for keeping information about one of pages for project's navigation menu.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,13 +1,28 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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 java.util.ArrayList;
+import java.util.List;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
@@ -17,8 +32,6 @@
 /**
  * 
  *         Class for keeping information about one poll.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -27,14 +40,15 @@
  */
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "poll", propOrder = {
-
+    "question",
+    "answer"
 })
 public class Poll {
 
     @XmlElement(required = true)
     protected String question;
     @XmlElement(required = true)
-    protected String answer;
+    protected List<String> answer;
 
     /**
      * Gets the value of the question property.
@@ -63,25 +77,30 @@
     /**
      * Gets the value of the answer property.
      * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getAnswer() {
-        return answer;
-    }
-
-    /**
-     * Sets the value of the answer 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 answer property.
      * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getAnswer().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link String }
+     * 
+     * 
      */
-    public void setAnswer(String value) {
-        this.answer = value;
+    public List<String> getAnswer() {
+        if (answer == null) {
+            answer = new ArrayList<String>();
+        }
+        return this.answer;
     }
 
 }

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -16,8 +29,6 @@
 /**
  * 
  *         Class for keeping information about polls.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 

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-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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 java.util.ArrayList;
@@ -20,8 +33,6 @@
 /**
  * 
  *         Root class describing whole project.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -50,17 +61,16 @@
     protected String id;
     @XmlElement(required = true)
     protected String name;
-    @XmlElement(name = "company-name", required = true)
+    @XmlElement(name = "company-name")
     protected String companyName;
     protected String logo;
     protected String description;
     protected List<String> jems;
-    protected Repository repository;
+    protected List<Repository> repository;
     @XmlElement(name = "repo-monitor")
-    protected RepoMonitor repoMonitor;
+    protected List<RepoMonitor> repoMonitor;
     @XmlElement(name = "issue-tracker")
-    protected IssueTracker issueTracker;
-    @XmlElement(required = true)
+    protected List<IssueTracker> issueTracker;
     protected Menu menu;
     protected Downloads downloads;
     protected Polls polls;
@@ -217,73 +227,88 @@
     /**
      * Gets the value of the repository property.
      * 
-     * @return
-     *     possible object is
-     *     {@link Repository }
-     *     
-     */
-    public Repository getRepository() {
-        return repository;
-    }
-
-    /**
-     * Sets the value of the repository 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 repository property.
      * 
-     * @param value
-     *     allowed object is
-     *     {@link Repository }
-     *     
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getRepository().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Repository }
+     * 
+     * 
      */
-    public void setRepository(Repository value) {
-        this.repository = value;
+    public List<Repository> getRepository() {
+        if (repository == null) {
+            repository = new ArrayList<Repository>();
+        }
+        return this.repository;
     }
 
     /**
      * Gets the value of the repoMonitor property.
      * 
-     * @return
-     *     possible object is
-     *     {@link RepoMonitor }
-     *     
-     */
-    public RepoMonitor getRepoMonitor() {
-        return repoMonitor;
-    }
-
-    /**
-     * Sets the value of the repoMonitor 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 repoMonitor property.
      * 
-     * @param value
-     *     allowed object is
-     *     {@link RepoMonitor }
-     *     
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getRepoMonitor().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link RepoMonitor }
+     * 
+     * 
      */
-    public void setRepoMonitor(RepoMonitor value) {
-        this.repoMonitor = value;
+    public List<RepoMonitor> getRepoMonitor() {
+        if (repoMonitor == null) {
+            repoMonitor = new ArrayList<RepoMonitor>();
+        }
+        return this.repoMonitor;
     }
 
     /**
      * Gets the value of the issueTracker property.
      * 
-     * @return
-     *     possible object is
-     *     {@link IssueTracker }
-     *     
-     */
-    public IssueTracker getIssueTracker() {
-        return issueTracker;
-    }
-
-    /**
-     * Sets the value of the issueTracker 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 issueTracker property.
      * 
-     * @param value
-     *     allowed object is
-     *     {@link IssueTracker }
-     *     
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getIssueTracker().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link IssueTracker }
+     * 
+     * 
      */
-    public void setIssueTracker(IssueTracker value) {
-        this.issueTracker = value;
+    public List<IssueTracker> getIssueTracker() {
+        if (issueTracker == null) {
+            issueTracker = new ArrayList<IssueTracker>();
+        }
+        return this.issueTracker;
     }
 
     /**
@@ -358,20 +383,4 @@
         this.polls = value;
     }
 
-    public String toString() {
-        System.out.println("COMPANYNAME: "+companyName);
-        System.out.println("DESCRIPTION: "+description);
-        System.out.println("DOWNLOADS: "+downloads);
-        System.out.println("ID: "+id);
-        System.out.println("ISSUETRACKER: "+issueTracker);
-        System.out.println("JEMS: "+jems);
-        System.out.println("LOGO: "+logo);
-        System.out.println("MENU: "+menu);
-        System.out.println("NAME: "+name);
-        System.out.println("POLLS: "+polls);
-        System.out.println("REPOMONITOR: "+repoMonitor);
-        System.out.println("REPOSITORY: "+repository);
-        return super.toString();
-    }
-
 }

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -18,8 +31,6 @@
 /**
  * 
  *         Class for keeping information about project's repository monitor.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoType.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoType.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -15,8 +28,6 @@
 /**
  * 
  *         Enum describing types of possbile repositories.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -17,8 +30,6 @@
 /**
  * 
  *         Class for keeping information about project's repository type.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Sorting.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Sorting.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Sorting.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,11 +1,24 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
-
+ /*
+  * 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;
@@ -15,8 +28,6 @@
 /**
  * 
  *         Enum describing types of possbile sorting orders for downloads showing purposes.
- *         Generated using JAXB
- *         DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
  *         @author Ryszard Kozmik
  *                 
  * 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java	2006-08-07 23:21:52 UTC (rev 5581)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java	2006-08-07 23:23:35 UTC (rev 5582)
@@ -1,9 +1,23 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.08.08 at 12:10:50 AM CEST 
-//
-
+ /*
+  * 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.
+  */
 @javax.xml.bind.annotation.XmlSchema(namespace = "http://jboss.org", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
 package org.jboss.forge.common.projects.test;




More information about the jboss-svn-commits mailing list