Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//
// 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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* A container element for transfer operations.
*
*
* <p>Java class for Transfer complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Transfer", propOrder = {
"target",
"direction",
"view",
"protocol",
"keepBytes"
})
// <edit>
// </edit>
public class Transfer {
@XmlElement(required = true)
@XmlSchemaType(name = "anyURI")
protected String target;
protected String direction;
protected View view;
protected List<Protocol> protocol;
protected Boolean keepBytes;
// <edit> Fix: version is missing in VOSpace XSD
// </edit>
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/**
* Gets the value of the target property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTarget() {
return target;
}
/**
* Sets the value of the target property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTarget(String value) {
this.target = value;
}
/**
* Gets the value of the direction property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDirection() {
return direction;
}
/**
* Sets the value of the direction property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDirection(String value) {
this.direction = value;
}
/**
* Gets the value of the view property.
*
* @return
* possible object is
* {@link View }
*
*/
public View getView() {
return view;
}
/**
* Sets the value of the view property.
*
* @param value
* allowed object is
* {@link View }
*
*/
public void setView(View value) {
this.view = value;
}
/**
* Gets the value of the protocol 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 protocol property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProtocol().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Protocol }
*
*
*/
public List<Protocol> getProtocol() {
if (protocol == null) {
protocol = new ArrayList<Protocol>();
}
return this.protocol;
}
/**
* Gets the value of the keepBytes property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isKeepBytes() {
return keepBytes;
}
/**
* Sets the value of the keepBytes property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setKeepBytes(Boolean value) {
this.keepBytes = value;
}
// <edit>
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
// </edit>