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.XmlElement;
16  import javax.xml.bind.annotation.XmlType;
17  
18  
19  /**
20   * <p>Java class for MBeanNotifications complex type.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;complexType name="MBeanNotifications">
26   *   &lt;complexContent>
27   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28   *       &lt;sequence>
29   *         &lt;element name="enterprise" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}TrapEnterprise" maxOccurs="unbounded"/>
30   *         &lt;element name="variable-bindings" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}TrapVariableBindings" minOccurs="0"/>
31   *       &lt;/sequence>
32   *     &lt;/restriction>
33   *   &lt;/complexContent>
34   * &lt;/complexType>
35   * </pre>
36   * 
37   * 
38   */
39  @XmlAccessorType(XmlAccessType.FIELD)
40  @XmlType(name = "MBeanNotifications", propOrder = {
41      "enterprise",
42      "variableBindings"
43  })
44  public class MBeanNotifications {
45  
46      @XmlElement(required = true)
47      protected List<TrapEnterprise> enterprise;
48      @XmlElement(name = "variable-bindings")
49      protected TrapVariableBindings variableBindings;
50  
51      /**
52       * Gets the value of the enterprise 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 enterprise property.
59       * 
60       * <p>
61       * For example, to add a new item, do as follows:
62       * <pre>
63       *    getEnterprise().add(newItem);
64       * </pre>
65       * 
66       * 
67       * <p>
68       * Objects of the following type(s) are allowed in the list
69       * {@link TrapEnterprise }
70       * 
71       * 
72       */
73      public List<TrapEnterprise> getEnterprise() {
74          if (enterprise == null) {
75              enterprise = new ArrayList<TrapEnterprise>();
76          }
77          return this.enterprise;
78      }
79  
80      /**
81       * Gets the value of the variableBindings property.
82       * 
83       * @return
84       *     possible object is
85       *     {@link TrapVariableBindings }
86       *     
87       */
88      public TrapVariableBindings getVariableBindings() {
89          return variableBindings;
90      }
91  
92      /**
93       * Sets the value of the variableBindings property.
94       * 
95       * @param value
96       *     allowed object is
97       *     {@link TrapVariableBindings }
98       *     
99       */
100     public void setVariableBindings(TrapVariableBindings value) {
101         this.variableBindings = value;
102     }
103 
104 }