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