Loading src/main/java/net/ivoa/xml/vospace/v2/CapabilityList.javadeleted 100644 → 0 +0 −80 Original line number Diff line number Diff line // // 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; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * * A container element for a list of capabilities. * * * <p>Java class for CapabilityList complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="CapabilityList"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="capability" type="{http://www.ivoa.net/xml/VOSpace/v2.0}Capability" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CapabilityList", propOrder = { "capability" }) public class CapabilityList { @XmlElement(nillable = true) protected List<Capability> capability; /** * Gets the value of the capability 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 capability property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCapability().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Capability } * * */ public List<Capability> getCapability() { if (capability == null) { capability = new ArrayList<Capability>(); } return this.capability; } } src/main/java/net/ivoa/xml/vospace/v2/DataNode.java +38 −59 Original line number Diff line number Diff line Loading @@ -8,9 +8,13 @@ package net.ivoa.xml.vospace.v2; 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.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; Loading Loading @@ -60,83 +64,58 @@ public class DataNode extends Node { protected ViewList accepts; protected ViewList provides; protected CapabilityList capabilities; // <edit>: ViewList replaced with List<View> @XmlElement(name = "view") @XmlElementWrapper(name = "accepts") protected List<View> accepts; @XmlElement(name = "view") @XmlElementWrapper(name = "provides") protected List<View> provides; // CapabilityList replaced with List<Capability> @XmlElement(name = "capability") @XmlElementWrapper(name = "capabilities") protected List<Capability> capabilities; // </edit> @XmlAttribute(name = "busy") protected Boolean busy; /** * Gets the value of the accepts property. * * @return * possible object is * {@link ViewList } * */ public ViewList getAccepts() { // <edit> public List<View> getAccepts() { if (accepts == null) { accepts = new ArrayList<>(); } return accepts; } /** * Sets the value of the accepts property. * * @param value * allowed object is * {@link ViewList } * */ public void setAccepts(ViewList value) { public void setAccepts(List<View> value) { this.accepts = value; } /** * Gets the value of the provides property. * * @return * possible object is * {@link ViewList } * */ public ViewList getProvides() { public List<View> getProvides() { if (provides == null) { provides = new ArrayList<>(); } return provides; } /** * Sets the value of the provides property. * * @param value * allowed object is * {@link ViewList } * */ public void setProvides(ViewList value) { public void setProvides(List<View> value) { this.provides = value; } /** * Gets the value of the capabilities property. * * @return * possible object is * {@link CapabilityList } * */ public CapabilityList getCapabilities() { public List<Capability> getCapabilities() { if (capabilities == null) { capabilities = new ArrayList<>(); } return capabilities; } /** * Sets the value of the capabilities property. * * @param value * allowed object is * {@link CapabilityList } * */ public void setCapabilities(CapabilityList value) { public void setCapabilities(List<Capability> value) { this.capabilities = value; } // </edit> /** * Gets the value of the busy property. Loading src/main/java/net/ivoa/xml/vospace/v2/GetPropertiesResponse.java +31 −61 Original line number Diff line number Diff line Loading @@ -8,9 +8,12 @@ package net.ivoa.xml.vospace.v2; 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.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlType; Loading Loading @@ -43,83 +46,50 @@ import javax.xml.bind.annotation.XmlType; }) public class GetPropertiesResponse { @XmlElement(required = true) protected PropertyReferenceList accepts; @XmlElement(required = true) protected PropertyReferenceList provides; @XmlElement(required = true) protected PropertyReferenceList contains; // <edit>: PropertyReferenceList replaced with List<PropertyReference> @XmlElement(name = "property") @XmlElementWrapper(name = "accepts", required = true) protected List<PropertyReference> accepts; /** * Gets the value of the accepts property. * * @return * possible object is * {@link PropertyReferenceList } * */ public PropertyReferenceList getAccepts() { @XmlElement(name = "property") @XmlElementWrapper(name = "provides", required = true) protected List<PropertyReference> provides; @XmlElement(name = "property") @XmlElementWrapper(name = "contains", required = true) protected List<PropertyReference> contains; public List<PropertyReference> getAccepts() { if (accepts == null) { accepts = new ArrayList<>(); } return accepts; } /** * Sets the value of the accepts property. * * @param value * allowed object is * {@link PropertyReferenceList } * */ public void setAccepts(PropertyReferenceList value) { public void setAccepts(List<PropertyReference> value) { this.accepts = value; } /** * Gets the value of the provides property. * * @return * possible object is * {@link PropertyReferenceList } * */ public PropertyReferenceList getProvides() { public List<PropertyReference> getProvides() { if (provides == null) { provides = new ArrayList<>(); } return provides; } /** * Sets the value of the provides property. * * @param value * allowed object is * {@link PropertyReferenceList } * */ public void setProvides(PropertyReferenceList value) { public void setProvides(List<PropertyReference> value) { this.provides = value; } /** * Gets the value of the contains property. * * @return * possible object is * {@link PropertyReferenceList } * */ public PropertyReferenceList getContains() { public List<PropertyReference> getContains() { if (contains == null) { contains = new ArrayList<>(); } return contains; } /** * Sets the value of the contains property. * * @param value * allowed object is * {@link PropertyReferenceList } * */ public void setContains(PropertyReferenceList value) { public void setContains(List<PropertyReference> value) { this.contains = value; } // </edit> } src/main/java/net/ivoa/xml/vospace/v2/GetProtocolsResponse.java +15 −41 Original line number Diff line number Diff line Loading @@ -8,9 +8,11 @@ package net.ivoa.xml.vospace.v2; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlType; Loading Loading @@ -41,57 +43,29 @@ import javax.xml.bind.annotation.XmlType; }) public class GetProtocolsResponse { @XmlElement(required = true) protected ProtocolList accepts; @XmlElement(required = true) protected ProtocolList provides; // <edit>: ProtocolList replaced with List<Protocol> @XmlElement(name = "protocol") @XmlElementWrapper(name = "accepts", required = true) protected List<Protocol> accepts; /** * Gets the value of the accepts property. * * @return * possible object is * {@link ProtocolList } * */ public ProtocolList getAccepts() { @XmlElement(name = "protocol") @XmlElementWrapper(name = "provides", required = true) protected List<Protocol> provides; public List<Protocol> getAccepts() { return accepts; } /** * Sets the value of the accepts property. * * @param value * allowed object is * {@link ProtocolList } * */ public void setAccepts(ProtocolList value) { public void setAccepts(List<Protocol> value) { this.accepts = value; } /** * Gets the value of the provides property. * * @return * possible object is * {@link ProtocolList } * */ public ProtocolList getProvides() { public List<Protocol> getProvides() { return provides; } /** * Sets the value of the provides property. * * @param value * allowed object is * {@link ProtocolList } * */ public void setProvides(ProtocolList value) { public void setProvides(List<Protocol> value) { this.provides = value; } // </edit> } src/main/java/net/ivoa/xml/vospace/v2/GetViewsResponse.java +22 −41 Original line number Diff line number Diff line Loading @@ -8,9 +8,12 @@ package net.ivoa.xml.vospace.v2; 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.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlType; Loading Loading @@ -41,57 +44,35 @@ import javax.xml.bind.annotation.XmlType; }) public class GetViewsResponse { @XmlElement(required = true) protected ViewList accepts; @XmlElement(required = true) protected ViewList provides; // <edit>: ViewList replaced with List<View> @XmlElement(name = "view") @XmlElementWrapper(name = "accepts", required = true) protected List<View> accepts; /** * Gets the value of the accepts property. * * @return * possible object is * {@link ViewList } * */ public ViewList getAccepts() { @XmlElement(name = "view") @XmlElementWrapper(name = "provides", required = true) protected List<View> provides; public List<View> getAccepts() { if (accepts == null) { accepts = new ArrayList<>(); } return accepts; } /** * Sets the value of the accepts property. * * @param value * allowed object is * {@link ViewList } * */ public void setAccepts(ViewList value) { public void setAccepts(List<View> value) { this.accepts = value; } /** * Gets the value of the provides property. * * @return * possible object is * {@link ViewList } * */ public ViewList getProvides() { public List<View> getProvides() { return provides; } /** * Sets the value of the provides property. * * @param value * allowed object is * {@link ViewList } * */ public void setProvides(ViewList value) { public void setProvides(List<View> value) { if (provides == null) { provides = new ArrayList<>(); } this.provides = value; } // </edit> } Loading
src/main/java/net/ivoa/xml/vospace/v2/CapabilityList.javadeleted 100644 → 0 +0 −80 Original line number Diff line number Diff line // // 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; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * * A container element for a list of capabilities. * * * <p>Java class for CapabilityList complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="CapabilityList"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="capability" type="{http://www.ivoa.net/xml/VOSpace/v2.0}Capability" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CapabilityList", propOrder = { "capability" }) public class CapabilityList { @XmlElement(nillable = true) protected List<Capability> capability; /** * Gets the value of the capability 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 capability property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCapability().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Capability } * * */ public List<Capability> getCapability() { if (capability == null) { capability = new ArrayList<Capability>(); } return this.capability; } }
src/main/java/net/ivoa/xml/vospace/v2/DataNode.java +38 −59 Original line number Diff line number Diff line Loading @@ -8,9 +8,13 @@ package net.ivoa.xml.vospace.v2; 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.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; Loading Loading @@ -60,83 +64,58 @@ public class DataNode extends Node { protected ViewList accepts; protected ViewList provides; protected CapabilityList capabilities; // <edit>: ViewList replaced with List<View> @XmlElement(name = "view") @XmlElementWrapper(name = "accepts") protected List<View> accepts; @XmlElement(name = "view") @XmlElementWrapper(name = "provides") protected List<View> provides; // CapabilityList replaced with List<Capability> @XmlElement(name = "capability") @XmlElementWrapper(name = "capabilities") protected List<Capability> capabilities; // </edit> @XmlAttribute(name = "busy") protected Boolean busy; /** * Gets the value of the accepts property. * * @return * possible object is * {@link ViewList } * */ public ViewList getAccepts() { // <edit> public List<View> getAccepts() { if (accepts == null) { accepts = new ArrayList<>(); } return accepts; } /** * Sets the value of the accepts property. * * @param value * allowed object is * {@link ViewList } * */ public void setAccepts(ViewList value) { public void setAccepts(List<View> value) { this.accepts = value; } /** * Gets the value of the provides property. * * @return * possible object is * {@link ViewList } * */ public ViewList getProvides() { public List<View> getProvides() { if (provides == null) { provides = new ArrayList<>(); } return provides; } /** * Sets the value of the provides property. * * @param value * allowed object is * {@link ViewList } * */ public void setProvides(ViewList value) { public void setProvides(List<View> value) { this.provides = value; } /** * Gets the value of the capabilities property. * * @return * possible object is * {@link CapabilityList } * */ public CapabilityList getCapabilities() { public List<Capability> getCapabilities() { if (capabilities == null) { capabilities = new ArrayList<>(); } return capabilities; } /** * Sets the value of the capabilities property. * * @param value * allowed object is * {@link CapabilityList } * */ public void setCapabilities(CapabilityList value) { public void setCapabilities(List<Capability> value) { this.capabilities = value; } // </edit> /** * Gets the value of the busy property. Loading
src/main/java/net/ivoa/xml/vospace/v2/GetPropertiesResponse.java +31 −61 Original line number Diff line number Diff line Loading @@ -8,9 +8,12 @@ package net.ivoa.xml.vospace.v2; 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.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlType; Loading Loading @@ -43,83 +46,50 @@ import javax.xml.bind.annotation.XmlType; }) public class GetPropertiesResponse { @XmlElement(required = true) protected PropertyReferenceList accepts; @XmlElement(required = true) protected PropertyReferenceList provides; @XmlElement(required = true) protected PropertyReferenceList contains; // <edit>: PropertyReferenceList replaced with List<PropertyReference> @XmlElement(name = "property") @XmlElementWrapper(name = "accepts", required = true) protected List<PropertyReference> accepts; /** * Gets the value of the accepts property. * * @return * possible object is * {@link PropertyReferenceList } * */ public PropertyReferenceList getAccepts() { @XmlElement(name = "property") @XmlElementWrapper(name = "provides", required = true) protected List<PropertyReference> provides; @XmlElement(name = "property") @XmlElementWrapper(name = "contains", required = true) protected List<PropertyReference> contains; public List<PropertyReference> getAccepts() { if (accepts == null) { accepts = new ArrayList<>(); } return accepts; } /** * Sets the value of the accepts property. * * @param value * allowed object is * {@link PropertyReferenceList } * */ public void setAccepts(PropertyReferenceList value) { public void setAccepts(List<PropertyReference> value) { this.accepts = value; } /** * Gets the value of the provides property. * * @return * possible object is * {@link PropertyReferenceList } * */ public PropertyReferenceList getProvides() { public List<PropertyReference> getProvides() { if (provides == null) { provides = new ArrayList<>(); } return provides; } /** * Sets the value of the provides property. * * @param value * allowed object is * {@link PropertyReferenceList } * */ public void setProvides(PropertyReferenceList value) { public void setProvides(List<PropertyReference> value) { this.provides = value; } /** * Gets the value of the contains property. * * @return * possible object is * {@link PropertyReferenceList } * */ public PropertyReferenceList getContains() { public List<PropertyReference> getContains() { if (contains == null) { contains = new ArrayList<>(); } return contains; } /** * Sets the value of the contains property. * * @param value * allowed object is * {@link PropertyReferenceList } * */ public void setContains(PropertyReferenceList value) { public void setContains(List<PropertyReference> value) { this.contains = value; } // </edit> }
src/main/java/net/ivoa/xml/vospace/v2/GetProtocolsResponse.java +15 −41 Original line number Diff line number Diff line Loading @@ -8,9 +8,11 @@ package net.ivoa.xml.vospace.v2; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlType; Loading Loading @@ -41,57 +43,29 @@ import javax.xml.bind.annotation.XmlType; }) public class GetProtocolsResponse { @XmlElement(required = true) protected ProtocolList accepts; @XmlElement(required = true) protected ProtocolList provides; // <edit>: ProtocolList replaced with List<Protocol> @XmlElement(name = "protocol") @XmlElementWrapper(name = "accepts", required = true) protected List<Protocol> accepts; /** * Gets the value of the accepts property. * * @return * possible object is * {@link ProtocolList } * */ public ProtocolList getAccepts() { @XmlElement(name = "protocol") @XmlElementWrapper(name = "provides", required = true) protected List<Protocol> provides; public List<Protocol> getAccepts() { return accepts; } /** * Sets the value of the accepts property. * * @param value * allowed object is * {@link ProtocolList } * */ public void setAccepts(ProtocolList value) { public void setAccepts(List<Protocol> value) { this.accepts = value; } /** * Gets the value of the provides property. * * @return * possible object is * {@link ProtocolList } * */ public ProtocolList getProvides() { public List<Protocol> getProvides() { return provides; } /** * Sets the value of the provides property. * * @param value * allowed object is * {@link ProtocolList } * */ public void setProvides(ProtocolList value) { public void setProvides(List<Protocol> value) { this.provides = value; } // </edit> }
src/main/java/net/ivoa/xml/vospace/v2/GetViewsResponse.java +22 −41 Original line number Diff line number Diff line Loading @@ -8,9 +8,12 @@ package net.ivoa.xml.vospace.v2; 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.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlType; Loading Loading @@ -41,57 +44,35 @@ import javax.xml.bind.annotation.XmlType; }) public class GetViewsResponse { @XmlElement(required = true) protected ViewList accepts; @XmlElement(required = true) protected ViewList provides; // <edit>: ViewList replaced with List<View> @XmlElement(name = "view") @XmlElementWrapper(name = "accepts", required = true) protected List<View> accepts; /** * Gets the value of the accepts property. * * @return * possible object is * {@link ViewList } * */ public ViewList getAccepts() { @XmlElement(name = "view") @XmlElementWrapper(name = "provides", required = true) protected List<View> provides; public List<View> getAccepts() { if (accepts == null) { accepts = new ArrayList<>(); } return accepts; } /** * Sets the value of the accepts property. * * @param value * allowed object is * {@link ViewList } * */ public void setAccepts(ViewList value) { public void setAccepts(List<View> value) { this.accepts = value; } /** * Gets the value of the provides property. * * @return * possible object is * {@link ViewList } * */ public ViewList getProvides() { public List<View> getProvides() { return provides; } /** * Sets the value of the provides property. * * @param value * allowed object is * {@link ViewList } * */ public void setProvides(ViewList value) { public void setProvides(List<View> value) { if (provides == null) { provides = new ArrayList<>(); } this.provides = value; } // </edit> }