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.kcb.api.message;
17  
18  import java.io.Serializable;
19  
20  import org.apache.commons.lang.builder.ReflectionToStringBuilder;
21  
22  
23  /**
24   * Message value object for published API  
25   * 
26   * @author Kuali Rice Team (rice.collab@kuali.org)
27   */
28  public class MessageDTO implements Serializable {
29  	private static final long serialVersionUID = 1L;
30  	
31      private String deliveryType;
32      private String title;
33      private String channel;
34      private String producer;
35      private String content;
36      private String contentType;
37      private String recipient;
38      private String url;
39      private String originId;
40  
41      public String getDeliveryType() {
42          return this.deliveryType;
43      }
44      public void setDeliveryType(String deliveryType) {
45          this.deliveryType = deliveryType;
46      }
47      public String getTitle() {
48          return this.title;
49      }
50      public void setTitle(String title) {
51          this.title = title;
52      }
53      public String getContent() {
54          return this.content;
55      }
56      public void setContent(String content) {
57          this.content = content;
58      }
59      public String getContentType() {
60          return this.contentType;
61      }
62      public void setContentType(String contentType) {
63          this.contentType = contentType;
64      }
65      public String getRecipient() {
66          return this.recipient;
67      }
68      public void setRecipient(String recipient) {
69          this.recipient = recipient;
70      }
71      public String getChannel() {
72          return this.channel;
73      }
74      public void setChannel(String channel) {
75          this.channel = channel;
76      }
77      public String getProducer() {
78          return this.producer;
79      }
80      public void setProducer(String producer) {
81          this.producer = producer;
82      }
83      public String getUrl() {
84          return this.url;
85      }
86      public void setUrl(String url) {
87          this.url = url;
88      }
89      public String getOriginId() {
90          return this.originId;
91      }
92      public void setOriginId(String originId) {
93          this.originId = originId;
94      }
95      
96      public String toString() {
97          return ReflectionToStringBuilder.toString(this);
98      }
99  }