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.muc_user; 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.XmlElement; 015 import javax.xml.bind.annotation.XmlRootElement; 016 import javax.xml.bind.annotation.XmlType; 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 * <complexContent> 029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 030 * <sequence> 031 * <element ref="{http://jabber.org/protocol/muc#user}actor" minOccurs="0"/> 032 * <element ref="{http://jabber.org/protocol/muc#user}reason" minOccurs="0"/> 033 * <element name="continue" type="{http://jabber.org/protocol/muc#user}empty" minOccurs="0"/> 034 * </sequence> 035 * <attribute name="affiliation"> 036 * <simpleType> 037 * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> 038 * <enumeration value="admin"/> 039 * <enumeration value="member"/> 040 * <enumeration value="none"/> 041 * <enumeration value="outcast"/> 042 * <enumeration value="owner"/> 043 * </restriction> 044 * </simpleType> 045 * </attribute> 046 * <attribute name="jid" type="{http://www.w3.org/2001/XMLSchema}string" /> 047 * <attribute name="nick" type="{http://www.w3.org/2001/XMLSchema}string" /> 048 * <attribute name="role"> 049 * <simpleType> 050 * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> 051 * <enumeration value="moderator"/> 052 * <enumeration value="none"/> 053 * <enumeration value="participant"/> 054 * <enumeration value="visitor"/> 055 * </restriction> 056 * </simpleType> 057 * </attribute> 058 * </restriction> 059 * </complexContent> 060 * </complexType> 061 * </pre> 062 * 063 * 064 */ 065 @XmlAccessorType(XmlAccessType.FIELD) 066 @XmlType(name = "", propOrder = { 067 "actor", 068 "reason", 069 "_continue" 070 }) 071 @XmlRootElement(name = "item") 072 public class Item { 073 074 protected Actor actor; 075 protected String reason; 076 @XmlElement(name = "continue") 077 protected String _continue; 078 @XmlAttribute 079 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 080 protected String affiliation; 081 @XmlAttribute 082 protected String jid; 083 @XmlAttribute 084 protected String nick; 085 @XmlAttribute 086 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 087 protected String role; 088 089 /** 090 * Gets the value of the actor property. 091 * 092 * @return 093 * possible object is 094 * {@link Actor } 095 * 096 */ 097 public Actor getActor() { 098 return actor; 099 } 100 101 /** 102 * Sets the value of the actor property. 103 * 104 * @param value 105 * allowed object is 106 * {@link Actor } 107 * 108 */ 109 public void setActor(Actor value) { 110 this.actor = value; 111 } 112 113 /** 114 * Gets the value of the reason property. 115 * 116 * @return 117 * possible object is 118 * {@link String } 119 * 120 */ 121 public String getReason() { 122 return reason; 123 } 124 125 /** 126 * Sets the value of the reason property. 127 * 128 * @param value 129 * allowed object is 130 * {@link String } 131 * 132 */ 133 public void setReason(String value) { 134 this.reason = value; 135 } 136 137 /** 138 * Gets the value of the continue property. 139 * 140 * @return 141 * possible object is 142 * {@link String } 143 * 144 */ 145 public String getContinue() { 146 return _continue; 147 } 148 149 /** 150 * Sets the value of the continue property. 151 * 152 * @param value 153 * allowed object is 154 * {@link String } 155 * 156 */ 157 public void setContinue(String value) { 158 this._continue = value; 159 } 160 161 /** 162 * Gets the value of the affiliation property. 163 * 164 * @return 165 * possible object is 166 * {@link String } 167 * 168 */ 169 public String getAffiliation() { 170 return affiliation; 171 } 172 173 /** 174 * Sets the value of the affiliation property. 175 * 176 * @param value 177 * allowed object is 178 * {@link String } 179 * 180 */ 181 public void setAffiliation(String value) { 182 this.affiliation = value; 183 } 184 185 /** 186 * Gets the value of the jid property. 187 * 188 * @return 189 * possible object is 190 * {@link String } 191 * 192 */ 193 public String getJid() { 194 return jid; 195 } 196 197 /** 198 * Sets the value of the jid property. 199 * 200 * @param value 201 * allowed object is 202 * {@link String } 203 * 204 */ 205 public void setJid(String value) { 206 this.jid = value; 207 } 208 209 /** 210 * Gets the value of the nick property. 211 * 212 * @return 213 * possible object is 214 * {@link String } 215 * 216 */ 217 public String getNick() { 218 return nick; 219 } 220 221 /** 222 * Sets the value of the nick property. 223 * 224 * @param value 225 * allowed object is 226 * {@link String } 227 * 228 */ 229 public void setNick(String value) { 230 this.nick = value; 231 } 232 233 /** 234 * Gets the value of the role property. 235 * 236 * @return 237 * possible object is 238 * {@link String } 239 * 240 */ 241 public String getRole() { 242 return role; 243 } 244 245 /** 246 * Sets the value of the role property. 247 * 248 * @param value 249 * allowed object is 250 * {@link String } 251 * 252 */ 253 public void setRole(String value) { 254 this.role = value; 255 } 256 257 }