001 //
002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs
003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004 // Any modifications to this file will be lost upon recompilation of the source schema.
005 // Generated on: 2008.10.21 at 09:24:54 AM EDT
006 //
007
008
009 package org.apache.geronimo.system.plugin.model;
010
011 import java.io.Serializable;
012 import java.util.ArrayList;
013 import java.util.List;
014 import javax.xml.bind.annotation.XmlAccessType;
015 import javax.xml.bind.annotation.XmlAccessorType;
016 import javax.xml.bind.annotation.XmlElement;
017 import javax.xml.bind.annotation.XmlType;
018
019
020 /**
021 * <p>Java class for plugin-listType complex type.
022 *
023 * <p>The following schema fragment specifies the expected content contained within this class.
024 *
025 * <pre>
026 * <complexType name="plugin-listType">
027 * <complexContent>
028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029 * <sequence>
030 * <element name="plugin" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}pluginType" maxOccurs="unbounded" minOccurs="0"/>
031 * <element name="default-repository" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
032 * </sequence>
033 * </restriction>
034 * </complexContent>
035 * </complexType>
036 * </pre>
037 *
038 *
039 */
040 @XmlAccessorType(XmlAccessType.FIELD)
041 @XmlType(name = "plugin-listType", propOrder = {
042 "plugin",
043 "defaultRepository"
044 })
045 public class PluginListType
046 implements Serializable
047 {
048
049 private final static long serialVersionUID = 12343L;
050 protected List<PluginType> plugin;
051 @XmlElement(name = "default-repository")
052 protected List<String> defaultRepository;
053
054 /**
055 * Gets the value of the plugin property.
056 *
057 * <p>
058 * This accessor method returns a reference to the live list,
059 * not a snapshot. Therefore any modification you make to the
060 * returned list will be present inside the JAXB object.
061 * This is why there is not a <CODE>set</CODE> method for the plugin property.
062 *
063 * <p>
064 * For example, to add a new item, do as follows:
065 * <pre>
066 * getPlugin().add(newItem);
067 * </pre>
068 *
069 *
070 * <p>
071 * Objects of the following type(s) are allowed in the list
072 * {@link PluginType }
073 *
074 *
075 */
076 public List<PluginType> getPlugin() {
077 if (plugin == null) {
078 plugin = new ArrayList<PluginType>();
079 }
080 return this.plugin;
081 }
082
083 /**
084 * Gets the value of the defaultRepository property.
085 *
086 * <p>
087 * This accessor method returns a reference to the live list,
088 * not a snapshot. Therefore any modification you make to the
089 * returned list will be present inside the JAXB object.
090 * This is why there is not a <CODE>set</CODE> method for the defaultRepository property.
091 *
092 * <p>
093 * For example, to add a new item, do as follows:
094 * <pre>
095 * getDefaultRepository().add(newItem);
096 * </pre>
097 *
098 *
099 * <p>
100 * Objects of the following type(s) are allowed in the list
101 * {@link String }
102 *
103 *
104 */
105 public List<String> getDefaultRepository() {
106 if (defaultRepository == null) {
107 defaultRepository = new ArrayList<String>();
108 }
109 return this.defaultRepository;
110 }
111
112 }