001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2013.02.07 at 02:32:38 PM CET 
006    //
007    
008    
009    package org.jabber.protocol.disco_items;
010    
011    import java.util.ArrayList;
012    import java.util.List;
013    import javax.xml.bind.annotation.XmlAccessType;
014    import javax.xml.bind.annotation.XmlAccessorType;
015    import javax.xml.bind.annotation.XmlAttribute;
016    import javax.xml.bind.annotation.XmlRootElement;
017    import javax.xml.bind.annotation.XmlType;
018    
019    
020    /**
021     * <p>Java class for anonymous complex type.
022     * 
023     * <p>The following schema fragment specifies the expected content contained within this class.
024     * 
025     * <pre>
026     * &lt;complexType>
027     *   &lt;complexContent>
028     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029     *       &lt;sequence minOccurs="0">
030     *         &lt;element ref="{http://jabber.org/protocol/disco#items}item" maxOccurs="unbounded" minOccurs="0"/>
031     *       &lt;/sequence>
032     *       &lt;attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
033     *     &lt;/restriction>
034     *   &lt;/complexContent>
035     * &lt;/complexType>
036     * </pre>
037     * 
038     * 
039     */
040    @XmlAccessorType(XmlAccessType.FIELD)
041    @XmlType(name = "", propOrder = {
042        "item"
043    })
044    @XmlRootElement(name = "query")
045    public class Query {
046    
047        protected List<Item> item;
048        @XmlAttribute
049        protected String node;
050    
051        /**
052         * Gets the value of the item property.
053         * 
054         * <p>
055         * This accessor method returns a reference to the live list,
056         * not a snapshot. Therefore any modification you make to the
057         * returned list will be present inside the JAXB object.
058         * This is why there is not a <CODE>set</CODE> method for the item property.
059         * 
060         * <p>
061         * For example, to add a new item, do as follows:
062         * <pre>
063         *    getItem().add(newItem);
064         * </pre>
065         * 
066         * 
067         * <p>
068         * Objects of the following type(s) are allowed in the list
069         * {@link Item }
070         * 
071         * 
072         */
073        public List<Item> getItem() {
074            if (item == null) {
075                item = new ArrayList<Item>();
076            }
077            return this.item;
078        }
079    
080        /**
081         * Gets the value of the node property.
082         * 
083         * @return
084         *     possible object is
085         *     {@link String }
086         *     
087         */
088        public String getNode() {
089            return node;
090        }
091    
092        /**
093         * Sets the value of the node property.
094         * 
095         * @param value
096         *     allowed object is
097         *     {@link String }
098         *     
099         */
100        public void setNode(String value) {
101            this.node = value;
102        }
103    
104    }