// // 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.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import org.w3c.dom.Element; /** * <p>Java class for presence complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="presence"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="tuple" type="{urn:ietf:params:xml:ns:pidf}tuple" maxOccurs="unbounded" minOccurs="0"/> * <element name="note" type="{urn:ietf:params:xml:ns:pidf}note" maxOccurs="unbounded" minOccurs="0"/> * <any/> * </sequence> * <attribute name="entity" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "presence", propOrder = { "tuple", "note", "any" }) public class Presence { protected List<Tuple> tuple; protected List<Note> note; @XmlAnyElement(lax = true) protected List<Object> any; @XmlAttribute(required = true) @XmlSchemaType(name = "anyURI") protected String entity; /** * Gets the value of the tuple 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 tuple property. * * <p> * For example, to add a new item, do as follows: * <pre> * getTuple().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Tuple } * * */ public List<Tuple> getTuple() { if (tuple == null) { tuple = new ArrayList<Tuple>(); } return this.tuple; } /** * 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 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 entity property. * * @return * possible object is * {@link String } * */ public String getEntity() { return entity; } /** * Sets the value of the entity property. * * @param value * allowed object is * {@link String } * */ public void setEntity(String value) { this.entity = value; } }