001    /**
002     * Copyright 2005-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     */
016    package org.kuali.rice.ksb.messaging.remotedservices;
017    
018    import java.util.ArrayList;
019    import java.util.List;
020    
021    import javax.xml.bind.annotation.XmlRootElement;
022    
023    /**
024     * Interface for an inbox
025     *
026     * @author Kuali Rice Team (rice.collab@kuali.org)
027     *
028     */
029    @XmlRootElement
030    public class Inbox {
031    
032            private String id;
033            private String owner;
034            private List<String> messages;
035    
036            public Inbox() {
037                    this.messages = new ArrayList<String>();
038            }
039    
040            /**
041             * @return the id
042             */
043            public String getId() {
044                    return this.id;
045            }
046            /**
047             * @param id the id to set
048             */
049            public void setId(String id) {
050                    this.id = id;
051            }
052            /**
053             * @return the owner
054             */
055            public String getOwner() {
056                    return this.owner;
057            }
058            /**
059             * @param owner the owner to set
060             */
061            public void setOwner(String owner) {
062                    this.owner = owner;
063            }
064            /**
065             * @return the messages
066             */
067            public List<String> getMessages() {
068                    return this.messages;
069            }
070            /**
071             * @param messages the messages to set
072             */
073            public void setMessages(List<String> messages) {
074                    this.messages = messages;
075            }
076    
077    }