// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 // 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: 2013.11.23 at 02:21:36 PM PST // package org.zstack.portal.apimediator.schema; import javax.xml.bind.annotation.*; import java.util.ArrayList; import java.util.List; /** * <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="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <sequence maxOccurs="unbounded" minOccurs="0"> * <element name="interceptor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * <sequence maxOccurs="unbounded" minOccurs="0"> * <element name="message"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="serviceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <sequence maxOccurs="unbounded" minOccurs="0"> * <element name="interceptor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * <sequence maxOccurs="unbounded" minOccurs="0"> * <element name="role" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "id", "interceptor", "message" }) @XmlRootElement(name = "service") public class Service { protected String id; protected List<String> interceptor; protected List<Service.Message> message; /** * 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 interceptor 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 interceptor property. * * <p> * For example, to add a new item, do as follows: * <pre> * getInterceptor().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getInterceptor() { if (interceptor == null) { interceptor = new ArrayList<String>(); } return this.interceptor; } /** * Gets the value of the message 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 message property. * * <p> * For example, to add a new item, do as follows: * <pre> * getMessage().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Service.Message } * * */ public List<Service.Message> getMessage() { if (message == null) { message = new ArrayList<Service.Message>(); } return this.message; } /** * <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="name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="serviceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <sequence maxOccurs="unbounded" minOccurs="0"> * <element name="interceptor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * <sequence maxOccurs="unbounded" minOccurs="0"> * <element name="role" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "name", "serviceId", "interceptor", "role" }) public static class Message { @XmlElement(required = true) protected String name; protected String serviceId; protected List<String> interceptor; protected List<String> role; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the serviceId property. * * @return * possible object is * {@link String } * */ public String getServiceId() { return serviceId; } /** * Sets the value of the serviceId property. * * @param value * allowed object is * {@link String } * */ public void setServiceId(String value) { this.serviceId = value; } /** * Gets the value of the interceptor 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 interceptor property. * * <p> * For example, to add a new item, do as follows: * <pre> * getInterceptor().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getInterceptor() { if (interceptor == null) { interceptor = new ArrayList<String>(); } return this.interceptor; } /** * Gets the value of the role 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 role property. * * <p> * For example, to add a new item, do as follows: * <pre> * getRole().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getRole() { if (role == null) { role = new ArrayList<String>(); } return this.role; } } }