1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.r2.core.document.dto; |
17 | |
|
18 | |
import org.kuali.student.r2.core.document.infc.DocumentBinary; |
19 | |
import org.w3c.dom.Element; |
20 | |
|
21 | |
import javax.xml.bind.annotation.*; |
22 | |
import java.io.Serializable; |
23 | |
import java.util.List; |
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
@XmlAccessorType(XmlAccessType.FIELD) |
33 | |
@XmlType(name = "DocumentBinaryInfo", propOrder = {"binary", "_futureElements"}) |
34 | |
public class DocumentBinaryInfo implements DocumentBinary, Serializable { |
35 | |
|
36 | |
private static final long serialVersionUID = 1L; |
37 | |
|
38 | |
@XmlElement |
39 | |
private String binary; |
40 | |
|
41 | |
@XmlAnyElement |
42 | |
private List<Element> _futureElements; |
43 | |
|
44 | 0 | public DocumentBinaryInfo() { |
45 | 0 | } |
46 | |
|
47 | 0 | public DocumentBinaryInfo(DocumentBinary documentBinary) { |
48 | 0 | if (null != documentBinary) { |
49 | 0 | this.binary = documentBinary.getBinary(); |
50 | |
} |
51 | 0 | } |
52 | |
|
53 | |
@Override |
54 | |
public String getBinary() { |
55 | 0 | return binary; |
56 | |
} |
57 | |
|
58 | |
public void setBinary(String binary) { |
59 | 0 | this.binary = binary; |
60 | 0 | } |
61 | |
} |