1 package org.kuali.ole.docstore.model.xmlpojo.ingest;
2
3
4 import java.util.ArrayList;
5 import java.util.List;
6
7
8
9
10
11 public class ResponseDocument {
12 private List<LinkInformation> linkInformation;
13 private List<ResponseDocument> linkedDocuments = new ArrayList<ResponseDocument>();
14 private List<ResponseDocument> linkedInstanceDocuments = new ArrayList<ResponseDocument>();
15 private String id;
16 private String category;
17 private String type;
18 private String format;
19 private String uuid;
20 private Content content;
21
22
23
24 private String documentName;
25 private String documentTitle;
26 private String documentMimeType;
27 private String status;
28 private String statusMessage;
29 private String version;
30 private AdditionalAttributes additionalAttributes;
31
32 public AdditionalAttributes getAdditionalAttributes() {
33 return additionalAttributes;
34 }
35
36 public void setAdditionalAttributes(AdditionalAttributes additionalAttributes) {
37 this.additionalAttributes = additionalAttributes;
38 }
39
40 public String getVersion() {
41 return version;
42 }
43
44 public void setVersion(String version) {
45 this.version = version;
46 }
47
48 public List<ResponseDocument> getLinkedInstanceDocuments() {
49 return linkedInstanceDocuments;
50 }
51
52 public void setLinkedInstanceDocuments(List<ResponseDocument> linkedInstanceDocuments) {
53 this.linkedInstanceDocuments = linkedInstanceDocuments;
54 }
55
56 public List<ResponseDocument> getLinkedDocuments() {
57 return linkedDocuments;
58 }
59
60 public void setLinkedDocuments(List<ResponseDocument> linkedDocuments) {
61 this.linkedDocuments = linkedDocuments;
62 }
63
64 public Content getContent() {
65 return content;
66 }
67
68 public void setContent(Content content) {
69 this.content = content;
70 }
71
72 public List<LinkInformation> getLinkInformation() {
73 return linkInformation;
74 }
75
76 public void setLinkInformation(List<LinkInformation> linkInformation) {
77 this.linkInformation = linkInformation;
78 }
79
80 public String getId() {
81 return id;
82 }
83
84 public void setId(String id) {
85 this.id = id;
86 }
87
88 public String getCategory() {
89 return category;
90 }
91
92 public void setCategory(String category) {
93 this.category = category;
94 }
95
96 public String getType() {
97 return type;
98 }
99
100 public void setType(String type) {
101 this.type = type;
102 }
103
104 public String getFormat() {
105 return format;
106 }
107
108 public void setFormat(String format) {
109 this.format = format;
110 }
111
112 public String getUuid() {
113 return uuid;
114 }
115
116 public void setUuid(String uuid) {
117 this.uuid = uuid;
118 }
119
120 public String getDocumentMimeType() {
121 return documentMimeType;
122 }
123
124 public void setDocumentMimeType(String documentMimeType) {
125 this.documentMimeType = documentMimeType;
126 }
127
128 public String getDocumentName() {
129 return documentName;
130 }
131
132 public void setDocumentName(String documentName) {
133 this.documentName = documentName;
134 }
135
136 public String getDocumentTitle() {
137 return documentTitle;
138 }
139
140 public void setDocumentTitle(String documentTitle) {
141 this.documentTitle = documentTitle;
142 }
143
144 public String getStatus() {
145 return status;
146 }
147
148 public void setStatus(String status) {
149 this.status = status;
150 }
151
152 public String getStatusMessage() {
153 return statusMessage;
154 }
155
156 public void setStatusMessage(String statusMessage) {
157 this.statusMessage = statusMessage;
158 }
159
160 public void addLinkedDocument(ResponseDocument responseDocument) {
161 if (!linkedDocuments.contains(responseDocument)) {
162 this.linkedDocuments.add(responseDocument);
163 }
164 }
165
166 public void addLinkedInstanseDocument(ResponseDocument responseDocument) {
167 if (!linkedInstanceDocuments.contains(responseDocument)) {
168 this.linkedInstanceDocuments.add(responseDocument);
169 }
170 }
171 }