//
// 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
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 javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
* <attribute name="display-name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="status" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="pending"/>
* <enumeration value="active"/>
* <enumeration value="waiting"/>
* <enumeration value="terminated"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="event" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="subscribe"/>
* <enumeration value="approved"/>
* <enumeration value="deactivated"/>
* <enumeration value="probation"/>
* <enumeration value="rejected"/>
* <enumeration value="timeout"/>
* <enumeration value="giveup"/>
* <enumeration value="noresource"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="expiration" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="duration-subscribed" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
* <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@XmlRootElement(name = "watcher")
public class Watcher {
@XmlValue
@XmlSchemaType(name = "anyURI")
protected String value;
@XmlAttribute(name = "display-name")
protected String displayName;
@XmlAttribute(required = true)
protected String status;
@XmlAttribute(required = true)
protected String event;
@XmlAttribute
@XmlSchemaType(name = "unsignedLong")
protected BigInteger expiration;
@XmlAttribute(required = true)
protected String id;
@XmlAttribute(name = "duration-subscribed")
@XmlSchemaType(name = "unsignedLong")
protected BigInteger durationSubscribed;
@XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String lang;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the displayName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDisplayName() {
return displayName;
}
/**
* Sets the value of the displayName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDisplayName(String value) {
this.displayName = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the event property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEvent() {
return event;
}
/**
* Sets the value of the event property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEvent(String value) {
this.event = value;
}
/**
* Gets the value of the expiration property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getExpiration() {
return expiration;
}
/**
* Sets the value of the expiration property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setExpiration(BigInteger value) {
this.expiration = 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;
}
/**
* Gets the value of the durationSubscribed property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getDurationSubscribed() {
return durationSubscribed;
}
/**
* Sets the value of the durationSubscribed property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setDurationSubscribed(BigInteger value) {
this.durationSubscribed = value;
}
/**
* Gets the value of the lang property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLang() {
return lang;
}
/**
* Sets the value of the lang property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLang(String value) {
this.lang = value;
}
}