public class Tuple extends 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 processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
<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>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
any |
protected Contact |
contact |
protected String |
id |
protected List<Note> |
note |
protected Status |
status |
protected XMLGregorianCalendar |
timestamp |
| Constructor and Description |
|---|
Tuple() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
Contact |
getContact()
Gets the value of the contact property.
|
String |
getId()
Gets the value of the id property.
|
List<Note> |
getNote()
Gets the value of the note property.
|
Status |
getStatus()
Gets the value of the status property.
|
XMLGregorianCalendar |
getTimestamp()
Gets the value of the timestamp property.
|
void |
setContact(Contact value)
Sets the value of the contact property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setStatus(Status value)
Sets the value of the status property.
|
void |
setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.
|
protected Status status
protected Contact contact
protected XMLGregorianCalendar timestamp
protected String id
public Status getStatus()
Statuspublic void setStatus(Status value)
value - allowed object is
Statuspublic List<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 Contact getContact()
Contactpublic void setContact(Contact value)
value - allowed object is
Contactpublic List<Note> 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
Note
public XMLGregorianCalendar getTimestamp()
XMLGregorianCalendarpublic void setTimestamp(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarCopyright © 2018. All rights reserved.