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.16 at 07:37:02 PM EST 006 // 007 008 009 package jabber.iq.roster; 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.XmlRootElement; 016 import javax.xml.bind.annotation.XmlType; 017 018 019 /** 020 * <p>Java class for anonymous complex type. 021 * 022 * <p>The following schema fragment specifies the expected content contained within this class. 023 * 024 * <pre> 025 * <complexType> 026 * <complexContent> 027 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 028 * <sequence> 029 * <element ref="{jabber:iq:roster}item" maxOccurs="unbounded" minOccurs="0"/> 030 * </sequence> 031 * </restriction> 032 * </complexContent> 033 * </complexType> 034 * </pre> 035 * 036 * 037 */ 038 @XmlAccessorType(XmlAccessType.FIELD) 039 @XmlType(name = "", propOrder = { 040 "item" 041 }) 042 @XmlRootElement(name = "query") 043 public class Query { 044 045 protected List<Item> item; 046 047 /** 048 * Gets the value of the item property. 049 * 050 * <p> 051 * This accessor method returns a reference to the live list, 052 * not a snapshot. Therefore any modification you make to the 053 * returned list will be present inside the JAXB object. 054 * This is why there is not a <CODE>set</CODE> method for the item property. 055 * 056 * <p> 057 * For example, to add a new item, do as follows: 058 * <pre> 059 * getItem().add(newItem); 060 * </pre> 061 * 062 * 063 * <p> 064 * Objects of the following type(s) are allowed in the list 065 * {@link Item } 066 * 067 * 068 */ 069 public List<Item> getItem() { 070 if (item == null) { 071 item = new ArrayList<Item>(); 072 } 073 return this.item; 074 } 075 076 }