View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
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: 2007.09.26 at 09:37:45 PM IST 
6   //
7   
8   
9   package org.xmlhammer.model.project;
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.XmlAttribute;
16  import javax.xml.bind.annotation.XmlElement;
17  import javax.xml.bind.annotation.XmlElements;
18  import javax.xml.bind.annotation.XmlRootElement;
19  import javax.xml.bind.annotation.XmlType;
20  import javax.xml.datatype.XMLGregorianCalendar;
21  
22  
23  /***
24   * <p>Java class for output element declaration.
25   * 
26   * <p>The following schema fragment specifies the expected content contained within this class.
27   * 
28   * <pre>
29   * &lt;element name="output">
30   *   &lt;complexType>
31   *     &lt;complexContent>
32   *       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33   *         &lt;sequence>
34   *           &lt;element ref="{http://www.xmlhammer.org/2007/project}warning" maxOccurs="unbounded" minOccurs="0"/>
35   *           &lt;element ref="{http://www.xmlhammer.org/2007/project}error" maxOccurs="unbounded" minOccurs="0"/>
36   *           &lt;element ref="{http://www.xmlhammer.org/2007/project}fatal" maxOccurs="unbounded" minOccurs="0"/>
37   *           &lt;element ref="{http://www.xmlhammer.org/2007/project}valid" minOccurs="0"/>
38   *           &lt;sequence maxOccurs="unbounded" minOccurs="0">
39   *             &lt;choice>
40   *               &lt;element ref="{http://www.xmlhammer.org/2007/project}element"/>
41   *               &lt;element ref="{http://www.xmlhammer.org/2007/project}attribute"/>
42   *               &lt;element ref="{http://www.xmlhammer.org/2007/project}text"/>
43   *               &lt;element ref="{http://www.xmlhammer.org/2007/project}comment"/>
44   *               &lt;element ref="{http://www.xmlhammer.org/2007/project}processingInstruction"/>
45   *               &lt;element ref="{http://www.xmlhammer.org/2007/project}boolean"/>
46   *               &lt;element ref="{http://www.xmlhammer.org/2007/project}number"/>
47   *               &lt;element ref="{http://www.xmlhammer.org/2007/project}string"/>
48   *               &lt;element ref="{http://www.xmlhammer.org/2007/project}object"/>
49   *             &lt;/choice>
50   *           &lt;/sequence>
51   *           &lt;element ref="{http://www.xmlhammer.org/2007/project}message" maxOccurs="unbounded" minOccurs="0"/>
52   *         &lt;/sequence>
53   *         &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
54   *         &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
55   *       &lt;/restriction>
56   *     &lt;/complexContent>
57   *   &lt;/complexType>
58   * &lt;/element>
59   * </pre>
60   * 
61   * 
62   */
63  @XmlAccessorType(XmlAccessType.FIELD)
64  @XmlType(name = "", propOrder = {
65      "warning",
66      "error",
67      "fatal",
68      "valid",
69      "elementOrAttributeOrText",
70      "message"
71  })
72  @XmlRootElement(name = "output")
73  public class Output {
74  
75      @XmlElement(namespace = "http://www.xmlhammer.org/2007/project", required = true)
76      protected List<Warning> warning;
77      @XmlElement(namespace = "http://www.xmlhammer.org/2007/project", required = true)
78      protected List<Error> error;
79      @XmlElement(namespace = "http://www.xmlhammer.org/2007/project", required = true)
80      protected List<Fatal> fatal;
81      @XmlElement(namespace = "http://www.xmlhammer.org/2007/project")
82      protected Valid valid;
83      @XmlElements({
84          @XmlElement(name = "comment", namespace = "http://www.xmlhammer.org/2007/project", required = true, type = Comment.class),
85          @XmlElement(name = "attribute", namespace = "http://www.xmlhammer.org/2007/project", required = true, type = Attribute.class),
86          @XmlElement(name = "element", namespace = "http://www.xmlhammer.org/2007/project", required = true, type = Element.class),
87          @XmlElement(name = "number", namespace = "http://www.xmlhammer.org/2007/project", required = true, type = Number.class),
88          @XmlElement(name = "string", namespace = "http://www.xmlhammer.org/2007/project", required = true, type = String.class),
89          @XmlElement(name = "processingInstruction", namespace = "http://www.xmlhammer.org/2007/project", required = true, type = ProcessingInstruction.class),
90          @XmlElement(name = "text", namespace = "http://www.xmlhammer.org/2007/project", required = true, type = Text.class),
91          @XmlElement(name = "object", namespace = "http://www.xmlhammer.org/2007/project", required = true, type = org.xmlhammer.model.project.Object.class),
92          @XmlElement(name = "boolean", namespace = "http://www.xmlhammer.org/2007/project", required = true, type = Boolean.class)
93      })
94      protected List<java.lang.Object> elementOrAttributeOrText;
95      @XmlElement(namespace = "http://www.xmlhammer.org/2007/project", required = true)
96      protected List<Message> message;
97      @XmlAttribute(required = true)
98      protected XMLGregorianCalendar end;
99      @XmlAttribute(required = true)
100     protected XMLGregorianCalendar start;
101 
102     /***
103      * Gets the value of the warning property.
104      * 
105      * <p>
106      * This accessor method returns a reference to the live list,
107      * not a snapshot. Therefore any modification you make to the
108      * returned list will be present inside the JAXB object.
109      * This is why there is not a <CODE>set</CODE> method for the warning property.
110      * 
111      * <p>
112      * For example, to add a new item, do as follows:
113      * <pre>
114      *    getWarning().add(newItem);
115      * </pre>
116      * 
117      * 
118      * <p>
119      * Objects of the following type(s) are allowed in the list
120      * {@link Warning }
121      * 
122      * 
123      */
124     public List<Warning> getWarning() {
125         if (warning == null) {
126             warning = new ArrayList<Warning>();
127         }
128         return this.warning;
129     }
130 
131     /***
132      * Gets the value of the error property.
133      * 
134      * <p>
135      * This accessor method returns a reference to the live list,
136      * not a snapshot. Therefore any modification you make to the
137      * returned list will be present inside the JAXB object.
138      * This is why there is not a <CODE>set</CODE> method for the error property.
139      * 
140      * <p>
141      * For example, to add a new item, do as follows:
142      * <pre>
143      *    getError().add(newItem);
144      * </pre>
145      * 
146      * 
147      * <p>
148      * Objects of the following type(s) are allowed in the list
149      * {@link Error }
150      * 
151      * 
152      */
153     public List<Error> getError() {
154         if (error == null) {
155             error = new ArrayList<Error>();
156         }
157         return this.error;
158     }
159 
160     /***
161      * Gets the value of the fatal property.
162      * 
163      * <p>
164      * This accessor method returns a reference to the live list,
165      * not a snapshot. Therefore any modification you make to the
166      * returned list will be present inside the JAXB object.
167      * This is why there is not a <CODE>set</CODE> method for the fatal property.
168      * 
169      * <p>
170      * For example, to add a new item, do as follows:
171      * <pre>
172      *    getFatal().add(newItem);
173      * </pre>
174      * 
175      * 
176      * <p>
177      * Objects of the following type(s) are allowed in the list
178      * {@link Fatal }
179      * 
180      * 
181      */
182     public List<Fatal> getFatal() {
183         if (fatal == null) {
184             fatal = new ArrayList<Fatal>();
185         }
186         return this.fatal;
187     }
188 
189     /***
190      * Gets the value of the valid property.
191      * 
192      * @return
193      *     possible object is
194      *     {@link Valid }
195      *     
196      */
197     public Valid getValid() {
198         return valid;
199     }
200 
201     /***
202      * Sets the value of the valid property.
203      * 
204      * @param value
205      *     allowed object is
206      *     {@link Valid }
207      *     
208      */
209     public void setValid(Valid value) {
210         this.valid = value;
211     }
212 
213     /***
214      * Gets the value of the elementOrAttributeOrText property.
215      * 
216      * <p>
217      * This accessor method returns a reference to the live list,
218      * not a snapshot. Therefore any modification you make to the
219      * returned list will be present inside the JAXB object.
220      * This is why there is not a <CODE>set</CODE> method for the elementOrAttributeOrText property.
221      * 
222      * <p>
223      * For example, to add a new item, do as follows:
224      * <pre>
225      *    getElementOrAttributeOrText().add(newItem);
226      * </pre>
227      * 
228      * 
229      * <p>
230      * Objects of the following type(s) are allowed in the list
231      * {@link Comment }
232      * {@link Attribute }
233      * {@link Element }
234      * {@link Number }
235      * {@link String }
236      * {@link ProcessingInstruction }
237      * {@link Text }
238      * {@link org.xmlhammer.model.project.Object }
239      * {@link Boolean }
240      * 
241      * 
242      */
243     public List<java.lang.Object> getElementOrAttributeOrText() {
244         if (elementOrAttributeOrText == null) {
245             elementOrAttributeOrText = new ArrayList<java.lang.Object>();
246         }
247         return this.elementOrAttributeOrText;
248     }
249 
250     /***
251      * Gets the value of the message property.
252      * 
253      * <p>
254      * This accessor method returns a reference to the live list,
255      * not a snapshot. Therefore any modification you make to the
256      * returned list will be present inside the JAXB object.
257      * This is why there is not a <CODE>set</CODE> method for the message property.
258      * 
259      * <p>
260      * For example, to add a new item, do as follows:
261      * <pre>
262      *    getMessage().add(newItem);
263      * </pre>
264      * 
265      * 
266      * <p>
267      * Objects of the following type(s) are allowed in the list
268      * {@link Message }
269      * 
270      * 
271      */
272     public List<Message> getMessage() {
273         if (message == null) {
274             message = new ArrayList<Message>();
275         }
276         return this.message;
277     }
278 
279     /***
280      * Gets the value of the end property.
281      * 
282      * @return
283      *     possible object is
284      *     {@link XMLGregorianCalendar }
285      *     
286      */
287     public XMLGregorianCalendar getEnd() {
288         return end;
289     }
290 
291     /***
292      * Sets the value of the end property.
293      * 
294      * @param value
295      *     allowed object is
296      *     {@link XMLGregorianCalendar }
297      *     
298      */
299     public void setEnd(XMLGregorianCalendar value) {
300         this.end = value;
301     }
302 
303     /***
304      * Gets the value of the start property.
305      * 
306      * @return
307      *     possible object is
308      *     {@link XMLGregorianCalendar }
309      *     
310      */
311     public XMLGregorianCalendar getStart() {
312         return start;
313     }
314 
315     /***
316      * Sets the value of the start property.
317      * 
318      * @param value
319      *     allowed object is
320      *     {@link XMLGregorianCalendar }
321      *     
322      */
323     public void setStart(XMLGregorianCalendar value) {
324         this.start = value;
325     }
326 
327 }