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

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

public class Tuple
extends java.lang.Object

Java class for tuple complex type.

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

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


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  Contact contact
           
protected  java.lang.String id
           
protected  java.util.List<Note> note
           
protected  Status status
           
protected  javax.xml.datatype.XMLGregorianCalendar timestamp
           
 
Constructor Summary
Tuple()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 Contact getContact()
          Gets the value of the contact property.
 java.lang.String getId()
          Gets the value of the id property.
 java.util.List<Note> getNote()
          Gets the value of the note property.
 Status getStatus()
          Gets the value of the status property.
 javax.xml.datatype.XMLGregorianCalendar getTimestamp()
          Gets the value of the timestamp property.
 void setContact(Contact value)
          Sets the value of the contact property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setStatus(Status value)
          Sets the value of the status property.
 void setTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the timestamp property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

status

protected Status status

any

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

contact

protected Contact contact

note

protected java.util.List<Note> note

timestamp

protected javax.xml.datatype.XMLGregorianCalendar timestamp

id

protected java.lang.String id
Constructor Detail

Tuple

public Tuple()
Method Detail

getStatus

public Status getStatus()
Gets the value of the status property.

Returns:
possible object is Status

setStatus

public void setStatus(Status value)
Sets the value of the status property.

Parameters:
value - allowed object is Status

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


getContact

public Contact getContact()
Gets the value of the contact property.

Returns:
possible object is Contact

setContact

public void setContact(Contact value)
Sets the value of the contact property.

Parameters:
value - allowed object is Contact

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


getTimestamp

public javax.xml.datatype.XMLGregorianCalendar getTimestamp()
Gets the value of the timestamp property.

Returns:
possible object is XMLGregorianCalendar

setTimestamp

public void setTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the timestamp property.

Parameters:
value - allowed object is XMLGregorianCalendar

getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2011. All Rights Reserved.