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_info; 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#info}identity" maxOccurs="unbounded"/> 031 * <element ref="{http://jabber.org/protocol/disco#info}feature" maxOccurs="unbounded"/> 032 * </sequence> 033 * <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> 034 * </restriction> 035 * </complexContent> 036 * </complexType> 037 * </pre> 038 * 039 * 040 */ 041 @XmlAccessorType(XmlAccessType.FIELD) 042 @XmlType(name = "", propOrder = { 043 "identity", 044 "feature" 045 }) 046 @XmlRootElement(name = "query") 047 public class Query { 048 049 protected List<Identity> identity; 050 protected List<Feature> feature; 051 @XmlAttribute 052 protected String node; 053 054 /** 055 * Gets the value of the identity property. 056 * 057 * <p> 058 * This accessor method returns a reference to the live list, 059 * not a snapshot. Therefore any modification you make to the 060 * returned list will be present inside the JAXB object. 061 * This is why there is not a <CODE>set</CODE> method for the identity property. 062 * 063 * <p> 064 * For example, to add a new item, do as follows: 065 * <pre> 066 * getIdentity().add(newItem); 067 * </pre> 068 * 069 * 070 * <p> 071 * Objects of the following type(s) are allowed in the list 072 * {@link Identity } 073 * 074 * 075 */ 076 public List<Identity> getIdentity() { 077 if (identity == null) { 078 identity = new ArrayList<Identity>(); 079 } 080 return this.identity; 081 } 082 083 /** 084 * Gets the value of the feature property. 085 * 086 * <p> 087 * This accessor method returns a reference to the live list, 088 * not a snapshot. Therefore any modification you make to the 089 * returned list will be present inside the JAXB object. 090 * This is why there is not a <CODE>set</CODE> method for the feature property. 091 * 092 * <p> 093 * For example, to add a new item, do as follows: 094 * <pre> 095 * getFeature().add(newItem); 096 * </pre> 097 * 098 * 099 * <p> 100 * Objects of the following type(s) are allowed in the list 101 * {@link Feature } 102 * 103 * 104 */ 105 public List<Feature> getFeature() { 106 if (feature == null) { 107 feature = new ArrayList<Feature>(); 108 } 109 return this.feature; 110 } 111 112 /** 113 * Gets the value of the node property. 114 * 115 * @return 116 * possible object is 117 * {@link String } 118 * 119 */ 120 public String getNode() { 121 return node; 122 } 123 124 /** 125 * Sets the value of the node property. 126 * 127 * @param value 128 * allowed object is 129 * {@link String } 130 * 131 */ 132 public void setNode(String value) { 133 this.node = value; 134 } 135 136 }