001/* 002 * Copyright 2011 The Kuali Foundation. 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.ole.docstore.model.xmlpojo.ingest; 017 018import java.util.ArrayList; 019import java.util.List; 020 021/** 022 * Created by IntelliJ IDEA. 023 * User: pvsubrah 024 * Date: 9/14/11 025 * Time: 12:27 AM 026 * To change this template use File | Settings | File Templates. 027 */ 028public class Response { 029 030 public static final String FAILURE = "Failure"; 031 032 private List<ResponseDocument> documents = new ArrayList<ResponseDocument>(); 033 private List<LinkInformation> linkInformation; 034 private String user; 035 private String operation; 036 private String status; 037 private String message; 038 private String statusMessage; 039 040 041 public List<ResponseDocument> getDocuments() { 042 return documents; 043 } 044 045 public void setDocuments(List<ResponseDocument> documents) { 046 this.documents = documents; 047 } 048 049 public String getStatus() { 050 return status; 051 } 052 053 public void setStatus(String status) { 054 this.status = status; 055 } 056 057 public String getMessage() { 058 return message; 059 } 060 061 public void setMessage(String message) { 062 this.message = message; 063 } 064 065 public String getUser() { 066 return user; 067 } 068 069 public void setUser(String user) { 070 this.user = user; 071 } 072 073 public String getOperation() { 074 return operation; 075 } 076 077 public void setOperation(String operation) { 078 this.operation = operation; 079 } 080 081 public List<LinkInformation> getLinkInformation() { 082 return linkInformation; 083 } 084 085 public void setLinkInformation(List<LinkInformation> linkInformation) { 086 this.linkInformation = linkInformation; 087 } 088 089 public String getStatusMessage() { 090 return statusMessage; 091 } 092 093 public void setStatusMessage(String statusMessage) { 094 this.statusMessage = statusMessage; 095 } 096}