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.XmlElements; 17 import javax.xml.bind.annotation.XmlType; 18 19 20 /** 21 * <p>Java class for XmlActions complex type. 22 * 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * 25 * <pre> 26 * <complexType name="XmlActions"> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <choice maxOccurs="unbounded"> 30 * <element name="processServiceCheckResult" type="{http://www.syabru.ch/nagios-msg-broker/1.0}XmlActionProcessServiceCheckResult"/> 31 * <element name="scheduleServiceCheck" type="{http://www.syabru.ch/nagios-msg-broker/1.0}XmlActionScheduleServiceCheck"/> 32 * <element name="scheduleForcedServiceCheck" type="{http://www.syabru.ch/nagios-msg-broker/1.0}XmlActionScheduleForcedServiceCheck"/> 33 * </choice> 34 * </restriction> 35 * </complexContent> 36 * </complexType> 37 * </pre> 38 * 39 * 40 */ 41 @XmlAccessorType(XmlAccessType.FIELD) 42 @XmlType(name = "XmlActions", propOrder = { 43 "xmlAction" 44 }) 45 public class XmlActions { 46 47 @XmlElements({ 48 @XmlElement(name = "processServiceCheckResult", type = XmlActionProcessServiceCheckResult.class), 49 @XmlElement(name = "scheduleForcedServiceCheck", type = XmlActionScheduleForcedServiceCheck.class), 50 @XmlElement(name = "scheduleServiceCheck", type = XmlActionScheduleServiceCheck.class) 51 }) 52 protected List<Object> xmlAction; 53 54 /** 55 * Gets the value of the xmlAction property. 56 * 57 * <p> 58 * This accessor method returns a reference to the live list, 59 * not a snapshot. Therefore any modification you make to the 60 * returned list will be present inside the JAXB object. 61 * This is why there is not a <CODE>set</CODE> method for the xmlAction property. 62 * 63 * <p> 64 * For example, to add a new item, do as follows: 65 * <pre> 66 * getXmlAction().add(newItem); 67 * </pre> 68 * 69 * 70 * <p> 71 * Objects of the following type(s) are allowed in the list 72 * {@link XmlActionProcessServiceCheckResult } 73 * {@link XmlActionScheduleForcedServiceCheck } 74 * {@link XmlActionScheduleServiceCheck } 75 * 76 * 77 */ 78 public List<Object> getXmlAction() { 79 if (xmlAction == null) { 80 xmlAction = new ArrayList<Object>(); 81 } 82 return this.xmlAction; 83 } 84 85 }