View Javadoc

1   /*
2    * Copyright 2011 The Kuali Foundation.
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.ole.docstore.model.xmlpojo.ingest;
17  
18  import java.util.ArrayList;
19  import java.util.List;
20  
21  /**
22   * Created by IntelliJ IDEA.
23   * User: pvsubrah
24   * Date: 9/14/11
25   * Time: 12:27 AM
26   * To change this template use File | Settings | File Templates.
27   */
28  public class Response {
29  
30      public static final String FAILURE = "Failure";
31  
32      private List<ResponseDocument> documents = new ArrayList<ResponseDocument>();
33      private List<LinkInformation> linkInformation;
34      private String user;
35      private String operation;
36      private String status;
37      private String message;
38      private String statusMessage;
39  
40  
41       public List<ResponseDocument> getDocuments() {
42          return documents;
43      }
44  
45      public void setDocuments(List<ResponseDocument> documents) {
46          this.documents = documents;
47      }
48  
49      public String getStatus() {
50          return status;
51      }
52  
53      public void setStatus(String status) {
54          this.status = status;
55      }
56  
57      public String getMessage() {
58          return message;
59      }
60  
61      public void setMessage(String message) {
62          this.message = message;
63      }
64  
65      public String getUser() {
66          return user;
67      }
68  
69      public void setUser(String user) {
70          this.user = user;
71      }
72  
73      public String getOperation() {
74          return operation;
75      }
76  
77      public void setOperation(String operation) {
78          this.operation = operation;
79      }
80  
81      public List<LinkInformation> getLinkInformation() {
82          return linkInformation;
83      }
84  
85      public void setLinkInformation(List<LinkInformation> linkInformation) {
86          this.linkInformation = linkInformation;
87      }
88  
89      public String getStatusMessage() {
90          return statusMessage;
91      }
92  
93      public void setStatusMessage(String statusMessage) {
94          this.statusMessage = statusMessage;
95      }
96  }