|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jabber.protocol.rosterx.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 name="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="action"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> <enumeration value="add"/> <enumeration value="delete"/> <enumeration value="modify"/> </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" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected String |
action
|
protected List<String> |
group
|
protected String |
jid
|
protected String |
name
|
Constructor Summary | |
---|---|
Item()
|
Method Summary | |
---|---|
String |
getAction()
Gets the value of the action property. |
List<String> |
getGroup()
Gets the value of the group property. |
String |
getJid()
Gets the value of the jid property. |
String |
getName()
Gets the value of the name property. |
void |
setAction(String value)
Sets the value of the action property. |
void |
setJid(String value)
Sets the value of the jid property. |
void |
setName(String value)
Sets the value of the name property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<String> group
protected String action
protected String jid
protected String name
Constructor Detail |
---|
public Item()
Method Detail |
---|
public List<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 String getAction()
String
public void setAction(String value)
value
- allowed object is
String
public String getJid()
String
public void setJid(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |