// // 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:52 AM WEST // package org.mobicents.slee.sippresence.pojo.rpid; 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.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import org.mobicents.slee.sippresence.pojo.commonschema.Empty; import org.mobicents.slee.sippresence.pojo.commonschema.NoteT; 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 name="note" type="{urn:ietf:params:xml:ns:pidf:rpid}Note_t" minOccurs="0"/> * <choice> * <element name="courier" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/> * <element name="electronic" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/> * <element name="freight" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/> * <element name="in-person" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/> * <element name="postal" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/> * <element name="unknown" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/> * <any/> * </choice> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "note", "courier", "electronic", "freight", "inPerson", "postal", "unknown", "any" }) @XmlRootElement(name = "service-class") public class ServiceClass { protected NoteT note; protected Empty courier; protected Empty electronic; protected Empty freight; @XmlElement(name = "in-person") protected Empty inPerson; protected Empty postal; protected Empty unknown; @XmlAnyElement(lax = true) protected List<Object> any; /** * Gets the value of the note property. * * @return * possible object is * {@link NoteT } * */ public NoteT getNote() { return note; } /** * Sets the value of the note property. * * @param value * allowed object is * {@link NoteT } * */ public void setNote(NoteT value) { this.note = value; } /** * Gets the value of the courier property. * * @return * possible object is * {@link Empty } * */ public Empty getCourier() { return courier; } /** * Sets the value of the courier property. * * @param value * allowed object is * {@link Empty } * */ public void setCourier(Empty value) { this.courier = value; } /** * Gets the value of the electronic property. * * @return * possible object is * {@link Empty } * */ public Empty getElectronic() { return electronic; } /** * Sets the value of the electronic property. * * @param value * allowed object is * {@link Empty } * */ public void setElectronic(Empty value) { this.electronic = value; } /** * Gets the value of the freight property. * * @return * possible object is * {@link Empty } * */ public Empty getFreight() { return freight; } /** * Sets the value of the freight property. * * @param value * allowed object is * {@link Empty } * */ public void setFreight(Empty value) { this.freight = value; } /** * Gets the value of the inPerson property. * * @return * possible object is * {@link Empty } * */ public Empty getInPerson() { return inPerson; } /** * Sets the value of the inPerson property. * * @param value * allowed object is * {@link Empty } * */ public void setInPerson(Empty value) { this.inPerson = value; } /** * Gets the value of the postal property. * * @return * possible object is * {@link Empty } * */ public Empty getPostal() { return postal; } /** * Sets the value of the postal property. * * @param value * allowed object is * {@link Empty } * */ public void setPostal(Empty value) { this.postal = value; } /** * Gets the value of the unknown property. * * @return * possible object is * {@link Empty } * */ public Empty getUnknown() { return unknown; } /** * Sets the value of the unknown property. * * @param value * allowed object is * {@link Empty } * */ public void setUnknown(Empty value) { this.unknown = 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 Element } * {@link Object } * * */ public List<Object> getAny() { if (any == null) { any = new ArrayList<Object>(); } return this.any; } }