/* * This file is part of vospace-datamodel * Copyright (C) 2021 Istituto Nazionale di Astrofisica * SPDX-License-Identifier: GPL-3.0-or-later */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See http://java.sun.com/xml/jaxb // 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.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * * A container element for transfer operations. * * *
Java class for Transfer complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="Transfer"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="target" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> * <element name="direction" minOccurs="0"> * <simpleType> * <union> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI"> * </restriction> * </simpleType> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="pushToVoSpace"/> * <enumeration value="pushFromVoSpace"/> * <enumeration value="pullToVoSpace"/> * <enumeration value="pullFromVoSpace"/> * </restriction> * </simpleType> * </union> * </simpleType> * </element> * <element name="view" type="{http://www.ivoa.net/xml/VOSpace/v2.0}View" minOccurs="0"/> * <element name="protocol" type="{http://www.ivoa.net/xml/VOSpace/v2.0}Protocol" maxOccurs="unbounded" minOccurs="0"/> * <element name="keepBytes" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Transfer", propOrder = { "target", "direction", "view", "protocols", "keepBytes", "param" }) //
* 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 set
method for the protocol property.
*
*
* For example, to add a new item, do as follows: *
* getProtocol().add(newItem); ** * *
* Objects of the following type(s) are allowed in the list
* {@link Protocol }
*
*
*/
public List
* 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
* For example, to add a new item, do as follows:
*
* Objects of the following type(s) are allowed in the list
* {@link Param }
*
*
*/
public List getParam() {
if (param == null) {
param = new ArrayList();
}
return this.param;
}
// set
method for the param property.
*
*
* getParam().add(newItem);
*
*
*
*