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 org.jabber.protocol.disco_items; 010 011 import javax.xml.bind.annotation.XmlAccessType; 012 import javax.xml.bind.annotation.XmlAccessorType; 013 import javax.xml.bind.annotation.XmlAttribute; 014 import javax.xml.bind.annotation.XmlRootElement; 015 import javax.xml.bind.annotation.XmlType; 016 import javax.xml.bind.annotation.XmlValue; 017 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 018 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 019 020 021 /** 022 * <p>Java class for anonymous complex type. 023 * 024 * <p>The following schema fragment specifies the expected content contained within this class. 025 * 026 * <pre> 027 * <complexType> 028 * <simpleContent> 029 * <extension base="<http://jabber.org/protocol/disco#items>empty"> 030 * <attribute name="action"> 031 * <simpleType> 032 * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> 033 * <enumeration value="remove"/> 034 * <enumeration value="update"/> 035 * </restriction> 036 * </simpleType> 037 * </attribute> 038 * <attribute name="jid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 039 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 040 * <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" /> 041 * </extension> 042 * </simpleContent> 043 * </complexType> 044 * </pre> 045 * 046 * 047 */ 048 @XmlAccessorType(XmlAccessType.FIELD) 049 @XmlType(name = "", propOrder = { 050 "value" 051 }) 052 @XmlRootElement(name = "item") 053 public class Item { 054 055 @XmlValue 056 protected String value; 057 @XmlAttribute 058 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 059 protected String action; 060 @XmlAttribute(required = true) 061 protected String jid; 062 @XmlAttribute 063 protected String name; 064 @XmlAttribute 065 protected String node; 066 067 /** 068 * Gets the value of the value property. 069 * 070 * @return 071 * possible object is 072 * {@link String } 073 * 074 */ 075 public String getValue() { 076 return value; 077 } 078 079 /** 080 * Sets the value of the value property. 081 * 082 * @param value 083 * allowed object is 084 * {@link String } 085 * 086 */ 087 public void setValue(String value) { 088 this.value = value; 089 } 090 091 /** 092 * Gets the value of the action property. 093 * 094 * @return 095 * possible object is 096 * {@link String } 097 * 098 */ 099 public String getAction() { 100 return action; 101 } 102 103 /** 104 * Sets the value of the action property. 105 * 106 * @param value 107 * allowed object is 108 * {@link String } 109 * 110 */ 111 public void setAction(String value) { 112 this.action = value; 113 } 114 115 /** 116 * Gets the value of the jid property. 117 * 118 * @return 119 * possible object is 120 * {@link String } 121 * 122 */ 123 public String getJid() { 124 return jid; 125 } 126 127 /** 128 * Sets the value of the jid property. 129 * 130 * @param value 131 * allowed object is 132 * {@link String } 133 * 134 */ 135 public void setJid(String value) { 136 this.jid = value; 137 } 138 139 /** 140 * Gets the value of the name property. 141 * 142 * @return 143 * possible object is 144 * {@link String } 145 * 146 */ 147 public String getName() { 148 return name; 149 } 150 151 /** 152 * Sets the value of the name property. 153 * 154 * @param value 155 * allowed object is 156 * {@link String } 157 * 158 */ 159 public void setName(String value) { 160 this.name = value; 161 } 162 163 /** 164 * Gets the value of the node property. 165 * 166 * @return 167 * possible object is 168 * {@link String } 169 * 170 */ 171 public String getNode() { 172 return node; 173 } 174 175 /** 176 * Sets the value of the node property. 177 * 178 * @param value 179 * allowed object is 180 * {@link String } 181 * 182 */ 183 public void setNode(String value) { 184 this.node = value; 185 } 186 187 }