View Javadoc

1   /**
2    * Copyright 2005-2013 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 javax.xml.bind.annotation.XmlRootElement;
19  
20  /**
21   * A Message
22   *
23   * @author Kuali Rice Team (rice.collab@kuali.org)
24   *
25   */
26  @XmlRootElement
27  public class Message {
28  
29  	private String id;
30  	private String subject;
31  	private String text;
32  	private String recipient;
33  	private String sender;
34  
35  	public Message() { }
36  
37  	/**
38  	 * @return the subject
39  	 */
40  	public String getSubject() {
41  		return this.subject;
42  	}
43  
44  	/**
45  	 * @param subject the subject to set
46  	 */
47  	public void setSubject(String subject) {
48  		this.subject = subject;
49  	}
50  
51  	/**
52  	 * @return the text
53  	 */
54  	public String getText() {
55  		return this.text;
56  	}
57  
58  	/**
59  	 * @param text the text to set
60  	 */
61  	public void setText(String text) {
62  		this.text = text;
63  	}
64  
65  	/**
66  	 * @return the recipient
67  	 */
68  	public String getRecipient() {
69  		return this.recipient;
70  	}
71  
72  	/**
73  	 * @param recipient the recipient to set
74  	 */
75  	public void setRecipient(String recipient) {
76  		this.recipient = recipient;
77  	}
78  
79  	/**
80  	 * @return the sender
81  	 */
82  	public String getSender() {
83  		return this.sender;
84  	}
85  
86  	/**
87  	 * @param sender the sender to set
88  	 */
89  	public void setSender(String sender) {
90  		this.sender = sender;
91  	}
92  
93  	/**
94  	 * @return the id
95  	 */
96  	public String getId() {
97  		return this.id;
98  	}
99  
100 	/**
101 	 * @param id the id to set
102 	 */
103 	public void setId(String id) {
104 		this.id = id;
105 	}
106 
107 
108 }