|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.sippresence.pojo.datamodel.Device
public class Device
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 |
|---|
protected java.util.List<java.lang.Object> any
protected java.lang.String deviceID
protected java.util.List<NoteT> note
protected javax.xml.datatype.XMLGregorianCalendar timestamp
protected java.lang.String id
| Constructor Detail |
|---|
public Device()
| Method Detail |
|---|
public java.util.List<java.lang.Object> getAny()
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
public java.lang.String getDeviceID()
Stringpublic void setDeviceID(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<NoteT> getNote()
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
public javax.xml.datatype.XMLGregorianCalendar getTimestamp()
XMLGregorianCalendarpublic void setTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||