// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2008.04.25 at 12:01:39 AM WEST // package org.mobicents.slee.sippresence.pojo.pidf; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import javax.xml.datatype.XMLGregorianCalendar; import org.w3c.dom.Element; /** * <p>Java class for tuple complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <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> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "tuple", propOrder = { "status", "any", "contact", "note", "timestamp" }) public class Tuple { @XmlElement(required = true) protected Status status; @XmlAnyElement(lax = true) protected List<Object> any; protected Contact contact; protected List<Note> note; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar timestamp; @XmlAttribute(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; /** * Gets the value of the status property. * * @return * possible object is * {@link Status } * */ public Status getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link Status } * */ public void setStatus(Status value) { this.status = value; } /** * Gets the value of the any property. * * <p> * 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 <CODE>set</CODE> method for the any property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAny().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Object } * {@link Element } * * */ public List<Object> getAny() { if (any == null) { any = new ArrayList<Object>(); } return this.any; } /** * Gets the value of the contact property. * * @return * possible object is * {@link Contact } * */ public Contact getContact() { return contact; } /** * Sets the value of the contact property. * * @param value * allowed object is * {@link Contact } * */ public void setContact(Contact value) { this.contact = value; } /** * Gets the value of the note property. * * <p> * 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 <CODE>set</CODE> method for the note property. * * <p> * For example, to add a new item, do as follows: * <pre> * getNote().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Note } * * */ public List<Note> getNote() { if (note == null) { note = new ArrayList<Note>(); } return this.note; } /** * Gets the value of the timestamp property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getTimestamp() { return timestamp; } /** * Sets the value of the timestamp property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setTimestamp(XMLGregorianCalendar value) { this.timestamp = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } }