|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjabber.iq.roster.Item
public class Item
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="{jabber:iq:roster}group" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="ask">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
<enumeration value="subscribe"/>
</restriction>
</simpleType>
</attribute>
<attribute name="jid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="subscription">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
<enumeration value="both"/>
<enumeration value="from"/>
<enumeration value="none"/>
<enumeration value="remove"/>
<enumeration value="to"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.String |
ask
|
protected java.util.List<java.lang.String> |
group
|
protected java.lang.String |
jid
|
protected java.lang.String |
name
|
protected java.lang.String |
subscription
|
| Constructor Summary | |
|---|---|
Item()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAsk()
Gets the value of the ask property. |
java.util.List<java.lang.String> |
getGroup()
Gets the value of the group property. |
java.lang.String |
getJid()
Gets the value of the jid property. |
java.lang.String |
getName()
Gets the value of the name property. |
java.lang.String |
getSubscription()
Gets the value of the subscription property. |
void |
setAsk(java.lang.String value)
Sets the value of the ask property. |
void |
setJid(java.lang.String value)
Sets the value of the jid property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
void |
setSubscription(java.lang.String value)
Sets the value of the subscription property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<java.lang.String> group
protected java.lang.String ask
protected java.lang.String jid
protected java.lang.String name
protected java.lang.String subscription
| Constructor Detail |
|---|
public Item()
| Method Detail |
|---|
public java.util.List<java.lang.String> getGroup()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the group property.
For example, to add a new item, do as follows:
getGroup().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.lang.String getAsk()
Stringpublic void setAsk(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getJid()
Stringpublic void setJid(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSubscription()
Stringpublic void setSubscription(java.lang.String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||