org.jabber.protocol.rosterx
Class Item

java.lang.Object
  extended by org.jabber.protocol.rosterx.Item

public class Item
extends java.lang.Object

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" default="add">
         <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  java.lang.String action
           
protected  java.util.List<java.lang.String> group
           
protected  java.lang.String jid
           
protected  java.lang.String name
           
 
Constructor Summary
Item()
           
 
Method Summary
 java.lang.String getAction()
          Gets the value of the action 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.
 void setAction(java.lang.String value)
          Sets the value of the action 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

group

protected java.util.List<java.lang.String> group

action

protected java.lang.String action

jid

protected java.lang.String jid

name

protected java.lang.String name
Constructor Detail

Item

public Item()
Method Detail

getGroup

public java.util.List<java.lang.String> getGroup()
Gets the value of the group property.

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


getAction

public java.lang.String getAction()
Gets the value of the action property.

Returns:
possible object is String

setAction

public void setAction(java.lang.String value)
Sets the value of the action property.

Parameters:
value - allowed object is String

getJid

public java.lang.String getJid()
Gets the value of the jid property.

Returns:
possible object is String

setJid

public void setJid(java.lang.String value)
Sets the value of the jid property.

Parameters:
value - allowed object is String

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.