package com.sissi.protocol.iq.disco;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* @author kim 2013年12月18日
*/
@XmlType(namespace = DiscoItems.XMLNS)
@XmlRootElement(name = Item.NAME)
public class Item extends DiscoFeature {
public final static String NAME = "item";
private String jid;
private String name;
public Item() {
}
public Item(String jid) {
super();
this.jid = jid;
}
public Item(String jid, String name) {
super();
this.jid = jid;
this.name = name;
}
@XmlAttribute
public String getJid() {
return this.jid;
}
public Item setJid(String jid) {
this.jid = jid;
return this;
}
@XmlAttribute
public String getName() {
return this.name;
}
public Item setName(String name) {
this.name = name;
return this;
}
}