1 /** 2 * Copyright 2005-2014 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.rice.ksb.messaging.remotedservices; 17 18 import java.util.ArrayList; 19 import java.util.List; 20 21 import javax.xml.bind.annotation.XmlRootElement; 22 23 /** 24 * Interface for an inbox 25 * 26 * @author Kuali Rice Team (rice.collab@kuali.org) 27 * 28 */ 29 @XmlRootElement 30 public class Inbox { 31 32 private String id; 33 private String owner; 34 private List<String> messages; 35 36 public Inbox() { 37 this.messages = new ArrayList<String>(); 38 } 39 40 /** 41 * @return the id 42 */ 43 public String getId() { 44 return this.id; 45 } 46 /** 47 * @param id the id to set 48 */ 49 public void setId(String id) { 50 this.id = id; 51 } 52 /** 53 * @return the owner 54 */ 55 public String getOwner() { 56 return this.owner; 57 } 58 /** 59 * @param owner the owner to set 60 */ 61 public void setOwner(String owner) { 62 this.owner = owner; 63 } 64 /** 65 * @return the messages 66 */ 67 public List<String> getMessages() { 68 return this.messages; 69 } 70 /** 71 * @param messages the messages to set 72 */ 73 public void setMessages(List<String> messages) { 74 this.messages = messages; 75 } 76 77 }