001/** 002 * Copyright 2005-2018 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 */ 016package org.kuali.rice.kcb.api.message; 017 018import java.io.Serializable; 019 020import org.apache.commons.lang.builder.ReflectionToStringBuilder; 021 022 023/** 024 * Message value object for published API 025 * 026 * @author Kuali Rice Team (rice.collab@kuali.org) 027 */ 028public class MessageDTO implements Serializable { 029 private static final long serialVersionUID = 1L; 030 031 private String deliveryType; 032 private String title; 033 private String channel; 034 private String producer; 035 private String content; 036 private String contentType; 037 private String recipient; 038 private String url; 039 private String originId; 040 041 public String getDeliveryType() { 042 return this.deliveryType; 043 } 044 public void setDeliveryType(String deliveryType) { 045 this.deliveryType = deliveryType; 046 } 047 public String getTitle() { 048 return this.title; 049 } 050 public void setTitle(String title) { 051 this.title = title; 052 } 053 public String getContent() { 054 return this.content; 055 } 056 public void setContent(String content) { 057 this.content = content; 058 } 059 public String getContentType() { 060 return this.contentType; 061 } 062 public void setContentType(String contentType) { 063 this.contentType = contentType; 064 } 065 public String getRecipient() { 066 return this.recipient; 067 } 068 public void setRecipient(String recipient) { 069 this.recipient = recipient; 070 } 071 public String getChannel() { 072 return this.channel; 073 } 074 public void setChannel(String channel) { 075 this.channel = channel; 076 } 077 public String getProducer() { 078 return this.producer; 079 } 080 public void setProducer(String producer) { 081 this.producer = producer; 082 } 083 public String getUrl() { 084 return this.url; 085 } 086 public void setUrl(String url) { 087 this.url = url; 088 } 089 public String getOriginId() { 090 return this.originId; 091 } 092 public void setOriginId(String originId) { 093 this.originId = originId; 094 } 095 096 public String toString() { 097 return ReflectionToStringBuilder.toString(this); 098 } 099}