org.mobicents.slee.sippresence.pojo.pidf
Class Presence

java.lang.Object
  extended by org.mobicents.slee.sippresence.pojo.pidf.Presence

public class Presence
extends java.lang.Object

Java class for presence complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="presence">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tuple" type="{urn:ietf:params:xml:ns:pidf}tuple" maxOccurs="unbounded" minOccurs="0"/>
         <element name="note" type="{urn:ietf:params:xml:ns:pidf}note" maxOccurs="unbounded" minOccurs="0"/>
         <any/>
       </sequence>
       <attribute name="entity" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String entity
           
protected  java.util.List<Note> note
           
protected  java.util.List<Tuple> tuple
           
 
Constructor Summary
Presence()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 java.lang.String getEntity()
          Gets the value of the entity property.
 java.util.List<Note> getNote()
          Gets the value of the note property.
 java.util.List<Tuple> getTuple()
          Gets the value of the tuple property.
 void setEntity(java.lang.String value)
          Sets the value of the entity property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tuple

protected java.util.List<Tuple> tuple

note

protected java.util.List<Note> note

any

protected java.util.List<java.lang.Object> any

entity

protected java.lang.String entity
Constructor Detail

Presence

public Presence()
Method Detail

getTuple

public java.util.List<Tuple> getTuple()
Gets the value of the tuple 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 tuple property.

For example, to add a new item, do as follows:

    getTuple().add(newItem);
 

Objects of the following type(s) are allowed in the list Tuple


getNote

public java.util.List<Note> getNote()
Gets the value of the note 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 note property.

For example, to add a new item, do as follows:

    getNote().add(newItem);
 

Objects of the following type(s) are allowed in the list Note


getAny

public java.util.List<java.lang.Object> getAny()
Gets the value of the any 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 any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object Element


getEntity

public java.lang.String getEntity()
Gets the value of the entity property.

Returns:
possible object is String

setEntity

public void setEntity(java.lang.String value)
Sets the value of the entity property.

Parameters:
value - allowed object is String


Copyright © 2008. All Rights Reserved.