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:16 PM CET 
6   //
7   
8   
9   package net.sf.snmpadaptor4j.core.mapping.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.XmlElement;
17  import javax.xml.bind.annotation.XmlType;
18  
19  
20  /**
21   * <p>Java class for TrapUserDataMap complex type.
22   * 
23   * <p>The following schema fragment specifies the expected content contained within this class.
24   * 
25   * <pre>
26   * &lt;complexType name="TrapUserDataMap">
27   *   &lt;complexContent>
28   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29   *       &lt;sequence>
30   *         &lt;element name="entry" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}TrapUserDataEntry" maxOccurs="unbounded"/>
31   *       &lt;/sequence>
32   *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
33   *     &lt;/restriction>
34   *   &lt;/complexContent>
35   * &lt;/complexType>
36   * </pre>
37   * 
38   * 
39   */
40  @XmlAccessorType(XmlAccessType.FIELD)
41  @XmlType(name = "TrapUserDataMap", propOrder = {
42      "entry"
43  })
44  public class TrapUserDataMap {
45  
46      @XmlElement(required = true)
47      protected List<TrapUserDataEntry> entry;
48      @XmlAttribute(required = true)
49      protected String name;
50  
51      /**
52       * Gets the value of the entry property.
53       * 
54       * <p>
55       * This accessor method returns a reference to the live list,
56       * not a snapshot. Therefore any modification you make to the
57       * returned list will be present inside the JAXB object.
58       * This is why there is not a <CODE>set</CODE> method for the entry property.
59       * 
60       * <p>
61       * For example, to add a new item, do as follows:
62       * <pre>
63       *    getEntry().add(newItem);
64       * </pre>
65       * 
66       * 
67       * <p>
68       * Objects of the following type(s) are allowed in the list
69       * {@link TrapUserDataEntry }
70       * 
71       * 
72       */
73      public List<TrapUserDataEntry> getEntry() {
74          if (entry == null) {
75              entry = new ArrayList<TrapUserDataEntry>();
76          }
77          return this.entry;
78      }
79  
80      /**
81       * Gets the value of the name property.
82       * 
83       * @return
84       *     possible object is
85       *     {@link String }
86       *     
87       */
88      public String getName() {
89          return name;
90      }
91  
92      /**
93       * Sets the value of the name property.
94       * 
95       * @param value
96       *     allowed object is
97       *     {@link String }
98       *     
99       */
100     public void setName(String value) {
101         this.name = value;
102     }
103 
104 }