// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-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: 2011.08.03 at 06:49:55 AM PDT // package org.ebayopensource.turmeric.runtime.codegen.common; 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.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * Type definition to indicate Legal Method Types of a Service Interface; Overloaded methods are not supported. * * <p>Java class for MethodDefType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="MethodDefType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="input-type" type="{http://www.ebayopensource.org/turmeric/runtime/codegen/common}InputParamType" maxOccurs="unbounded" minOccurs="0"/> * <element name="output-type" type="{http://www.ebayopensource.org/turmeric/runtime/codegen/common}JavaType"/> * <element name="exception-type" type="{http://www.ebayopensource.org/turmeric/runtime/codegen/common}JavaType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="method-name" use="required" type="{http://www.ebayopensource.org/turmeric/runtime/codegen/common}JavaIdentifierType" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MethodDefType", propOrder = { "inputType", "outputType", "exceptionType" }) public class MethodDefType { @XmlElement(name = "input-type") protected List<InputParamType> inputType; @XmlElement(name = "output-type", required = true) protected String outputType; @XmlElement(name = "exception-type") protected List<String> exceptionType; @XmlAttribute(name = "method-name", required = true) protected String methodName; /** * Gets the value of the inputType 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 inputType property. * * <p> * For example, to add a new item, do as follows: * <pre> * getInputType().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link InputParamType } * * */ public List<InputParamType> getInputType() { if (inputType == null) { inputType = new ArrayList<InputParamType>(); } return this.inputType; } /** * Gets the value of the outputType property. * * @return * possible object is * {@link String } * */ public String getOutputType() { return outputType; } /** * Sets the value of the outputType property. * * @param value * allowed object is * {@link String } * */ public void setOutputType(String value) { this.outputType = value; } /** * Gets the value of the exceptionType 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 exceptionType property. * * <p> * For example, to add a new item, do as follows: * <pre> * getExceptionType().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getExceptionType() { if (exceptionType == null) { exceptionType = new ArrayList<String>(); } return this.exceptionType; } /** * Gets the value of the methodName property. * * @return * possible object is * {@link String } * */ public String getMethodName() { return methodName; } /** * Sets the value of the methodName property. * * @param value * allowed object is * {@link String } * */ public void setMethodName(String value) { this.methodName = value; } }