[jboss-svn-commits] JBL Code SVN: r17014 - in labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web: ws and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Dec 4 08:59:29 EST 2007


Author: wrzep
Date: 2007-12-04 08:59:29 -0500 (Tue, 04 Dec 2007)
New Revision: 17014

Added:
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/ObjectFactory.java
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/Project.java
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/ProjectArray.java
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/StringArray.java
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/package-info.java
Removed:
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/ObjectFactory.java
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/Project.java
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/ProjectArray.java
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/StringArray.java
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/package-info.java
Modified:
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/service/ProjectsService.java
   labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/LabsWebServiceBean.java
Log:
refactoring


Modified: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/service/ProjectsService.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/service/ProjectsService.java	2007-12-04 13:34:33 UTC (rev 17013)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/service/ProjectsService.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -5,8 +5,8 @@
 
 import org.jboss.labs.metrics.web.ws.LabsWebServiceBean;
 import org.jboss.labs.metrics.web.ws.LabsWebServiceBeanService;
-import org.jboss.labs.metrics.web.ws.Project;
-import org.jboss.labs.metrics.web.ws.ProjectArray;
+import org.jboss.labs.metrics.web.ws.jaxb.Project;
+import org.jboss.labs.metrics.web.ws.jaxb.ProjectArray;
 import org.jboss.seam.ScopeType;
 import org.jboss.seam.annotations.Factory;
 import org.jboss.seam.annotations.Name;

Modified: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/LabsWebServiceBean.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/LabsWebServiceBean.java	2007-12-04 13:34:33 UTC (rev 17013)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/LabsWebServiceBean.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -8,7 +8,11 @@
 import javax.jws.soap.SOAPBinding;
 import javax.xml.bind.annotation.XmlSeeAlso;
 
+import org.jboss.labs.metrics.web.ws.jaxb.ObjectFactory;
+import org.jboss.labs.metrics.web.ws.jaxb.ProjectArray;
+import org.jboss.labs.metrics.web.ws.jaxb.StringArray;
 
+
 /**
  * This class was generated by the JAXWS SI.
  * JAX-WS RI 2.1-02/02/2007 03:56 AM(vivekp)-FCS

Deleted: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/ObjectFactory.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/ObjectFactory.java	2007-12-04 13:34:33 UTC (rev 17013)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/ObjectFactory.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -1,77 +0,0 @@
- /*
-  * JBoss, a division of Red Hat
-  * Copyright 2007, Red Hat Middleware LLC 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.labs.metrics.web.ws;
-
-import javax.xml.bind.annotation.XmlRegistry;
-
-
-/**
- * This object contains factory methods for each 
- * Java content interface and Java element interface 
- * generated in the metrics package. 
- * <p>An ObjectFactory allows you to programatically 
- * construct new instances of the Java representation 
- * for XML content. The Java representation of XML 
- * content can consist of schema derived interfaces 
- * and classes representing the binding of schema 
- * type definitions, element declarations and model 
- * groups.  Factory methods for each of these are 
- * provided in this class.
- * 
- */
- at XmlRegistry
-public class ObjectFactory {
-
-
-    /**
-     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: metrics
-     * 
-     */
-    public ObjectFactory() {
-    }
-
-    /**
-     * Create an instance of {@link Project }
-     * 
-     */
-    public Project createProject() {
-        return new Project();
-    }
-
-    /**
-     * Create an instance of {@link StringArray }
-     * 
-     */
-    public StringArray createStringArray() {
-        return new StringArray();
-    }
-
-    /**
-     * Create an instance of {@link ProjectArray }
-     * 
-     */
-    public ProjectArray createProjectArray() {
-        return new ProjectArray();
-    }
-
-}

Deleted: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/Project.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/Project.java	2007-12-04 13:34:33 UTC (rev 17013)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/Project.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -1,161 +0,0 @@
- /*
-  * JBoss, a division of Red Hat
-  * Copyright 2007, Red Hat Middleware LLC 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.labs.metrics.web.ws;
-
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for project complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="project">
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       &lt;sequence>
- *         &lt;element name="jira" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         &lt;element name="svn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *       &lt;/sequence>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "project", propOrder = {
-    "id",
-    "jira",
-    "name",
-    "svn"
-})
-public class Project {
-
-    protected String id;
-    protected String jira;
-    protected String name;
-    protected String svn;
-
-    /**
-     * Gets the value of the id property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getId() {
-        return id;
-    }
-
-    /**
-     * Sets the value of the id property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setId(String value) {
-        this.id = value;
-    }
-
-    /**
-     * Gets the value of the jira property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getJira() {
-        return jira;
-    }
-
-    /**
-     * Sets the value of the jira property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setJira(String value) {
-        this.jira = value;
-    }
-
-    /**
-     * Gets the value of the name property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getName() {
-        return name;
-    }
-
-    /**
-     * Sets the value of the name property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setName(String value) {
-        this.name = value;
-    }
-
-    /**
-     * Gets the value of the svn property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getSvn() {
-        return svn;
-    }
-
-    /**
-     * Sets the value of the svn property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setSvn(String value) {
-        this.svn = value;
-    }
-
-}

Deleted: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/ProjectArray.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/ProjectArray.java	2007-12-04 13:34:33 UTC (rev 17013)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/ProjectArray.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -1,90 +0,0 @@
- /*
-  * JBoss, a division of Red Hat
-  * Copyright 2007, Red Hat Middleware LLC 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.labs.metrics.web.ws;
-
-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;
-
-
-/**
- * <p>Java class for projectArray complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="projectArray">
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       &lt;sequence>
- *         &lt;element name="item" type="{http://ws.ejb3.forge.jboss.org/}project" maxOccurs="unbounded" minOccurs="0"/>
- *       &lt;/sequence>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "projectArray", propOrder = {
-    "item"
-})
-public class ProjectArray {
-
-    @XmlElement(nillable = true)
-    protected List<Project> item;
-
-    /**
-     * Gets the value of the item 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 item property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getItem().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link Project }
-     * 
-     * 
-     */
-    public List<Project> getItem() {
-        if (item == null) {
-            item = new ArrayList<Project>();
-        }
-        return this.item;
-    }
-
-}

Deleted: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/StringArray.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/StringArray.java	2007-12-04 13:34:33 UTC (rev 17013)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/StringArray.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -1,69 +0,0 @@
-package org.jboss.labs.metrics.web.ws;
-
-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;
-
-
-/**
- * <p>Java class for stringArray complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="stringArray">
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       &lt;sequence>
- *         &lt;element name="item" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
- *       &lt;/sequence>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "stringArray", propOrder = {
-    "item"
-})
-public class StringArray {
-
-    @XmlElement(nillable = true)
-    protected List<String> item;
-
-    /**
-     * Gets the value of the item 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 item property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getItem().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link String }
-     * 
-     * 
-     */
-    public List<String> getItem() {
-        if (item == null) {
-            item = new ArrayList<String>();
-        }
-        return this.item;
-    }
-
-}
-

Added: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/ObjectFactory.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/ObjectFactory.java	                        (rev 0)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/ObjectFactory.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -0,0 +1,78 @@
+ /*
+  * JBoss, a division of Red Hat
+  * Copyright 2007, Red Hat Middleware LLC 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.labs.metrics.web.ws.jaxb;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the metrics package. 
+ * <p>An ObjectFactory allows you to programatically 
+ * construct new instances of the Java representation 
+ * for XML content. The Java representation of XML 
+ * content can consist of schema derived interfaces 
+ * and classes representing the binding of schema 
+ * type definitions, element declarations and model 
+ * groups.  Factory methods for each of these are 
+ * provided in this class.
+ * 
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: metrics
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link Project }
+     * 
+     */
+    public Project createProject() {
+        return new Project();
+    }
+
+    /**
+     * Create an instance of {@link StringArray }
+     * 
+     */
+    public StringArray createStringArray() {
+        return new StringArray();
+    }
+
+    /**
+     * Create an instance of {@link ProjectArray }
+     * 
+     */
+    public ProjectArray createProjectArray() {
+        return new ProjectArray();
+    }
+
+}

Added: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/Project.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/Project.java	                        (rev 0)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/Project.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -0,0 +1,161 @@
+ /*
+  * JBoss, a division of Red Hat
+  * Copyright 2007, Red Hat Middleware LLC 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.labs.metrics.web.ws.jaxb;
+
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for project complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="project">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="jira" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         &lt;element name="svn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "project", propOrder = {
+    "id",
+    "jira",
+    "name",
+    "svn"
+})
+public class Project {
+
+    protected String id;
+    protected String jira;
+    protected String name;
+    protected String svn;
+
+    /**
+     * Gets the value of the id property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setId(String value) {
+        this.id = value;
+    }
+
+    /**
+     * Gets the value of the jira property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getJira() {
+        return jira;
+    }
+
+    /**
+     * Sets the value of the jira property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setJira(String value) {
+        this.jira = value;
+    }
+
+    /**
+     * Gets the value of the name property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * Sets the value of the name property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setName(String value) {
+        this.name = value;
+    }
+
+    /**
+     * Gets the value of the svn property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getSvn() {
+        return svn;
+    }
+
+    /**
+     * Sets the value of the svn property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setSvn(String value) {
+        this.svn = value;
+    }
+
+}

Added: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/ProjectArray.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/ProjectArray.java	                        (rev 0)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/ProjectArray.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -0,0 +1,91 @@
+ /*
+  * JBoss, a division of Red Hat
+  * Copyright 2007, Red Hat Middleware LLC 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.labs.metrics.web.ws.jaxb;
+
+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;
+
+
+
+/**
+ * <p>Java class for projectArray complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="projectArray">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="item" type="{http://ws.ejb3.forge.jboss.org/}project" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "projectArray", propOrder = {
+    "item"
+})
+public class ProjectArray {
+
+    @XmlElement(nillable = true)
+    protected List<Project> item;
+
+    /**
+     * Gets the value of the item 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 item property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getItem().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Project }
+     * 
+     * 
+     */
+    public List<Project> getItem() {
+        if (item == null) {
+            item = new ArrayList<Project>();
+        }
+        return this.item;
+    }
+
+}

Added: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/StringArray.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/StringArray.java	                        (rev 0)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/StringArray.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -0,0 +1,69 @@
+package org.jboss.labs.metrics.web.ws.jaxb;
+
+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;
+
+
+/**
+ * <p>Java class for stringArray complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="stringArray">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="item" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "stringArray", propOrder = {
+    "item"
+})
+public class StringArray {
+
+    @XmlElement(nillable = true)
+    protected List<String> item;
+
+    /**
+     * Gets the value of the item 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 item property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getItem().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link String }
+     * 
+     * 
+     */
+    public List<String> getItem() {
+        if (item == null) {
+            item = new ArrayList<String>();
+        }
+        return this.item;
+    }
+
+}
+

Added: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/package-info.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/package-info.java	                        (rev 0)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/jaxb/package-info.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -0,0 +1,2 @@
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://jaxb.dev.java.net/array")
+package org.jboss.labs.metrics.web.ws.jaxb;

Deleted: labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/package-info.java
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/package-info.java	2007-12-04 13:34:33 UTC (rev 17013)
+++ labs/jbosslabs/trunk/stats-server/sources/metrics_web/src/model/org/jboss/labs/metrics/web/ws/package-info.java	2007-12-04 13:59:29 UTC (rev 17014)
@@ -1,2 +0,0 @@
- at javax.xml.bind.annotation.XmlSchema(namespace = "http://jaxb.dev.java.net/array")
-package org.jboss.labs.metrics.web.ws;




More information about the jboss-svn-commits mailing list