org.jabber.protocol.muc_admin.Item Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.10.04 at 01:10:24 PM KST
//
package org.jabber.protocol.muc_admin;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://jabber.org/protocol/muc#admin}actor" minOccurs="0"/>
* <element ref="{http://jabber.org/protocol/muc#admin}reason" minOccurs="0"/>
* </sequence>
* <attribute name="affiliation">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
* <enumeration value="admin"/>
* <enumeration value="member"/>
* <enumeration value="none"/>
* <enumeration value="outcast"/>
* <enumeration value="owner"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="jid" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="nick" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="role">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
* <enumeration value="moderator"/>
* <enumeration value="none"/>
* <enumeration value="participant"/>
* <enumeration value="visitor"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"actor",
"reason"
})
@XmlRootElement(name = "item")
public class Item {
protected Actor actor;
protected String reason;
@XmlAttribute(name = "affiliation")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String affiliation;
@XmlAttribute(name = "jid")
protected String jid;
@XmlAttribute(name = "nick")
protected String nick;
@XmlAttribute(name = "role")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String role;
/**
* Gets the value of the actor property.
*
* @return
* possible object is
* {@link Actor }
*
*/
public Actor getActor() {
return actor;
}
/**
* Sets the value of the actor property.
*
* @param value
* allowed object is
* {@link Actor }
*
*/
public void setActor(Actor value) {
this.actor = value;
}
/**
* Gets the value of the reason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReason() {
return reason;
}
/**
* Sets the value of the reason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReason(String value) {
this.reason = value;
}
/**
* Gets the value of the affiliation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAffiliation() {
return affiliation;
}
/**
* Sets the value of the affiliation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAffiliation(String value) {
this.affiliation = value;
}
/**
* Gets the value of the jid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJid() {
return jid;
}
/**
* Sets the value of the jid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJid(String value) {
this.jid = value;
}
/**
* Gets the value of the nick property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNick() {
return nick;
}
/**
* Sets the value of the nick property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNick(String value) {
this.nick = value;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
}