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
31 public String getVersion() {
32 return version;
33 }
34
35 public void setVersion(String version) {
36 this.version = version;
37 }
38
39 public List<ResponseDocument> getLinkedInstanceDocuments() {
40 return linkedInstanceDocuments;
41 }
42
43 public void setLinkedInstanceDocuments(List<ResponseDocument> linkedInstanceDocuments) {
44 this.linkedInstanceDocuments = linkedInstanceDocuments;
45 }
46
47 public List<ResponseDocument> getLinkedDocuments() {
48 return linkedDocuments;
49 }
50
51 public void setLinkedDocuments(List<ResponseDocument> linkedDocuments) {
52 this.linkedDocuments = linkedDocuments;
53 }
54
55 public Content getContent() {
56 return content;
57 }
58
59 public void setContent(Content content) {
60 this.content = content;
61 }
62
63 public List<LinkInformation> getLinkInformation() {
64 return linkInformation;
65 }
66
67 public void setLinkInformation(List<LinkInformation> linkInformation) {
68 this.linkInformation = linkInformation;
69 }
70
71 public String getId() {
72 return id;
73 }
74
75 public void setId(String id) {
76 this.id = id;
77 }
78
79 public String getCategory() {
80 return category;
81 }
82
83 public void setCategory(String category) {
84 this.category = category;
85 }
86
87 public String getType() {
88 return type;
89 }
90
91 public void setType(String type) {
92 this.type = type;
93 }
94
95 public String getFormat() {
96 return format;
97 }
98
99 public void setFormat(String format) {
100 this.format = format;
101 }
102
103 public String getUuid() {
104 return uuid;
105 }
106
107 public void setUuid(String uuid) {
108 this.uuid = uuid;
109 }
110
111 public String getDocumentMimeType() {
112 return documentMimeType;
113 }
114
115 public void setDocumentMimeType(String documentMimeType) {
116 this.documentMimeType = documentMimeType;
117 }
118
119 public String getDocumentName() {
120 return documentName;
121 }
122
123 public void setDocumentName(String documentName) {
124 this.documentName = documentName;
125 }
126
127 public String getDocumentTitle() {
128 return documentTitle;
129 }
130
131 public void setDocumentTitle(String documentTitle) {
132 this.documentTitle = documentTitle;
133 }
134
135 public String getStatus() {
136 return status;
137 }
138
139 public void setStatus(String status) {
140 this.status = status;
141 }
142
143 public String getStatusMessage() {
144 return statusMessage;
145 }
146
147 public void setStatusMessage(String statusMessage) {
148 this.statusMessage = statusMessage;
149 }
150
151 public void addLinkedDocument(ResponseDocument responseDocument) {
152 if (!linkedDocuments.contains(responseDocument)) {
153 this.linkedDocuments.add(responseDocument);
154 }
155 }
156
157 public void addLinkedInstanseDocument(ResponseDocument responseDocument) {
158 if (!linkedInstanceDocuments.contains(responseDocument)) {
159 this.linkedInstanceDocuments.add(responseDocument);
160 }
161 }
162 }