[jboss-svn-commits] JBL Code SVN: r9514 - labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Feb 15 03:35:36 EST 2007
Author: unibrew
Date: 2007-02-15 03:35:36 -0500 (Thu, 15 Feb 2007)
New Revision: 9514
Removed:
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Forum.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/ForumType.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Repository.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/SupportService.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/SupportType.java
Modified:
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/BuildResult.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/BuildType.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Categories.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Category.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Developers.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Documentation.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/DocumentationType.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Downloads.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/File.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Files.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/IssueTracker.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/IssueTrackerType.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/MonitorType.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/ObjectFactory.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Page.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Pages.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Poll.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Polls.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Portlet.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Preference.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Project.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/RepoMonitor.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/RepoType.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Sorting.java
labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/package-info.java
Log:
[JBLAB-841] Adding classes which will be transformed to interfaces.
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/BuildResult.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/BuildResult.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/BuildResult.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/BuildType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/BuildType.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/BuildType.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import javax.xml.bind.annotation.XmlEnum;
@@ -70,7 +56,7 @@
return c;
}
}
- throw new IllegalArgumentException(v.toString());
+ throw new IllegalArgumentException(v);
}
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Categories.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Categories.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Categories.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,30 +1,16 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.List;
+import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
@@ -49,7 +35,7 @@
{
private final static long serialVersionUID = 1L;
- protected List<Category> category;
+ protected List<Category> category = new Vector<Category>();
/**
* Gets the value of the category property.
@@ -75,7 +61,7 @@
*/
public List<Category> getCategory() {
if (category == null) {
- category = new ArrayList<Category>();
+ category = new Vector<Category>();
}
return this.category;
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Category.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Category.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Category.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Developers.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Developers.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Developers.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,30 +1,16 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.List;
+import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@@ -54,7 +40,7 @@
@XmlElement(name = "lead-developer")
protected String leadDeveloper;
@XmlElement(name = "developer")
- protected List<String> developers;
+ protected List<String> developers = new Vector<String>();
/**
* Gets the value of the leadDeveloper property.
@@ -104,7 +90,7 @@
*/
public List<String> getDevelopers() {
if (developers == null) {
- developers = new ArrayList<String>();
+ developers = new Vector<String>();
}
return this.developers;
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Documentation.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Documentation.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Documentation.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/DocumentationType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/DocumentationType.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/DocumentationType.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import javax.xml.bind.annotation.XmlEnum;
@@ -81,7 +67,7 @@
return c;
}
}
- throw new IllegalArgumentException(v.toString());
+ throw new IllegalArgumentException(v);
}
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Downloads.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Downloads.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Downloads.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/File.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/File.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/File.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,30 +1,16 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.List;
+import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
@@ -66,7 +52,7 @@
protected String license;
protected String release;
protected String type;
- protected List<File.Button> button;
+ protected List<File.Button> button = new Vector<File.Button>();
@XmlAttribute
protected Boolean visible;
@@ -262,7 +248,7 @@
*/
public List<File.Button> getButton() {
if (button == null) {
- button = new ArrayList<File.Button>();
+ button = new Vector<File.Button>();
}
return this.button;
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Files.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Files.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Files.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,30 +1,16 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.List;
+import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
@@ -50,11 +36,11 @@
{
private final static long serialVersionUID = 1L;
- protected List<File> file;
+ protected List<File> file = new Vector<File>();
@XmlAttribute
- protected Sorting sorting;
- @XmlAttribute
protected Boolean visible;
+ @XmlAttribute
+ protected Sorting sorting;
/**
* Gets the value of the file property.
@@ -80,65 +66,65 @@
*/
public List<File> getFile() {
if (file == null) {
- file = new ArrayList<File>();
+ file = new Vector<File>();
}
return this.file;
}
/**
- * Gets the value of the sorting property.
+ * Gets the value of the visible property.
*
* @return
* possible object is
- * {@link Sorting }
+ * {@link Boolean }
*
*/
- public Sorting getSorting() {
- if (sorting == null) {
- return Sorting.RANDOM;
+ public boolean isVisible() {
+ if (visible == null) {
+ return true;
} else {
- return sorting;
+ return visible;
}
}
/**
- * Sets the value of the sorting property.
+ * Sets the value of the visible property.
*
* @param value
* allowed object is
- * {@link Sorting }
+ * {@link Boolean }
*
*/
- public void setSorting(Sorting value) {
- this.sorting = value;
+ public void setVisible(Boolean value) {
+ this.visible = value;
}
/**
- * Gets the value of the visible property.
+ * Gets the value of the sorting property.
*
* @return
* possible object is
- * {@link Boolean }
+ * {@link Sorting }
*
*/
- public boolean isVisible() {
- if (visible == null) {
- return true;
+ public Sorting getSorting() {
+ if (sorting == null) {
+ return Sorting.RANDOM;
} else {
- return visible;
+ return sorting;
}
}
/**
- * Sets the value of the visible property.
+ * Sets the value of the sorting property.
*
* @param value
* allowed object is
- * {@link Boolean }
+ * {@link Sorting }
*
*/
- public void setVisible(Boolean value) {
- this.visible = value;
+ public void setSorting(Sorting value) {
+ this.sorting = value;
}
}
Deleted: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Forum.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Forum.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Forum.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,105 +0,0 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.forge.common.projects.project;
-
-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 forums.
- * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
- * @author Ryszard Kozmik
- *
- *
- *
- *
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "forum", propOrder = {
- "value"
-})
-public class Forum
- implements Serializable
-{
-
- private final static long serialVersionUID = 1L;
- @XmlValue
- protected String value;
- @XmlAttribute(required = true)
- protected ForumType type;
-
- /**
- * Gets the value of the value property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setValue(String value) {
- this.value = value;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return
- * possible object is
- * {@link ForumType }
- *
- */
- public ForumType getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is
- * {@link ForumType }
- *
- */
- public void setType(ForumType value) {
- this.type = value;
- }
-
-}
Deleted: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/ForumType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/ForumType.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/ForumType.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,76 +0,0 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.forge.common.projects.project;
-
-import javax.xml.bind.annotation.XmlEnum;
-import javax.xml.bind.annotation.XmlEnumValue;
-
-
-/**
- *
- * Enum describing types of forums.
- * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
- * @author Ryszard Kozmik
- *
- *
- * <p>Java class for ForumType.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- * <p>
- * <pre>
- * <simpleType name="ForumType">
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="user"/>
- * <enumeration value="dev"/>
- * </restriction>
- * </simpleType>
- * </pre>
- *
- */
- at XmlEnum
-public enum ForumType {
-
- @XmlEnumValue("user")
- USER("user"),
- @XmlEnumValue("dev")
- DEV("dev");
- private final String value;
-
- ForumType(String v) {
- value = v;
- }
-
- public String value() {
- return value;
- }
-
- public static ForumType fromValue(String v) {
- for (ForumType c: ForumType.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v.toString());
- }
-
-}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/IssueTracker.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/IssueTracker.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/IssueTracker.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/IssueTrackerType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/IssueTrackerType.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/IssueTrackerType.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import javax.xml.bind.annotation.XmlEnum;
@@ -70,7 +56,7 @@
return c;
}
}
- throw new IllegalArgumentException(v.toString());
+ throw new IllegalArgumentException(v);
}
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/MonitorType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/MonitorType.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/MonitorType.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import javax.xml.bind.annotation.XmlEnum;
@@ -70,7 +56,7 @@
return c;
}
}
- throw new IllegalArgumentException(v.toString());
+ throw new IllegalArgumentException(v);
}
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/ObjectFactory.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/ObjectFactory.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/ObjectFactory.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import javax.xml.bind.annotation.XmlRegistry;
@@ -51,27 +37,27 @@
}
/**
- * Create an instance of {@link Portlet }
+ * Create an instance of {@link RepoMonitor }
*
*/
- public Portlet createPortlet() {
- return new Portlet();
+ public RepoMonitor createRepoMonitor() {
+ return new RepoMonitor();
}
/**
- * Create an instance of {@link Files }
+ * Create an instance of {@link Pages }
*
*/
- public Files createFiles() {
- return new Files();
+ public Pages createPages() {
+ return new Pages();
}
/**
- * Create an instance of {@link File.Button }
+ * Create an instance of {@link Category }
*
*/
- public File.Button createFileButton() {
- return new File.Button();
+ public Category createCategory() {
+ return new Category();
}
/**
@@ -83,11 +69,11 @@
}
/**
- * Create an instance of {@link IssueTracker }
+ * Create an instance of {@link Portlet }
*
*/
- public IssueTracker createIssueTracker() {
- return new IssueTracker();
+ public Portlet createPortlet() {
+ return new Portlet();
}
/**
@@ -99,27 +85,27 @@
}
/**
- * Create an instance of {@link Category }
+ * Create an instance of {@link Poll }
*
*/
- public Category createCategory() {
- return new Category();
+ public Poll createPoll() {
+ return new Poll();
}
/**
- * Create an instance of {@link Project }
+ * Create an instance of {@link Downloads }
*
*/
- public Project createProject() {
- return new Project();
+ public Downloads createDownloads() {
+ return new Downloads();
}
/**
- * Create an instance of {@link File }
+ * Create an instance of {@link Project }
*
*/
- public File createFile() {
- return new File();
+ public Project createProject() {
+ return new Project();
}
/**
@@ -131,78 +117,70 @@
}
/**
- * Create an instance of {@link Repository }
+ * Create an instance of {@link Categories }
*
*/
- public Repository createRepository() {
- return new Repository();
+ public Categories createCategories() {
+ return new Categories();
}
/**
- * Create an instance of {@link Pages }
+ * Create an instance of {@link File.Button }
*
*/
- public Pages createPages() {
- return new Pages();
+ public File.Button createFileButton() {
+ return new File.Button();
}
/**
- * Create an instance of {@link BuildResult }
+ * Create an instance of {@link IssueTracker }
*
*/
- public BuildResult createBuildResult() {
- return new BuildResult();
+ public IssueTracker createIssueTracker() {
+ return new IssueTracker();
}
/**
- * Create an instance of {@link SupportService }
+ * Create an instance of {@link Downloads.Counters }
*
*/
- public SupportService createSupportService() {
- return new SupportService();
+ public Downloads.Counters createDownloadsCounters() {
+ return new Downloads.Counters();
}
/**
- * Create an instance of {@link RepoMonitor }
+ * Create an instance of {@link Developers }
*
*/
- public RepoMonitor createRepoMonitor() {
- return new RepoMonitor();
+ public Developers createDevelopers() {
+ return new Developers();
}
/**
- * Create an instance of {@link Downloads }
+ * Create an instance of {@link Files }
*
*/
- public Downloads createDownloads() {
- return new Downloads();
+ public Files createFiles() {
+ return new Files();
}
/**
- * Create an instance of {@link Categories }
+ * Create an instance of {@link File }
*
*/
- public Categories createCategories() {
- return new Categories();
+ public File createFile() {
+ return new File();
}
/**
- * Create an instance of {@link Poll }
+ * Create an instance of {@link BuildResult }
*
*/
- public Poll createPoll() {
- return new Poll();
+ public BuildResult createBuildResult() {
+ return new BuildResult();
}
/**
- * Create an instance of {@link Forum }
- *
- */
- public Forum createForum() {
- return new Forum();
- }
-
- /**
* Create an instance of {@link Preference }
*
*/
@@ -210,20 +188,4 @@
return new Preference();
}
- /**
- * Create an instance of {@link Downloads.Counters }
- *
- */
- public Downloads.Counters createDownloadsCounters() {
- return new Downloads.Counters();
- }
-
- /**
- * Create an instance of {@link Developers }
- *
- */
- public Developers createDevelopers() {
- return new Developers();
- }
-
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Page.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Page.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Page.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,30 +1,16 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.List;
+import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
@@ -52,7 +38,7 @@
private final static long serialVersionUID = 1L;
@XmlElement(name = "portlet")
- protected List<Portlet> portlets;
+ protected List<Portlet> portlets = new Vector<Portlet>();
@XmlAttribute(required = true)
protected String name;
@@ -80,7 +66,7 @@
*/
public List<Portlet> getPortlets() {
if (portlets == null) {
- portlets = new ArrayList<Portlet>();
+ portlets = new Vector<Portlet>();
}
return this.portlets;
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Pages.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Pages.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Pages.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,30 +1,16 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.List;
+import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@@ -51,7 +37,7 @@
private final static long serialVersionUID = 1L;
@XmlElement(name = "page")
- protected List<Page> pages;
+ protected List<Page> pages = new Vector<Page>();
/**
* Gets the value of the pages property.
@@ -77,7 +63,7 @@
*/
public List<Page> getPages() {
if (pages == null) {
- pages = new ArrayList<Page>();
+ pages = new Vector<Page>();
}
return this.pages;
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Poll.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Poll.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Poll.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,30 +1,16 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.List;
+import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@@ -54,7 +40,7 @@
@XmlElement(required = true)
protected String question;
@XmlElement(required = true)
- protected List<String> answer;
+ protected List<String> answer = new Vector<String>();
/**
* Gets the value of the question property.
@@ -104,7 +90,7 @@
*/
public List<String> getAnswer() {
if (answer == null) {
- answer = new ArrayList<String>();
+ answer = new Vector<String>();
}
return this.answer;
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Polls.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Polls.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Polls.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,30 +1,16 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.List;
+import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@@ -51,7 +37,7 @@
private final static long serialVersionUID = 1L;
@XmlElement(name = "poll")
- protected List<Poll> polls;
+ protected List<Poll> polls = new Vector<Poll>();
/**
* Gets the value of the polls property.
@@ -77,7 +63,7 @@
*/
public List<Poll> getPolls() {
if (polls == null) {
- polls = new ArrayList<Poll>();
+ polls = new Vector<Poll>();
}
return this.polls;
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Portlet.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Portlet.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Portlet.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,30 +1,16 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.List;
+import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
@@ -52,13 +38,13 @@
private final static long serialVersionUID = 1L;
@XmlElement(name = "preference")
- protected List<Preference> preferences;
+ protected List<Preference> preferences = new Vector<Preference>();
@XmlAttribute(required = true)
- protected String height;
- @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.
@@ -84,81 +70,81 @@
*/
public List<Preference> getPreferences() {
if (preferences == null) {
- preferences = new ArrayList<Preference>();
+ preferences = new Vector<Preference>();
}
return this.preferences;
}
/**
- * Gets the value of the height property.
+ * Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
- public String getHeight() {
- return height;
+ public String getName() {
+ return name;
}
/**
- * Sets the value of the height property.
+ * Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
- public void setHeight(String value) {
- this.height = value;
+ public void setName(String value) {
+ this.name = value;
}
/**
- * Gets the value of the name property.
+ * Gets the value of the region property.
*
* @return
* possible object is
* {@link String }
*
*/
- public String getName() {
- return name;
+ public String getRegion() {
+ return region;
}
/**
- * Sets the value of the name property.
+ * Sets the value of the region property.
*
* @param value
* allowed object is
* {@link String }
*
*/
- public void setName(String value) {
- this.name = value;
+ public void setRegion(String value) {
+ this.region = value;
}
/**
- * Gets the value of the region property.
+ * Gets the value of the height property.
*
* @return
* possible object is
* {@link String }
*
*/
- public String getRegion() {
- return region;
+ public String getHeight() {
+ return height;
}
/**
- * Sets the value of the region property.
+ * Sets the value of the height property.
*
* @param value
* allowed object is
* {@link String }
*
*/
- public void setRegion(String value) {
- this.region = value;
+ public void setHeight(String value) {
+ this.height = value;
}
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Preference.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Preference.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Preference.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Project.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Project.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Project.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,30 +1,16 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.List;
+import java.util.Vector;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@@ -52,13 +38,17 @@
"info",
"developers",
"jems",
- "repositories",
- "repoMonitors",
- "issueTrackers",
+ "repoType",
+ "anonRepo",
+ "commmiterRepo",
+ "repoMonitor",
+ "issueTracker",
"buildResults",
- "supportServices",
+ "support",
+ "training",
"packagedForDownload",
- "forums",
+ "userForum",
+ "devForum",
"documentation",
"pages",
"downloads",
@@ -80,21 +70,28 @@
protected String description;
protected String info;
protected Developers developers;
- protected List<String> jems;
- @XmlElement(name = "repository")
- protected List<Repository> repositories;
+ protected List<String> jems = new Vector<String>();
+ @XmlElement(name = "repo-type")
+ protected RepoType repoType;
+ @XmlElement(name = "anon-repo")
+ protected String anonRepo;
+ @XmlElement(name = "commmiter-repo")
+ protected String commmiterRepo;
@XmlElement(name = "repo-monitor")
- protected List<RepoMonitor> repoMonitors;
+ protected RepoMonitor repoMonitor;
@XmlElement(name = "issue-tracker")
- protected List<IssueTracker> issueTrackers;
+ protected IssueTracker issueTracker;
@XmlElement(name = "build-results")
- protected List<BuildResult> buildResults;
- @XmlElement(name = "support-services")
- protected List<SupportService> supportServices;
+ protected List<BuildResult> buildResults = new Vector<BuildResult>();
+ protected String support;
+ protected String training;
@XmlElement(name = "packaged-for-download", defaultValue = "false")
protected boolean packagedForDownload;
- protected List<Forum> forums;
- protected List<Documentation> documentation;
+ @XmlElement(name = "user-forum")
+ protected String userForum;
+ @XmlElement(name = "dev-forum")
+ protected String devForum;
+ protected List<Documentation> documentation = new Vector<Documentation>();
@XmlElement(required = true)
protected Pages pages;
protected Downloads downloads;
@@ -292,96 +289,129 @@
*/
public List<String> getJems() {
if (jems == null) {
- jems = new ArrayList<String>();
+ jems = new Vector<String>();
}
return this.jems;
}
/**
- * Gets the value of the repositories property.
+ * Gets the value of the repoType 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 repositories property.
+ * @return
+ * possible object is
+ * {@link RepoType }
+ *
+ */
+ public RepoType getRepoType() {
+ return repoType;
+ }
+
+ /**
+ * Sets the value of the repoType property.
*
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getRepositories().add(newItem);
- * </pre>
+ * @param value
+ * allowed object is
+ * {@link RepoType }
+ *
+ */
+ public void setRepoType(RepoType value) {
+ this.repoType = value;
+ }
+
+ /**
+ * Gets the value of the anonRepo property.
*
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAnonRepo() {
+ return anonRepo;
+ }
+
+ /**
+ * Sets the value of the anonRepo property.
*
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link Repository }
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAnonRepo(String value) {
+ this.anonRepo = value;
+ }
+
+ /**
+ * Gets the value of the commmiterRepo property.
*
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCommmiterRepo() {
+ return commmiterRepo;
+ }
+
+ /**
+ * Sets the value of the commmiterRepo property.
*
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public List<Repository> getRepositories() {
- if (repositories == null) {
- repositories = new ArrayList<Repository>();
- }
- return this.repositories;
+ public void setCommmiterRepo(String value) {
+ this.commmiterRepo = value;
}
/**
- * Gets the value of the repoMonitors property.
+ * Gets the value of the repoMonitor property.
*
- * <p>
- * This accessor method returns a reference to the live list,
- * not a snapshot. Therefore any modification you make to the
- * returned list will be present inside the JAXB object.
- * This is why there is not a <CODE>set</CODE> method for the repoMonitors property.
+ * @return
+ * possible object is
+ * {@link RepoMonitor }
+ *
+ */
+ public RepoMonitor getRepoMonitor() {
+ return repoMonitor;
+ }
+
+ /**
+ * Sets the value of the repoMonitor property.
*
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getRepoMonitors().add(newItem);
- * </pre>
+ * @param value
+ * allowed object is
+ * {@link RepoMonitor }
+ *
+ */
+ public void setRepoMonitor(RepoMonitor value) {
+ this.repoMonitor = value;
+ }
+
+ /**
+ * Gets the value of the issueTracker property.
*
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link RepoMonitor }
- *
- *
+ * @return
+ * possible object is
+ * {@link IssueTracker }
+ *
*/
- public List<RepoMonitor> getRepoMonitors() {
- if (repoMonitors == null) {
- repoMonitors = new ArrayList<RepoMonitor>();
- }
- return this.repoMonitors;
+ public IssueTracker getIssueTracker() {
+ return issueTracker;
}
/**
- * Gets the value of the issueTrackers property.
+ * Sets the value of the issueTracker property.
*
- * <p>
- * This accessor method returns a reference to the live list,
- * not a snapshot. Therefore any modification you make to the
- * returned list will be present inside the JAXB object.
- * This is why there is not a <CODE>set</CODE> method for the issueTrackers property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getIssueTrackers().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link IssueTracker }
- *
- *
+ * @param value
+ * allowed object is
+ * {@link IssueTracker }
+ *
*/
- public List<IssueTracker> getIssueTrackers() {
- if (issueTrackers == null) {
- issueTrackers = new ArrayList<IssueTracker>();
- }
- return this.issueTrackers;
+ public void setIssueTracker(IssueTracker value) {
+ this.issueTracker = value;
}
/**
@@ -408,38 +438,57 @@
*/
public List<BuildResult> getBuildResults() {
if (buildResults == null) {
- buildResults = new ArrayList<BuildResult>();
+ buildResults = new Vector<BuildResult>();
}
return this.buildResults;
}
/**
- * Gets the value of the supportServices property.
+ * Gets the value of the support property.
*
- * <p>
- * This accessor method returns a reference to the live list,
- * not a snapshot. Therefore any modification you make to the
- * returned list will be present inside the JAXB object.
- * This is why there is not a <CODE>set</CODE> method for the supportServices property.
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSupport() {
+ return support;
+ }
+
+ /**
+ * Sets the value of the support property.
*
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getSupportServices().add(newItem);
- * </pre>
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSupport(String value) {
+ this.support = value;
+ }
+
+ /**
+ * Gets the value of the training property.
*
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTraining() {
+ return training;
+ }
+
+ /**
+ * Sets the value of the training property.
*
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link SupportService }
- *
- *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public List<SupportService> getSupportServices() {
- if (supportServices == null) {
- supportServices = new ArrayList<SupportService>();
- }
- return this.supportServices;
+ public void setTraining(String value) {
+ this.training = value;
}
/**
@@ -459,32 +508,51 @@
}
/**
- * Gets the value of the forums property.
+ * Gets the value of the userForum property.
*
- * <p>
- * This accessor method returns a reference to the live list,
- * not a snapshot. Therefore any modification you make to the
- * returned list will be present inside the JAXB object.
- * This is why there is not a <CODE>set</CODE> method for the forums property.
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUserForum() {
+ return userForum;
+ }
+
+ /**
+ * Sets the value of the userForum property.
*
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getForums().add(newItem);
- * </pre>
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUserForum(String value) {
+ this.userForum = value;
+ }
+
+ /**
+ * Gets the value of the devForum property.
*
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDevForum() {
+ return devForum;
+ }
+
+ /**
+ * Sets the value of the devForum property.
*
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link Forum }
- *
- *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public List<Forum> getForums() {
- if (forums == null) {
- forums = new ArrayList<Forum>();
- }
- return this.forums;
+ public void setDevForum(String value) {
+ this.devForum = value;
}
/**
@@ -511,7 +579,7 @@
*/
public List<Documentation> getDocumentation() {
if (documentation == null) {
- documentation = new ArrayList<Documentation>();
+ documentation = new Vector<Documentation>();
}
return this.documentation;
}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/RepoMonitor.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/RepoMonitor.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/RepoMonitor.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import java.io.Serializable;
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/RepoType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/RepoType.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/RepoType.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import javax.xml.bind.annotation.XmlEnum;
@@ -28,10 +14,10 @@
/**
*
- * Enum describing types of possbile repositories.
- * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
- * @author Ryszard Kozmik
- *
+ * Enum describing types of possbile repositories.
+ * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ * @author Ryszard Kozmik
+ *
*
* <p>Java class for RepoType.
*
@@ -42,8 +28,6 @@
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="svn"/>
* <enumeration value="cvs"/>
- * <enumeration value="anonsvn"/>
- * <enumeration value="anoncvs"/>
* </restriction>
* </simpleType>
* </pre>
@@ -55,11 +39,7 @@
@XmlEnumValue("svn")
SVN("svn"),
@XmlEnumValue("cvs")
- CVS("cvs"),
- @XmlEnumValue("anonsvn")
- ANONSVN("anonsvn"),
- @XmlEnumValue("anoncvs")
- ANONCVS("anoncvs");
+ CVS("cvs");
private final String value;
RepoType(String v) {
@@ -76,7 +56,7 @@
return c;
}
}
- throw new IllegalArgumentException(v.toString());
+ throw new IllegalArgumentException(v);
}
}
Deleted: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Repository.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Repository.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Repository.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,105 +0,0 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.forge.common.projects.project;
-
-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 type.
- * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
- * @author Ryszard Kozmik
- *
- *
- *
- *
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "repository", propOrder = {
- "value"
-})
-public class Repository
- implements Serializable
-{
-
- private final static long serialVersionUID = 1L;
- @XmlValue
- protected String value;
- @XmlAttribute(required = true)
- protected RepoType type;
-
- /**
- * Gets the value of the value property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setValue(String value) {
- this.value = value;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return
- * possible object is
- * {@link RepoType }
- *
- */
- public RepoType getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is
- * {@link RepoType }
- *
- */
- public void setType(RepoType value) {
- this.type = value;
- }
-
-}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Sorting.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Sorting.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/Sorting.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,25 +1,11 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
+
package org.jboss.forge.common.projects.project;
import javax.xml.bind.annotation.XmlEnum;
@@ -79,7 +65,7 @@
return c;
}
}
- throw new IllegalArgumentException(v.toString());
+ throw new IllegalArgumentException(v);
}
}
Deleted: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/SupportService.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/SupportService.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/SupportService.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,105 +0,0 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.forge.common.projects.project;
-
-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 support services provided by project.
- * PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
- * @author Ryszard Kozmik
- *
- *
- *
- *
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "support-service", propOrder = {
- "value"
-})
-public class SupportService
- implements Serializable
-{
-
- private final static long serialVersionUID = 1L;
- @XmlValue
- protected String value;
- @XmlAttribute(required = true)
- protected SupportType type;
-
- /**
- * Gets the value of the value property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getValue() {
- return value;
- }
-
- /**
- * Sets the value of the value property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setValue(String value) {
- this.value = value;
- }
-
- /**
- * Gets the value of the type property.
- *
- * @return
- * possible object is
- * {@link SupportType }
- *
- */
- public SupportType getType() {
- return type;
- }
-
- /**
- * Sets the value of the type property.
- *
- * @param value
- * allowed object is
- * {@link SupportType }
- *
- */
- public void setType(SupportType value) {
- this.type = value;
- }
-
-}
Deleted: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/SupportType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/SupportType.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/SupportType.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,76 +0,0 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.forge.common.projects.project;
-
-import javax.xml.bind.annotation.XmlEnum;
-import javax.xml.bind.annotation.XmlEnumValue;
-
-
-/**
- *
- * Enum describing types of possbile support services.
- * PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
- * @author Ryszard Kozmik
- *
- *
- * <p>Java class for SupportType.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- * <p>
- * <pre>
- * <simpleType name="SupportType">
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="support"/>
- * <enumeration value="training"/>
- * </restriction>
- * </simpleType>
- * </pre>
- *
- */
- at XmlEnum
-public enum SupportType {
-
- @XmlEnumValue("support")
- SUPPORT("support"),
- @XmlEnumValue("training")
- TRAINING("training");
- private final String value;
-
- SupportType(String v) {
- value = v;
- }
-
- public String value() {
- return value;
- }
-
- public static SupportType fromValue(String v) {
- for (SupportType c: SupportType.values()) {
- if (c.value.equals(v)) {
- return c;
- }
- }
- throw new IllegalArgumentException(v.toString());
- }
-
-}
Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/package-info.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/package-info.java 2007-02-15 05:44:55 UTC (rev 9513)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/project/package-info.java 2007-02-15 08:35:36 UTC (rev 9514)
@@ -1,24 +1,9 @@
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+//
+// 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 12:26:19 AM CET
+//
@javax.xml.bind.annotation.XmlSchema(namespace = "http://jboss.org", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package org.jboss.forge.common.projects.project;
More information about the jboss-svn-commits
mailing list