// // 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.05.02 at 04:49:42 PM WEST // package org.mobicents.slee.sipevent.server.subscription.winfo.pojo; import java.math.BigInteger; 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.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import org.w3c.dom.Element; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{urn:ietf:params:xml:ns:watcherinfo}watcher-list" maxOccurs="unbounded" minOccurs="0"/> * <any/> * </sequence> * <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> * <attribute name="state" use="required"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="full"/> * <enumeration value="partial"/> * </restriction> * </simpleType> * </attribute> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "watcherList", "any" }) @XmlRootElement(name = "watcherinfo") public class Watcherinfo { @XmlElement(name = "watcher-list") protected List<WatcherList> watcherList; @XmlAnyElement(lax = true) protected List<Object> any; @XmlAttribute(required = true) @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger version; @XmlAttribute(required = true) protected String state; /** * Gets the value of the watcherList 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 watcherList property. * * <p> * For example, to add a new item, do as follows: * <pre> * getWatcherList().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link WatcherList } * * */ public List<WatcherList> getWatcherList() { if (watcherList == null) { watcherList = new ArrayList<WatcherList>(); } return this.watcherList; } /** * 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 Element } * {@link Object } * * */ public List<Object> getAny() { if (any == null) { any = new ArrayList<Object>(); } return this.any; } /** * Gets the value of the version property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link BigInteger } * */ public void setVersion(BigInteger value) { this.version = value; } /** * Gets the value of the state property. * * @return * possible object is * {@link String } * */ public String getState() { return state; } /** * Sets the value of the state property. * * @param value * allowed object is * {@link String } * */ public void setState(String value) { this.state = value; } }