001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 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: 2011.11.18 at 02:23:57 PM EST 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 * <complexType> 027 * <complexContent> 028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 029 * <sequence minOccurs="0"> 030 * <element ref="{http://jabber.org/protocol/disco#items}item" maxOccurs="unbounded" minOccurs="0"/> 031 * </sequence> 032 * <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> 033 * </restriction> 034 * </complexContent> 035 * </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 }