Subversion Repositories XServices

Rev

Rev 30 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
30 brianR 1
 
2
3
 
4
import javax.xml.bind.JAXBElement;
5
import javax.xml.bind.annotation.XmlAccessType;
6
import javax.xml.bind.annotation.XmlAccessorType;
7
import javax.xml.bind.annotation.XmlElement;
8
import javax.xml.bind.annotation.XmlElementRef;
9
import javax.xml.bind.annotation.XmlSchemaType;
10
import javax.xml.bind.annotation.XmlSeeAlso;
11
import javax.xml.bind.annotation.XmlType;
12
import javax.xml.datatype.XMLGregorianCalendar;
13
14
 
15
 
16
 * <p>Java class for FileAttachment complex type.
17
 *
18
 * <p>The following schema fragment specifies the expected content contained within this class.
19
 *
20
 * <pre>
21
 * &lt;complexType name="FileAttachment">
22
 *   &lt;complexContent>
23
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24
 *       &lt;sequence>
25
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
26
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
27
 *         &lt;element name="fileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
28
 *         &lt;element name="showAsImage" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
29
 *         &lt;element name="modificationDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
30
 *         &lt;element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
31
 *         &lt;element name="accessType" type="{urn:aewebservices71}Attachment-Access-Type"/>
32
 *       &lt;/sequence>
33
 *     &lt;/restriction>
34
 *   &lt;/complexContent>
35
 * &lt;/complexType>
36
 * </pre>
37
 *
38
 *
39
 */
40
@XmlAccessorType(XmlAccessType.FIELD)
41
@XmlType(name = "FileAttachment", propOrder = {
42
    "id",
43
    "name",
44
    "fileName",
45
    "showAsImage",
46
    "modificationDateTime",
47
    "url",
48
    "accessType"
49
})
50
@XmlSeeAlso({
51
    FileAttachmentContents.class
52
})
53
public class FileAttachment {
54
55
 
56
    @XmlElementRef(name = "name", namespace = "urn:aewebservices71", type = JAXBElement.class)
57
    protected JAXBElement<String> name;
58
    @XmlElementRef(name = "fileName", namespace = "urn:aewebservices71", type = JAXBElement.class)
59
    protected JAXBElement<String> fileName;
60
    protected boolean showAsImage;
61
    @XmlSchemaType(name = "dateTime")
62
    protected XMLGregorianCalendar modificationDateTime;
63
    @XmlElementRef(name = "url", namespace = "urn:aewebservices71", type = JAXBElement.class)
64
    protected JAXBElement<String> url;
65
    @XmlElement(required = true, defaultValue = "ATTACHACCESS-DEFAULT")
66
    protected AttachmentAccessType accessType;
67
68
 
69
     * Gets the value of the id property.
70
     *
71
     * @return
72
     *     possible object is
73
     *     {@link BigInteger }
74
     *
75
     */
76
    public BigInteger getId() {
77
        return id;
78
    }
79
80
 
81
     * Sets the value of the id property.
82
     *
83
     * @param value
84
     *     allowed object is
85
     *     {@link BigInteger }
86
     *
87
     */
88
    public void setId(BigInteger value) {
89
        this.id = value;
90
    }
91
92
 
93
     * Gets the value of the name property.
94
     *
95
     * @return
96
     *     possible object is
97
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
98
     *
99
     */
100
    public JAXBElement<String> getName() {
101
        return name;
102
    }
103
104
 
105
     * Sets the value of the name property.
106
     *
107
     * @param value
108
     *     allowed object is
109
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
110
     *
111
     */
112
    public void setName(JAXBElement<String> value) {
113
        this.name = ((JAXBElement<String> ) value);
114
    }
115
116
 
117
     * Gets the value of the fileName property.
118
     *
119
     * @return
120
     *     possible object is
121
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
122
     *
123
     */
124
    public JAXBElement<String> getFileName() {
125
        return fileName;
126
    }
127
128
 
129
     * Sets the value of the fileName property.
130
     *
131
     * @param value
132
     *     allowed object is
133
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
134
     *
135
     */
136
    public void setFileName(JAXBElement<String> value) {
137
        this.fileName = ((JAXBElement<String> ) value);
138
    }
139
140
 
141
     * Gets the value of the showAsImage property.
142
     *
143
     */
144
    public boolean isShowAsImage() {
145
        return showAsImage;
146
    }
147
148
 
149
     * Sets the value of the showAsImage property.
150
     *
151
     */
152
    public void setShowAsImage(boolean value) {
153
        this.showAsImage = value;
154
    }
155
156
 
157
     * Gets the value of the modificationDateTime property.
158
     *
159
     * @return
160
     *     possible object is
161
     *     {@link XMLGregorianCalendar }
162
     *
163
     */
164
    public XMLGregorianCalendar getModificationDateTime() {
165
        return modificationDateTime;
166
    }
167
168
 
169
     * Sets the value of the modificationDateTime property.
170
     *
171
     * @param value
172
     *     allowed object is
173
     *     {@link XMLGregorianCalendar }
174
     *
175
     */
176
    public void setModificationDateTime(XMLGregorianCalendar value) {
177
        this.modificationDateTime = value;
178
    }
179
180
 
181
     * Gets the value of the url property.
182
     *
183
     * @return
184
     *     possible object is
185
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
186
     *
187
     */
188
    public JAXBElement<String> getUrl() {
189
        return url;
190
    }
191
192
 
193
     * Sets the value of the url property.
194
     *
195
     * @param value
196
     *     allowed object is
197
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
198
     *
199
     */
200
    public void setUrl(JAXBElement<String> value) {
201
        this.url = ((JAXBElement<String> ) value);
202
    }
203
204
 
205
     * Gets the value of the accessType property.
206
     *
207
     * @return
208
     *     possible object is
209
     *     {@link AttachmentAccessType }
210
     *
211
     */
212
    public AttachmentAccessType getAccessType() {
213
        return accessType;
214
    }
215
216
 
217
     * Sets the value of the accessType property.
218
     *
219
     * @param value
220
     *     allowed object is
221
     *     {@link AttachmentAccessType }
222
     *
223
     */
224
    public void setAccessType(AttachmentAccessType value) {
225
        this.accessType = value;
226
    }
227
228
 
229