Skip to content
GetPropertiesResponse.java 2.88 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;

import java.util.ArrayList;
import java.util.List;
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 GetPropertiesResponse complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="GetPropertiesResponse">
 *   &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}PropertyReferenceList"/>
 *         &lt;element name="provides" type="{http://www.ivoa.net/xml/VOSpace/v2.0}PropertyReferenceList"/>
 *         &lt;element name="contains" type="{http://www.ivoa.net/xml/VOSpace/v2.0}PropertyReferenceList"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GetPropertiesResponse", propOrder = {
    "accepts",
    "provides",
    "contains"
})
public class GetPropertiesResponse {

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

    @XmlElement(name = "property")
    @XmlElementWrapper(name = "contains", required = true)
    protected List<PropertyReference> contains;

    public List<PropertyReference> getAccepts() {
        if (accepts == null) {
            accepts = new ArrayList<>();
        }
Sara Bertocco's avatar
Sara Bertocco committed
        return accepts;
    }

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

    public List<PropertyReference> getProvides() {
        if (provides == null) {
            provides = new ArrayList<>();
        }
Sara Bertocco's avatar
Sara Bertocco committed
        return provides;
    }

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

    public List<PropertyReference> getContains() {
        if (contains == null) {
            contains = new ArrayList<>();
        }
Sara Bertocco's avatar
Sara Bertocco committed
        return contains;
    }

    public void setContains(List<PropertyReference> value) {
Sara Bertocco's avatar
Sara Bertocco committed
        this.contains = value;
    }
Sara Bertocco's avatar
Sara Bertocco committed
}