Skip to content
GetProtocolsResponse.java 2.08 KiB
Newer Older
Sara Bertocco's avatar
Sara Bertocco committed
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 
// 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: 2020.10.24 at 09:39:16 AM CEST 
//


package net.ivoa.xml.vospace.v2;

Sara Bertocco's avatar
Sara Bertocco committed
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
Sara Bertocco's avatar
Sara Bertocco committed
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for GetProtocolsResponse complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="GetProtocolsResponse">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="accepts" type="{http://www.ivoa.net/xml/VOSpace/v2.0}ProtocolList"/>
 *         &lt;element name="provides" type="{http://www.ivoa.net/xml/VOSpace/v2.0}ProtocolList"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GetProtocolsResponse", propOrder = {
    "accepts",
    "provides"
})
public class GetProtocolsResponse {

    // <edit>: ProtocolList replaced with List<Protocol>
    @XmlElement(name = "protocol")
    @XmlElementWrapper(name = "accepts", required = true)
    protected List<Protocol> accepts;
    
    @XmlElement(name = "protocol")
    @XmlElementWrapper(name = "provides", required = true)
    protected List<Protocol> provides;
Sara Bertocco's avatar
Sara Bertocco committed

    public List<Protocol> getAccepts() {
Sara Bertocco's avatar
Sara Bertocco committed
        return accepts;
    }

    public void setAccepts(List<Protocol> value) {
Sara Bertocco's avatar
Sara Bertocco committed
        this.accepts = value;
    }

    public List<Protocol> getProvides() {
Sara Bertocco's avatar
Sara Bertocco committed
        return provides;
    }

    public void setProvides(List<Protocol> value) {
Sara Bertocco's avatar
Sara Bertocco committed
        this.provides = value;
    }
Sara Bertocco's avatar
Sara Bertocco committed
}