View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2013.02.13 at 08:27:17 PM CET 
6   //
7   
8   
9   package net.sf.snmpadaptor4j.config.jaxb;
10  
11  import java.util.ArrayList;
12  import java.util.List;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlAttribute;
16  import javax.xml.bind.annotation.XmlType;
17  
18  
19  /**
20   * <p>Java class for Roots complex type.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;complexType name="Roots">
26   *   &lt;complexContent>
27   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28   *       &lt;sequence>
29   *         &lt;element name="root" type="{http://www.sf.net/snmpAdaptor4j/config/1.1}Root" maxOccurs="unbounded" minOccurs="0"/>
30   *       &lt;/sequence>
31   *       &lt;attribute name="default" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
32   *     &lt;/restriction>
33   *   &lt;/complexContent>
34   * &lt;/complexType>
35   * </pre>
36   * 
37   * 
38   */
39  @XmlAccessorType(XmlAccessType.FIELD)
40  @XmlType(name = "Roots", propOrder = {
41      "root"
42  })
43  public class Roots {
44  
45      protected List<Root> root;
46      @XmlAttribute(name = "default", required = true)
47      protected String _default;
48  
49      /**
50       * Gets the value of the root property.
51       * 
52       * <p>
53       * This accessor method returns a reference to the live list,
54       * not a snapshot. Therefore any modification you make to the
55       * returned list will be present inside the JAXB object.
56       * This is why there is not a <CODE>set</CODE> method for the root property.
57       * 
58       * <p>
59       * For example, to add a new item, do as follows:
60       * <pre>
61       *    getRoot().add(newItem);
62       * </pre>
63       * 
64       * 
65       * <p>
66       * Objects of the following type(s) are allowed in the list
67       * {@link Root }
68       * 
69       * 
70       */
71      public List<Root> getRoot() {
72          if (root == null) {
73              root = new ArrayList<Root>();
74          }
75          return this.root;
76      }
77  
78      /**
79       * Gets the value of the default property.
80       * 
81       * @return
82       *     possible object is
83       *     {@link String }
84       *     
85       */
86      public String getDefault() {
87          return _default;
88      }
89  
90      /**
91       * Sets the value of the default property.
92       * 
93       * @param value
94       *     allowed object is
95       *     {@link String }
96       *     
97       */
98      public void setDefault(String value) {
99          this._default = value;
100     }
101 
102 }