
se.vgregion.webbisar.presentation.MailMessageBean Maven / Gradle / Ivy
The newest version!
/**
* Copyright 2010 Västra Götalandsregionen
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of version 2.1 of the GNU Lesser General Public
* License as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA
*
*/
package se.vgregion.webbisar.presentation;
import java.io.Serializable;
public class MailMessageBean implements Serializable {
private static final long serialVersionUID = 1L;
private String subject;
private String message;
private String recipientAddresses;
private String senderAddress;
private String senderName;
public String getRecipientAddresses() {
return recipientAddresses;
}
public void setRecipientAddresses(String recipientAddresses) {
this.recipientAddresses = recipientAddresses;
}
public String getSubject() {
return subject;
}
public void setSubject(String subject) {
this.subject = subject;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getSenderAddress() {
return senderAddress;
}
public void setSenderAddress(String senderAddress) {
this.senderAddress = senderAddress;
}
public String getSenderName() {
return senderName;
}
public void setSenderName(String senderName) {
this.senderName = senderName;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("recipientAddresses=[").append(recipientAddresses);
sb.append("], subject=").append(subject);
sb.append(", message=").append(message);
sb.append(", senderName=").append(senderName);
sb.append(", senderAddress=").append(senderAddress);
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy