1 package org.fosstrak.epcis.model; 2 3 import java.util.ArrayList; 4 import java.util.List; 5 import javax.xml.bind.annotation.XmlAccessType; 6 import javax.xml.bind.annotation.XmlAccessorType; 7 import javax.xml.bind.annotation.XmlAnyElement; 8 import javax.xml.bind.annotation.XmlType; 9 import org.w3c.dom.Element; 10 11 /** 12 * <p> 13 * Java class for QuerySchedule complex type. 14 * <p> 15 * The following schema fragment specifies the expected content contained within 16 * this class. 17 * 18 * <pre> 19 * <complexType name="QuerySchedule"> 20 * <complexContent> 21 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 22 * <sequence> 23 * <element name="second" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 24 * <element name="minute" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 25 * <element name="hour" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 26 * <element name="dayOfMonth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 27 * <element name="month" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 28 * <element name="dayOfWeek" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 29 * <element name="extension" type="{urn:epcglobal:epcis-query:xsd:1}QueryScheduleExtensionType" minOccurs="0"/> 30 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 31 * </sequence> 32 * </restriction> 33 * </complexContent> 34 * </complexType> 35 * </pre> 36 */ 37 @XmlAccessorType(XmlAccessType.FIELD) 38 @XmlType(name = "QuerySchedule", propOrder = { 39 "second", "minute", "hour", "dayOfMonth", "month", "dayOfWeek", "extension", "any" }) 40 public class QuerySchedule { 41 42 protected String second; 43 protected String minute; 44 protected String hour; 45 protected String dayOfMonth; 46 protected String month; 47 protected String dayOfWeek; 48 protected QueryScheduleExtensionType extension; 49 @XmlAnyElement(lax = true) 50 protected List<Object> any; 51 52 /** 53 * Gets the value of the second property. 54 * 55 * @return possible object is {@link String } 56 */ 57 public String getSecond() { 58 return second; 59 } 60 61 /** 62 * Sets the value of the second property. 63 * 64 * @param value 65 * allowed object is {@link String } 66 */ 67 public void setSecond(String value) { 68 this.second = value; 69 } 70 71 /** 72 * Gets the value of the minute property. 73 * 74 * @return possible object is {@link String } 75 */ 76 public String getMinute() { 77 return minute; 78 } 79 80 /** 81 * Sets the value of the minute property. 82 * 83 * @param value 84 * allowed object is {@link String } 85 */ 86 public void setMinute(String value) { 87 this.minute = value; 88 } 89 90 /** 91 * Gets the value of the hour property. 92 * 93 * @return possible object is {@link String } 94 */ 95 public String getHour() { 96 return hour; 97 } 98 99 /** 100 * Sets the value of the hour property. 101 * 102 * @param value 103 * allowed object is {@link String } 104 */ 105 public void setHour(String value) { 106 this.hour = value; 107 } 108 109 /** 110 * Gets the value of the dayOfMonth property. 111 * 112 * @return possible object is {@link String } 113 */ 114 public String getDayOfMonth() { 115 return dayOfMonth; 116 } 117 118 /** 119 * Sets the value of the dayOfMonth property. 120 * 121 * @param value 122 * allowed object is {@link String } 123 */ 124 public void setDayOfMonth(String value) { 125 this.dayOfMonth = value; 126 } 127 128 /** 129 * Gets the value of the month property. 130 * 131 * @return possible object is {@link String } 132 */ 133 public String getMonth() { 134 return month; 135 } 136 137 /** 138 * Sets the value of the month property. 139 * 140 * @param value 141 * allowed object is {@link String } 142 */ 143 public void setMonth(String value) { 144 this.month = value; 145 } 146 147 /** 148 * Gets the value of the dayOfWeek property. 149 * 150 * @return possible object is {@link String } 151 */ 152 public String getDayOfWeek() { 153 return dayOfWeek; 154 } 155 156 /** 157 * Sets the value of the dayOfWeek property. 158 * 159 * @param value 160 * allowed object is {@link String } 161 */ 162 public void setDayOfWeek(String value) { 163 this.dayOfWeek = value; 164 } 165 166 /** 167 * Gets the value of the extension property. 168 * 169 * @return possible object is {@link QueryScheduleExtensionType } 170 */ 171 public QueryScheduleExtensionType getExtension() { 172 return extension; 173 } 174 175 /** 176 * Sets the value of the extension property. 177 * 178 * @param value 179 * allowed object is {@link QueryScheduleExtensionType } 180 */ 181 public void setExtension(QueryScheduleExtensionType value) { 182 this.extension = value; 183 } 184 185 /** 186 * Gets the value of the any property. 187 * <p> 188 * This accessor method returns a reference to the live list, not a 189 * snapshot. Therefore any modification you make to the returned list will 190 * be present inside the JAXB object. This is why there is not a 191 * <CODE>set</CODE> method for the any property. 192 * <p> 193 * For example, to add a new item, do as follows: 194 * 195 * <pre> 196 * getAny().add(newItem); 197 * </pre> 198 * <p> 199 * Objects of the following type(s) are allowed in the list {@link Element } 200 * {@link Object } 201 */ 202 public List<Object> getAny() { 203 if (any == null) { 204 any = new ArrayList<Object>(); 205 } 206 return this.any; 207 } 208 209 }