[jboss-svn-commits] JBL Code SVN: r9523 - in labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project: rw and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Feb 15 07:19:55 EST 2007
Author: unibrew
Date: 2007-02-15 07:19:55 -0500 (Thu, 15 Feb 2007)
New Revision: 9523
Added:
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/BuildResultRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/BuildTypeRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/CategoriesRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/CategoryRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DevelopersRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DocumentationRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DocumentationTypeRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DownloadsRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/FileRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/FilesRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/IssueTrackerRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/IssueTrackerTypeRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/MonitorTypeRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/ObjectFactory.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PageRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PagesRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PollRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PollsRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PortletRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PreferenceRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/ProjectRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/RepoMonitorRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/RepoTypeRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/SortingRW.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/package-info.java
Removed:
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/impl/
Log:
[JBLAB-840] Adding RW synchronized classes for project.xml parsing and removing useless implementation classes from impl package.
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/BuildResultRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/BuildResultRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/BuildResultRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,91 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ *
+ * Class for keeping information about project's build results.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "build-result", propOrder = {
+ "value"
+})
+public class BuildResultRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlValue
+ protected String value;
+ @XmlAttribute(required = true)
+ protected BuildTypeRW type;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link BuildTypeRW }
+ *
+ */
+ public synchronized BuildTypeRW getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BuildTypeRW }
+ *
+ */
+ public synchronized void setType(BuildTypeRW value) {
+ this.type = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/BuildTypeRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/BuildTypeRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/BuildTypeRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,62 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ *
+ * Enum describing types of possbile builder applications.
+ * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ * <p>Java class for BuildType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="BuildType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="CruiseControl"/>
+ * <enumeration value="Continuum"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlEnum
+public enum BuildTypeRW {
+
+ @XmlEnumValue("CruiseControl")
+ CRUISE_CONTROL("CruiseControl"),
+ @XmlEnumValue("Continuum")
+ CONTINUUM("Continuum");
+ private final String value;
+
+ BuildTypeRW(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static BuildTypeRW fromValue(String v) {
+ for (BuildTypeRW c: BuildTypeRW.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/CategoriesRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/CategoriesRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/CategoriesRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,69 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Class for keeping information about download categories.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "categories", propOrder = {
+ "category"
+})
+public class CategoriesRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ protected List<CategoryRW> category = new CopyOnWriteArrayList<CategoryRW>();
+
+ /**
+ * 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 CategoryRW }
+ *
+ *
+ */
+ public synchronized List<CategoryRW> getCategory() {
+ if (category == null) {
+ category = new CopyOnWriteArrayList<CategoryRW>();
+ }
+ return this.category;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/CategoryRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/CategoryRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/CategoryRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,164 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+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 category.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "category", propOrder = {
+
+})
+public class CategoryRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(required = true)
+ protected String id;
+ protected String name;
+ protected String description;
+ protected FilesRW files;
+ protected CategoriesRW categories;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the files property.
+ *
+ * @return
+ * possible object is
+ * {@link FilesRW }
+ *
+ */
+ public synchronized FilesRW getFiles() {
+ return files;
+ }
+
+ /**
+ * Sets the value of the files property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FilesRW }
+ *
+ */
+ public synchronized void setFiles(FilesRW value) {
+ this.files = value;
+ }
+
+ /**
+ * Gets the value of the categories property.
+ *
+ * @return
+ * possible object is
+ * {@link CategoriesRW }
+ *
+ */
+ public synchronized CategoriesRW getCategories() {
+ return categories;
+ }
+
+ /**
+ * Sets the value of the categories property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CategoriesRW }
+ *
+ */
+ public synchronized void setCategories(CategoriesRW value) {
+ this.categories = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DevelopersRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DevelopersRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DevelopersRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,98 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * This class will collect project developers.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "developers", propOrder = {
+ "leadDeveloper",
+ "developers"
+})
+public class DevelopersRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(name = "lead-developer")
+ protected String leadDeveloper;
+ @XmlElement(name = "developer")
+ protected List<String> developers = new CopyOnWriteArrayList<String>();
+
+ /**
+ * Gets the value of the leadDeveloper property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getLeadDeveloper() {
+ return leadDeveloper;
+ }
+
+ /**
+ * Sets the value of the leadDeveloper property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setLeadDeveloper(String value) {
+ this.leadDeveloper = value;
+ }
+
+ /**
+ * Gets the value of the developers 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 developers property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDevelopers().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public synchronized List<String> getDevelopers() {
+ if (developers == null) {
+ developers = new CopyOnWriteArrayList<String>();
+ }
+ return this.developers;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DocumentationRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DocumentationRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DocumentationRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,91 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ *
+ * Class for keeping links to project's documentation.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "documentation", propOrder = {
+ "value"
+})
+public class DocumentationRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlValue
+ protected String value;
+ @XmlAttribute(required = true)
+ protected DocumentationTypeRW type;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link DocumentationTypeRW }
+ *
+ */
+ public synchronized DocumentationTypeRW getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DocumentationTypeRW }
+ *
+ */
+ public synchronized void setType(DocumentationTypeRW value) {
+ this.type = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DocumentationTypeRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DocumentationTypeRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DocumentationTypeRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,73 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ *
+ * Enum describing types of documentation.
+ * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ * <p>Java class for DocumentationType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="DocumentationType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="manual"/>
+ * <enumeration value="FAQ"/>
+ * <enumeration value="quickStart"/>
+ * <enumeration value="wiki"/>
+ * <enumeration value="installation"/>
+ * <enumeration value="javadoc"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlEnum
+public enum DocumentationTypeRW {
+
+ @XmlEnumValue("manual")
+ MANUAL("manual"),
+ FAQ("FAQ"),
+ @XmlEnumValue("quickStart")
+ QUICK_START("quickStart"),
+ @XmlEnumValue("wiki")
+ WIKI("wiki"),
+ @XmlEnumValue("installation")
+ INSTALLATION("installation"),
+ @XmlEnumValue("javadoc")
+ JAVADOC("javadoc");
+ private final String value;
+
+ DocumentationTypeRW(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static DocumentationTypeRW fromValue(String v) {
+ for (DocumentationTypeRW c: DocumentationTypeRW.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DownloadsRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DownloadsRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/DownloadsRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,250 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Class for keeping information about project's downloads.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "downloads", propOrder = {
+ "categories",
+ "name",
+ "description",
+ "counters",
+ "files"
+})
+public class DownloadsRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ protected CategoriesRW categories;
+ protected String name;
+ protected String description;
+ protected DownloadsRW.Counters counters;
+ protected FilesRW files;
+
+ /**
+ * Gets the value of the categories property.
+ *
+ * @return
+ * possible object is
+ * {@link CategoriesRW }
+ *
+ */
+ public synchronized CategoriesRW getCategories() {
+ return categories;
+ }
+
+ /**
+ * Sets the value of the categories property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CategoriesRW }
+ *
+ */
+ public synchronized void setCategories(CategoriesRW value) {
+ this.categories = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the counters property.
+ *
+ * @return
+ * possible object is
+ * {@link DownloadsRW.Counters }
+ *
+ */
+ public synchronized DownloadsRW.Counters getCounters() {
+ return counters;
+ }
+
+ /**
+ * Sets the value of the counters property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DownloadsRW.Counters }
+ *
+ */
+ public synchronized void setCounters(DownloadsRW.Counters value) {
+ this.counters = value;
+ }
+
+ /**
+ * Gets the value of the files property.
+ *
+ * @return
+ * possible object is
+ * {@link FilesRW }
+ *
+ */
+ public synchronized FilesRW getFiles() {
+ return files;
+ }
+
+ /**
+ * Sets the value of the files property.
+ *
+ * @param value
+ * allowed object is
+ * {@link FilesRW }
+ *
+ */
+ public synchronized void setFiles(FilesRW value) {
+ this.files = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sorting" type="{http://jboss.org}sorting" minOccurs="0"/>
+ * <element name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "sorting",
+ "visible"
+ })
+ public static class Counters
+ implements Serializable
+ {
+
+ private final static long serialVersionUID = 1L;
+ protected SortingRW sorting;
+ protected Boolean visible;
+
+ /**
+ * Gets the value of the sorting property.
+ *
+ * @return
+ * possible object is
+ * {@link SortingRW }
+ *
+ */
+ public synchronized SortingRW getSorting() {
+ return sorting;
+ }
+
+ /**
+ * Sets the value of the sorting property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SortingRW }
+ *
+ */
+ public synchronized void setSorting(SortingRW value) {
+ this.sorting = value;
+ }
+
+ /**
+ * Gets the value of the visible property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public synchronized Boolean isVisible() {
+ return visible;
+ }
+
+ /**
+ * Sets the value of the visible property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public synchronized void setVisible(Boolean value) {
+ this.visible = value;
+ }
+
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/FileRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/FileRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/FileRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,396 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Class for keeping information about one file available for download.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "file", propOrder = {
+ "id",
+ "name",
+ "description",
+ "size",
+ "license",
+ "release",
+ "type",
+ "button"
+})
+public class FileRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(required = true)
+ protected String id;
+ protected String name;
+ protected String description;
+ protected String size;
+ protected String license;
+ protected String release;
+ protected String type;
+ protected List<FileRW.Button> button = new CopyOnWriteArrayList<FileRW.Button>();
+ @XmlAttribute
+ protected Boolean visible;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the size property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getSize() {
+ return size;
+ }
+
+ /**
+ * Sets the value of the size property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setSize(String value) {
+ this.size = value;
+ }
+
+ /**
+ * Gets the value of the license property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getLicense() {
+ return license;
+ }
+
+ /**
+ * Sets the value of the license property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setLicense(String value) {
+ this.license = value;
+ }
+
+ /**
+ * Gets the value of the release property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getRelease() {
+ return release;
+ }
+
+ /**
+ * Sets the value of the release property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setRelease(String value) {
+ this.release = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets 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.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getButton().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link FileRW.Button }
+ *
+ *
+ */
+ public synchronized List<FileRW.Button> getButton() {
+ if (button == null) {
+ button = new CopyOnWriteArrayList<FileRW.Button>();
+ }
+ return this.button;
+ }
+
+ /**
+ * Gets the value of the visible property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public synchronized boolean isVisible() {
+ if (visible == null) {
+ return true;
+ } else {
+ return visible;
+ }
+ }
+
+ /**
+ * Sets the value of the visible property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public synchronized void setVisible(Boolean value) {
+ this.visible = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="freezone" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "id",
+ "name",
+ "freezone"
+ })
+ public static class Button
+ implements Serializable
+ {
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(required = true)
+ protected String id;
+ protected String name;
+ protected Boolean freezone;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the freezone property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public synchronized Boolean isFreezone() {
+ return freezone;
+ }
+
+ /**
+ * Sets the value of the freezone property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public synchronized void setFreezone(Boolean value) {
+ this.freezone = value;
+ }
+
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/FilesRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/FilesRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/FilesRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,130 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Class for keeping information about files available to download.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "files", propOrder = {
+ "file"
+})
+public class FilesRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ protected List<FileRW> file = new CopyOnWriteArrayList<FileRW>();
+ @XmlAttribute
+ protected Boolean visible;
+ @XmlAttribute
+ protected SortingRW sorting;
+
+ /**
+ * Gets the value of the file 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 file property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFile().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link FileRW }
+ *
+ *
+ */
+ public synchronized List<FileRW> getFile() {
+ if (file == null) {
+ file = new CopyOnWriteArrayList<FileRW>();
+ }
+ return this.file;
+ }
+
+ /**
+ * Gets the value of the visible property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public synchronized boolean isVisible() {
+ if (visible == null) {
+ return true;
+ } else {
+ return visible;
+ }
+ }
+
+ /**
+ * Sets the value of the visible property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public synchronized void setVisible(Boolean value) {
+ this.visible = value;
+ }
+
+ /**
+ * Gets the value of the sorting property.
+ *
+ * @return
+ * possible object is
+ * {@link SortingRW }
+ *
+ */
+ public synchronized SortingRW getSorting() {
+ if (sorting == null) {
+ return SortingRW.RANDOM;
+ } else {
+ return sorting;
+ }
+ }
+
+ /**
+ * Sets the value of the sorting property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SortingRW }
+ *
+ */
+ public synchronized void setSorting(SortingRW value) {
+ this.sorting = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/IssueTrackerRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/IssueTrackerRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/IssueTrackerRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,95 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ *
+ * Class for keeping information about project's issue tracker.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "issue-tracker", propOrder = {
+ "value"
+})
+public class IssueTrackerRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlValue
+ protected String value;
+ @XmlAttribute
+ protected IssueTrackerTypeRW type;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link IssueTrackerTypeRW }
+ *
+ */
+ public synchronized IssueTrackerTypeRW getType() {
+ if (type == null) {
+ return IssueTrackerTypeRW.JIRA;
+ } else {
+ return type;
+ }
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link IssueTrackerTypeRW }
+ *
+ */
+ public synchronized void setType(IssueTrackerTypeRW value) {
+ this.type = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/IssueTrackerTypeRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/IssueTrackerTypeRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/IssueTrackerTypeRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,62 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ *
+ * Enum describing types of possbile issue trackers.
+ * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ * <p>Java class for IssueTrackerType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="IssueTrackerType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="jira"/>
+ * <enumeration value="bugzilla"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlEnum
+public enum IssueTrackerTypeRW {
+
+ @XmlEnumValue("jira")
+ JIRA("jira"),
+ @XmlEnumValue("bugzilla")
+ BUGZILLA("bugzilla");
+ private final String value;
+
+ IssueTrackerTypeRW(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static IssueTrackerTypeRW fromValue(String v) {
+ for (IssueTrackerTypeRW c: IssueTrackerTypeRW.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/MonitorTypeRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/MonitorTypeRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/MonitorTypeRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,62 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ *
+ * Enum describing types of possbile repository-monitors.
+ * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ * <p>Java class for MonitorType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="MonitorType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="fisheye"/>
+ * <enumeration value="viewvc"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlEnum
+public enum MonitorTypeRW {
+
+ @XmlEnumValue("fisheye")
+ FISHEYE("fisheye"),
+ @XmlEnumValue("viewvc")
+ VIEWVC("viewvc");
+ private final String value;
+
+ MonitorTypeRW(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static MonitorTypeRW fromValue(String v) {
+ for (MonitorTypeRW c: MonitorTypeRW.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/ObjectFactory.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/ObjectFactory.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/ObjectFactory.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,191 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.forge.common.projects.project.rw 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: org.jboss.forge.common.projects.project.rw
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link FileRW.Button }
+ *
+ */
+ public FileRW.Button createFileRWButton() {
+ return new FileRW.Button();
+ }
+
+ /**
+ * Create an instance of {@link RepoMonitorRW }
+ *
+ */
+ public RepoMonitorRW createRepoMonitorRW() {
+ return new RepoMonitorRW();
+ }
+
+ /**
+ * Create an instance of {@link ProjectRW }
+ *
+ */
+ public ProjectRW createProjectRW() {
+ return new ProjectRW();
+ }
+
+ /**
+ * Create an instance of {@link DownloadsRW.Counters }
+ *
+ */
+ public DownloadsRW.Counters createDownloadsRWCounters() {
+ return new DownloadsRW.Counters();
+ }
+
+ /**
+ * Create an instance of {@link BuildResultRW }
+ *
+ */
+ public BuildResultRW createBuildResultRW() {
+ return new BuildResultRW();
+ }
+
+ /**
+ * Create an instance of {@link CategoryRW }
+ *
+ */
+ public CategoryRW createCategoryRW() {
+ return new CategoryRW();
+ }
+
+ /**
+ * Create an instance of {@link PollRW }
+ *
+ */
+ public PollRW createPollRW() {
+ return new PollRW();
+ }
+
+ /**
+ * Create an instance of {@link CategoriesRW }
+ *
+ */
+ public CategoriesRW createCategoriesRW() {
+ return new CategoriesRW();
+ }
+
+ /**
+ * Create an instance of {@link PageRW }
+ *
+ */
+ public PageRW createPageRW() {
+ return new PageRW();
+ }
+
+ /**
+ * Create an instance of {@link DocumentationRW }
+ *
+ */
+ public DocumentationRW createDocumentationRW() {
+ return new DocumentationRW();
+ }
+
+ /**
+ * Create an instance of {@link PollsRW }
+ *
+ */
+ public PollsRW createPollsRW() {
+ return new PollsRW();
+ }
+
+ /**
+ * Create an instance of {@link PagesRW }
+ *
+ */
+ public PagesRW createPagesRW() {
+ return new PagesRW();
+ }
+
+ /**
+ * Create an instance of {@link FileRW }
+ *
+ */
+ public FileRW createFileRW() {
+ return new FileRW();
+ }
+
+ /**
+ * Create an instance of {@link IssueTrackerRW }
+ *
+ */
+ public IssueTrackerRW createIssueTrackerRW() {
+ return new IssueTrackerRW();
+ }
+
+ /**
+ * Create an instance of {@link PortletRW }
+ *
+ */
+ public PortletRW createPortletRW() {
+ return new PortletRW();
+ }
+
+ /**
+ * Create an instance of {@link DownloadsRW }
+ *
+ */
+ public DownloadsRW createDownloadsRW() {
+ return new DownloadsRW();
+ }
+
+ /**
+ * Create an instance of {@link DevelopersRW }
+ *
+ */
+ public DevelopersRW createDevelopersRW() {
+ return new DevelopersRW();
+ }
+
+ /**
+ * Create an instance of {@link FilesRW }
+ *
+ */
+ public FilesRW createFilesRW() {
+ return new FilesRW();
+ }
+
+ /**
+ * Create an instance of {@link PreferenceRW }
+ *
+ */
+ public PreferenceRW createPreferenceRW() {
+ return new PreferenceRW();
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PageRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PageRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PageRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,98 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Class for keeping information about one of pages for project's navigation menu.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "page", propOrder = {
+ "portlets"
+})
+public class PageRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(name = "portlet")
+ protected List<PortletRW> portlets = new CopyOnWriteArrayList<PortletRW>();
+ @XmlAttribute(required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the portlets 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 portlets property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPortlets().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PortletRW }
+ *
+ *
+ */
+ public synchronized List<PortletRW> getPortlets() {
+ if (portlets == null) {
+ portlets = new CopyOnWriteArrayList<PortletRW>();
+ }
+ return this.portlets;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setName(String value) {
+ this.name = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PagesRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PagesRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PagesRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,71 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+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 menu pages.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "pages", propOrder = {
+ "pages"
+})
+public class PagesRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(name = "page")
+ protected List<PageRW> pages = new CopyOnWriteArrayList<PageRW>();
+
+ /**
+ * Gets the value of the pages 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 pages property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPages().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PageRW }
+ *
+ *
+ */
+ public synchronized List<PageRW> getPages() {
+ if (pages == null) {
+ pages = new CopyOnWriteArrayList<PageRW>();
+ }
+ return this.pages;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PollRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PollRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PollRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,98 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+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 one poll.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "poll", propOrder = {
+ "question",
+ "answer"
+})
+public class PollRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(required = true)
+ protected String question;
+ @XmlElement(required = true)
+ protected List<String> answer = new CopyOnWriteArrayList<String>();
+
+ /**
+ * Gets the value of the question property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getQuestion() {
+ return question;
+ }
+
+ /**
+ * Sets the value of the question property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setQuestion(String value) {
+ this.question = value;
+ }
+
+ /**
+ * Gets 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.
+ *
+ * <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 synchronized List<String> getAnswer() {
+ if (answer == null) {
+ answer = new CopyOnWriteArrayList<String>();
+ }
+ return this.answer;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PollsRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PollsRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PollsRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,71 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+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 polls.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "polls", propOrder = {
+ "polls"
+})
+public class PollsRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(name = "poll")
+ protected List<PollRW> polls = new CopyOnWriteArrayList<PollRW>();
+
+ /**
+ * Gets the value of the polls 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 polls property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPolls().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PollRW }
+ *
+ *
+ */
+ public synchronized List<PollRW> getPolls() {
+ if (polls == null) {
+ polls = new CopyOnWriteArrayList<PollRW>();
+ }
+ return this.polls;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PortletRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PortletRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PortletRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,150 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Class for keeping information about one of projects' portlets.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "portlet", propOrder = {
+ "preferences"
+})
+public class PortletRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(name = "preference")
+ protected List<PreferenceRW> preferences = new CopyOnWriteArrayList<PreferenceRW>();
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute(required = true)
+ protected String region;
+ @XmlAttribute(required = true)
+ protected String height;
+
+ /**
+ * Gets the value of the preferences 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 preferences property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPreferences().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PreferenceRW }
+ *
+ *
+ */
+ public synchronized List<PreferenceRW> getPreferences() {
+ if (preferences == null) {
+ preferences = new CopyOnWriteArrayList<PreferenceRW>();
+ }
+ return this.preferences;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the region property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getRegion() {
+ return region;
+ }
+
+ /**
+ * Sets the value of the region property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setRegion(String value) {
+ this.region = value;
+ }
+
+ /**
+ * Gets the value of the height property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getHeight() {
+ return height;
+ }
+
+ /**
+ * Sets the value of the height property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setHeight(String value) {
+ this.height = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PreferenceRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PreferenceRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/PreferenceRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,91 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+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 one of portlets' preferences.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "preference", propOrder = {
+ "name",
+ "value"
+})
+public class PreferenceRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(required = true)
+ protected String value;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setValue(String value) {
+ this.value = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/ProjectRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/ProjectRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/ProjectRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,659 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * Root class describing whole project.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "id",
+ "name",
+ "companyName",
+ "logo",
+ "description",
+ "info",
+ "developers",
+ "jems",
+ "repoType",
+ "anonRepo",
+ "commmiterRepo",
+ "repoMonitor",
+ "issueTracker",
+ "buildResults",
+ "support",
+ "training",
+ "packagedForDownload",
+ "userForum",
+ "devForum",
+ "documentation",
+ "pages",
+ "downloads",
+ "polls"
+})
+ at XmlRootElement(name = "projectRW")
+public class ProjectRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlElement(required = true)
+ protected String id;
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(name = "company-name")
+ protected String companyName;
+ protected String logo;
+ protected String description;
+ protected String info;
+ protected DevelopersRW developers;
+ protected List<String> jems = new CopyOnWriteArrayList<String>();
+ @XmlElement(name = "repo-type")
+ protected RepoTypeRW repoType;
+ @XmlElement(name = "anon-repo")
+ protected String anonRepo;
+ @XmlElement(name = "commmiter-repo")
+ protected String commmiterRepo;
+ @XmlElement(name = "repo-monitor")
+ protected RepoMonitorRW repoMonitor;
+ @XmlElement(name = "issue-tracker")
+ protected IssueTrackerRW issueTracker;
+ @XmlElement(name = "build-results")
+ protected List<BuildResultRW> buildResults = new CopyOnWriteArrayList<BuildResultRW>();
+ protected String support;
+ protected String training;
+ @XmlElement(name = "packaged-for-download", defaultValue = "false")
+ protected boolean packagedForDownload;
+ @XmlElement(name = "user-forum")
+ protected String userForum;
+ @XmlElement(name = "dev-forum")
+ protected String devForum;
+ protected List<DocumentationRW> documentation = new CopyOnWriteArrayList<DocumentationRW>();
+ @XmlElement(required = true)
+ protected PagesRW pages;
+ protected DownloadsRW downloads;
+ protected PollsRW polls;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the companyName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getCompanyName() {
+ return companyName;
+ }
+
+ /**
+ * Sets the value of the companyName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setCompanyName(String value) {
+ this.companyName = value;
+ }
+
+ /**
+ * Gets the value of the logo property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getLogo() {
+ return logo;
+ }
+
+ /**
+ * Sets the value of the logo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setLogo(String value) {
+ this.logo = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the info property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getInfo() {
+ return info;
+ }
+
+ /**
+ * Sets the value of the info property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setInfo(String value) {
+ this.info = value;
+ }
+
+ /**
+ * Gets the value of the developers property.
+ *
+ * @return
+ * possible object is
+ * {@link DevelopersRW }
+ *
+ */
+ public synchronized DevelopersRW getDevelopers() {
+ return developers;
+ }
+
+ /**
+ * Sets the value of the developers property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DevelopersRW }
+ *
+ */
+ public synchronized void setDevelopers(DevelopersRW value) {
+ this.developers = value;
+ }
+
+ /**
+ * Gets the value of the jems 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 jems property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getJems().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public synchronized List<String> getJems() {
+ if (jems == null) {
+ jems = new CopyOnWriteArrayList<String>();
+ }
+ return this.jems;
+ }
+
+ /**
+ * Gets the value of the repoType property.
+ *
+ * @return
+ * possible object is
+ * {@link RepoTypeRW }
+ *
+ */
+ public synchronized RepoTypeRW getRepoType() {
+ return repoType;
+ }
+
+ /**
+ * Sets the value of the repoType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link RepoTypeRW }
+ *
+ */
+ public synchronized void setRepoType(RepoTypeRW value) {
+ this.repoType = value;
+ }
+
+ /**
+ * Gets the value of the anonRepo property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getAnonRepo() {
+ return anonRepo;
+ }
+
+ /**
+ * Sets the value of the anonRepo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setAnonRepo(String value) {
+ this.anonRepo = value;
+ }
+
+ /**
+ * Gets the value of the commmiterRepo property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getCommmiterRepo() {
+ return commmiterRepo;
+ }
+
+ /**
+ * Sets the value of the commmiterRepo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setCommmiterRepo(String value) {
+ this.commmiterRepo = value;
+ }
+
+ /**
+ * Gets the value of the repoMonitor property.
+ *
+ * @return
+ * possible object is
+ * {@link RepoMonitorRW }
+ *
+ */
+ public synchronized RepoMonitorRW getRepoMonitor() {
+ return repoMonitor;
+ }
+
+ /**
+ * Sets the value of the repoMonitor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link RepoMonitorRW }
+ *
+ */
+ public synchronized void setRepoMonitor(RepoMonitorRW value) {
+ this.repoMonitor = value;
+ }
+
+ /**
+ * Gets the value of the issueTracker property.
+ *
+ * @return
+ * possible object is
+ * {@link IssueTrackerRW }
+ *
+ */
+ public synchronized IssueTrackerRW getIssueTracker() {
+ return issueTracker;
+ }
+
+ /**
+ * Sets the value of the issueTracker property.
+ *
+ * @param value
+ * allowed object is
+ * {@link IssueTrackerRW }
+ *
+ */
+ public synchronized void setIssueTracker(IssueTrackerRW value) {
+ this.issueTracker = value;
+ }
+
+ /**
+ * Gets the value of the buildResults 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 buildResults property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getBuildResults().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link BuildResultRW }
+ *
+ *
+ */
+ public synchronized List<BuildResultRW> getBuildResults() {
+ if (buildResults == null) {
+ buildResults = new CopyOnWriteArrayList<BuildResultRW>();
+ }
+ return this.buildResults;
+ }
+
+ /**
+ * Gets the value of the support property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getSupport() {
+ return support;
+ }
+
+ /**
+ * Sets the value of the support property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setSupport(String value) {
+ this.support = value;
+ }
+
+ /**
+ * Gets the value of the training property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getTraining() {
+ return training;
+ }
+
+ /**
+ * Sets the value of the training property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setTraining(String value) {
+ this.training = value;
+ }
+
+ /**
+ * Gets the value of the packagedForDownload property.
+ *
+ */
+ public synchronized boolean isPackagedForDownload() {
+ return packagedForDownload;
+ }
+
+ /**
+ * Sets the value of the packagedForDownload property.
+ *
+ */
+ public synchronized void setPackagedForDownload(boolean value) {
+ this.packagedForDownload = value;
+ }
+
+ /**
+ * Gets the value of the userForum property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getUserForum() {
+ return userForum;
+ }
+
+ /**
+ * Sets the value of the userForum property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setUserForum(String value) {
+ this.userForum = value;
+ }
+
+ /**
+ * Gets the value of the devForum property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getDevForum() {
+ return devForum;
+ }
+
+ /**
+ * Sets the value of the devForum property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setDevForum(String value) {
+ this.devForum = value;
+ }
+
+ /**
+ * Gets the value of the documentation 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 documentation property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDocumentation().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DocumentationRW }
+ *
+ *
+ */
+ public synchronized List<DocumentationRW> getDocumentation() {
+ if (documentation == null) {
+ documentation = new CopyOnWriteArrayList<DocumentationRW>();
+ }
+ return this.documentation;
+ }
+
+ /**
+ * Gets the value of the pages property.
+ *
+ * @return
+ * possible object is
+ * {@link PagesRW }
+ *
+ */
+ public synchronized PagesRW getPages() {
+ return pages;
+ }
+
+ /**
+ * Sets the value of the pages property.
+ *
+ * @param value
+ * allowed object is
+ * {@link PagesRW }
+ *
+ */
+ public synchronized void setPages(PagesRW value) {
+ this.pages = value;
+ }
+
+ /**
+ * Gets the value of the downloads property.
+ *
+ * @return
+ * possible object is
+ * {@link DownloadsRW }
+ *
+ */
+ public synchronized DownloadsRW getDownloads() {
+ return downloads;
+ }
+
+ /**
+ * Sets the value of the downloads property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DownloadsRW }
+ *
+ */
+ public synchronized void setDownloads(DownloadsRW value) {
+ this.downloads = value;
+ }
+
+ /**
+ * Gets the value of the polls property.
+ *
+ * @return
+ * possible object is
+ * {@link PollsRW }
+ *
+ */
+ public synchronized PollsRW getPolls() {
+ return polls;
+ }
+
+ /**
+ * Sets the value of the polls property.
+ *
+ * @param value
+ * allowed object is
+ * {@link PollsRW }
+ *
+ */
+ public synchronized void setPolls(PollsRW value) {
+ this.polls = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/RepoMonitorRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/RepoMonitorRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/RepoMonitorRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,91 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ *
+ * Class for keeping information about project's repository monitor.
+ * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "repo-monitor", propOrder = {
+ "value"
+})
+public class RepoMonitorRW
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 1L;
+ @XmlValue
+ protected String value;
+ @XmlAttribute(required = true)
+ protected MonitorTypeRW type;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public synchronized String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public synchronized void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link MonitorTypeRW }
+ *
+ */
+ public synchronized MonitorTypeRW getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link MonitorTypeRW }
+ *
+ */
+ public synchronized void setType(MonitorTypeRW value) {
+ this.type = value;
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/RepoTypeRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/RepoTypeRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/RepoTypeRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,62 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ *
+ * Enum describing types of possbile repositories.
+ * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ * <p>Java class for RepoType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="RepoType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="svn"/>
+ * <enumeration value="cvs"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlEnum
+public enum RepoTypeRW {
+
+ @XmlEnumValue("svn")
+ SVN("svn"),
+ @XmlEnumValue("cvs")
+ CVS("cvs");
+ private final String value;
+
+ RepoTypeRW(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static RepoTypeRW fromValue(String v) {
+ for (RepoTypeRW c: RepoTypeRW.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/SortingRW.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/SortingRW.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/SortingRW.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,71 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+
+package org.jboss.forge.common.projects.project.rw;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ *
+ * Enum describing types of possbile sorting orders for downloads showing purposes.
+ * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
+ *
+ * <p>Java class for sorting.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="sorting">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="asc"/>
+ * <enumeration value="desc"/>
+ * <enumeration value="random"/>
+ * <enumeration value="ascending"/>
+ * <enumeration value="descending"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlEnum
+public enum SortingRW {
+
+ @XmlEnumValue("asc")
+ ASC("asc"),
+ @XmlEnumValue("desc")
+ DESC("desc"),
+ @XmlEnumValue("random")
+ RANDOM("random"),
+ @XmlEnumValue("ascending")
+ ASCENDING("ascending"),
+ @XmlEnumValue("descending")
+ DESCENDING("descending");
+ private final String value;
+
+ SortingRW(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static SortingRW fromValue(String v) {
+ for (SortingRW c: SortingRW.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/package-info.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/package-info.java (rev 0)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/rw/package-info.java 2007-02-15 12:19:55 UTC (rev 9523)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2007.02.15 at 01:09:37 PM CET
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://jboss.org", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.forge.common.projects.project.rw;
More information about the jboss-svn-commits
mailing list