//
// 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.01 at 05:18:19 PM WEST
//
package org.openxdm.xcap.client.appusage.rlsservices.jaxb;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
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 javax.xml.namespace.QName;
import org.openxdm.xcap.client.appusage.resourcelists.jaxb.ListType;
import org.w3c.dom.Element;
/**
* <p>Java class for serviceType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="serviceType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="resource-list" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* <element name="list" type="{urn:ietf:params:xml:ns:resource-lists}listType"/>
* </choice>
* <element name="packages" type="{urn:ietf:params:xml:ns:rls-services}packagesType" minOccurs="0"/>
* <any/>
* </sequence>
* <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "serviceType", namespace = "urn:ietf:params:xml:ns:rls-services", propOrder = {
"resourceList",
"list",
"packages",
"any"
})
@XmlRootElement(name = "service", namespace = "urn:ietf:params:xml:ns:rls-services")
public class ServiceType {
@XmlElement(name = "resource-list")
@XmlSchemaType(name = "anyURI")
protected String resourceList;
protected ListType list;
protected PackagesType packages;
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAttribute(required = true)
@XmlSchemaType(name = "anyURI")
protected String uri;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the resourceList property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResourceList() {
return resourceList;
}
/**
* Sets the value of the resourceList property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResourceList(String value) {
this.resourceList = value;
}
/**
* Gets the value of the list property.
*
* @return
* possible object is
* {@link ListType }
*
*/
public ListType getList() {
return list;
}
/**
* Sets the value of the list property.
*
* @param value
* allowed object is
* {@link ListType }
*
*/
public void setList(ListType value) {
this.list = value;
}
/**
* Gets the value of the packages property.
*
* @return
* possible object is
* {@link PackagesType }
*
*/
public PackagesType getPackages() {
return packages;
}
/**
* Sets the value of the packages property.
*
* @param value
* allowed object is
* {@link PackagesType }
*
*/
public void setPackages(PackagesType value) {
this.packages = 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;
}
/**
* Gets the value of the uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUri() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUri(String value) {
this.uri = value;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
* <p>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}