1 /** 2 * This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 * 6 * If it is not possible or desirable to put the notice in a particular 7 * file, then You may include the notice in a location (such as a LICENSE 8 * file in a relevant directory) where a recipient would be likely to look 9 * for such a notice. 10 11 * 12 */ 13 14 /* --------------------------------------------------------------------------- 15 * U.S. Government, Department of the Army 16 * Army Materiel Command 17 * Research Development Engineering Command 18 * Communications Electronics Research Development and Engineering Center 19 * --------------------------------------------------------------------------- 20 */ 21 // 22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 23 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 24 // Any modifications to this file will be lost upon recompilation of the source schema. 25 // Generated on: 2012.08.30 at 12:37:46 PM EDT 26 // 27 28 29 package org.miloss.fgsms.auxsrv.status; 30 31 import java.util.ArrayList; 32 import java.util.List; 33 import javax.xml.bind.annotation.XmlAccessType; 34 import javax.xml.bind.annotation.XmlAccessorType; 35 import javax.xml.bind.annotation.XmlAttribute; 36 import javax.xml.bind.annotation.XmlElement; 37 import javax.xml.bind.annotation.XmlRootElement; 38 import javax.xml.bind.annotation.XmlType; 39 40 41 /** 42 * <p>Java class for anonymous complex type. 43 * 44 * <p>The following schema fragment specifies the expected content contained within this class. 45 * 46 * <pre> 47 * <complexType> 48 * <complexContent> 49 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 50 * <sequence> 51 * <element ref="{}trigger" maxOccurs="unbounded"/> 52 * </sequence> 53 * <attribute name=namecol use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 54 * </restriction> 55 * </complexContent> 56 * </complexType> 57 * </pre> 58 * 59 * 60 */ 61 @XmlAccessorType(XmlAccessType.FIELD) 62 @XmlType(name = "", propOrder = { 63 "trigger" 64 }) 65 @XmlRootElement(name = "triggerGroup") 66 public class TriggerGroup { 67 68 @XmlElement(required = true) 69 protected List<Trigger> trigger; 70 @XmlAttribute(required = true) 71 protected String name; 72 73 /** 74 * Gets the value of the trigger property. 75 * 76 * <p> 77 * This accessor method returns a reference to the live list, 78 * not a snapshot. Therefore any modification you make to the 79 * returned list will be present inside the JAXB object. 80 * This is why there is not a <CODE>set</CODE> method for the trigger property. 81 * 82 * <p> 83 * For example, to add a new item, do as follows: 84 * <pre> 85 * getTrigger().add(newItem); 86 * </pre> 87 * 88 * 89 * <p> 90 * Objects of the following type(s) are allowed in the list 91 * {@link Trigger } 92 * 93 * 94 */ 95 public List<Trigger> getTrigger() { 96 if (trigger == null) { 97 trigger = new ArrayList<Trigger>(); 98 } 99 return this.trigger; 100 } 101 102 /** 103 * Gets the value of the name property. 104 * 105 * @return 106 * possible object is 107 * {@link String } 108 * 109 */ 110 public String getName() { 111 return name; 112 } 113 114 /** 115 * Sets the value of the name property. 116 * 117 * @param value 118 * allowed object is 119 * {@link String } 120 * 121 */ 122 public void setName(String value) { 123 this.name = value; 124 } 125 126 }