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/7/11
25 * Time: 1:18 PM
26 * To change this template use File | Settings | File Templates.
27 */
28 public class Request {
29
30 public enum Operation {
31 ingest, bulkIngest, checkIn, checkOut, delete, deleteWithLinkedDocs , bind, unbind, transfer
32 }
33
34 private List<RequestDocument> requestDocuments = new ArrayList<RequestDocument>();
35 private String user;
36 private String operation;
37
38 public String getUser() {
39 return user;
40 }
41
42 public void setUser(String user) {
43 this.user = user;
44 }
45
46 public String getOperation() {
47 return operation;
48 }
49
50 public void setOperation(String operation) {
51 this.operation = operation;
52 }
53
54 public List<RequestDocument> getRequestDocuments() {
55 return requestDocuments;
56 }
57
58 public void setRequestDocuments(List<RequestDocument> requestDocuments) {
59 this.requestDocuments = requestDocuments;
60 }
61
62 }