org.mobicents.slee.sippresence.pojo.datamodel
Class Device

java.lang.Object
  extended by org.mobicents.slee.sippresence.pojo.datamodel.Device

public class Device
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>
         <any/>
         <element ref="{urn:ietf:params:xml:ns:pidf:data-model}deviceID"/>
         <element name="note" type="{urn:ietf:params:xml:ns:pidf:data-model}Note_t" maxOccurs="unbounded" minOccurs="0"/>
         <element name="timestamp" type="{urn:ietf:params:xml:ns:pidf:data-model}Timestamp_t" 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  java.lang.String deviceID
           
protected  java.lang.String id
           
protected  java.util.List<NoteT> note
           
protected  javax.xml.datatype.XMLGregorianCalendar timestamp
           
 
Constructor Summary
Device()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 java.lang.String getDeviceID()
          Gets the value of the deviceID property.
 java.lang.String getId()
          Gets the value of the id property.
 java.util.List<NoteT> getNote()
          Gets the value of the note property.
 javax.xml.datatype.XMLGregorianCalendar getTimestamp()
          Gets the value of the timestamp property.
 void setDeviceID(java.lang.String value)
          Sets the value of the deviceID property.
 void setId(java.lang.String value)
          Sets the value of the id 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

any

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

deviceID

protected java.lang.String deviceID

note

protected java.util.List<NoteT> note

timestamp

protected javax.xml.datatype.XMLGregorianCalendar timestamp

id

protected java.lang.String id
Constructor Detail

Device

public Device()
Method Detail

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


getDeviceID

public java.lang.String getDeviceID()
Gets the value of the deviceID property.

Returns:
possible object is String

setDeviceID

public void setDeviceID(java.lang.String value)
Sets the value of the deviceID property.

Parameters:
value - allowed object is String

getNote

public java.util.List<NoteT> 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 NoteT


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 © 2009. All Rights Reserved.