1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 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: 2011.03.13 at 04:01:06 PM MEZ 6 // 7 8 9 package ch.syabru.nagios.broker.xml; 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.XmlSchemaType; 17 import javax.xml.bind.annotation.XmlType; 18 19 20 /** 21 * <p>Java class for XmlJmxMBeanServer complex type. 22 * 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * 25 * <pre> 26 * <complexType name="XmlJmxMBeanServer"> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element name="jmxServiceUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> 31 * <element name="notification" type="{http://www.syabru.ch/nagios-msg-broker/1.0}XmlJmxNotification" maxOccurs="unbounded"/> 32 * </sequence> 33 * </restriction> 34 * </complexContent> 35 * </complexType> 36 * </pre> 37 * 38 * 39 */ 40 @XmlAccessorType(XmlAccessType.FIELD) 41 @XmlType(name = "XmlJmxMBeanServer", propOrder = { 42 "jmxServiceUrl", 43 "notification" 44 }) 45 public class XmlJmxMBeanServer { 46 47 @XmlElement(required = true) 48 @XmlSchemaType(name = "anyURI") 49 protected String jmxServiceUrl; 50 @XmlElement(required = true) 51 protected List<XmlJmxNotification> notification; 52 53 /** 54 * Gets the value of the jmxServiceUrl property. 55 * 56 * @return 57 * possible object is 58 * {@link String } 59 * 60 */ 61 public String getJmxServiceUrl() { 62 return jmxServiceUrl; 63 } 64 65 /** 66 * Sets the value of the jmxServiceUrl property. 67 * 68 * @param value 69 * allowed object is 70 * {@link String } 71 * 72 */ 73 public void setJmxServiceUrl(String value) { 74 this.jmxServiceUrl = value; 75 } 76 77 /** 78 * Gets the value of the notification property. 79 * 80 * <p> 81 * This accessor method returns a reference to the live list, 82 * not a snapshot. Therefore any modification you make to the 83 * returned list will be present inside the JAXB object. 84 * This is why there is not a <CODE>set</CODE> method for the notification property. 85 * 86 * <p> 87 * For example, to add a new item, do as follows: 88 * <pre> 89 * getNotification().add(newItem); 90 * </pre> 91 * 92 * 93 * <p> 94 * Objects of the following type(s) are allowed in the list 95 * {@link XmlJmxNotification } 96 * 97 * 98 */ 99 public List<XmlJmxNotification> getNotification() { 100 if (notification == null) { 101 notification = new ArrayList<XmlJmxNotification>(); 102 } 103 return this.notification; 104 } 105 106 }