/** * Copyright (c) 2008-2010 The Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.osedu.org/licenses/ECL-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.sakaiproject.profile2.tool.models; import java.io.Serializable; /** * A helper model that contains all fields that a new message should contain. * This is not persisted - it is separated out into its constituent parts instead. * * * @author Steve Swinsburg (steve.swinsburg@gmail.com) */ public class NewMessageModel implements Serializable { private static final long serialVersionUID = 1L; private String to; private String from; private String subject; private String message; /** * No arg constructor */ public NewMessageModel() { } public String getTo() { return to; } public void setTo(String to) { this.to = to; } public String getFrom() { return from; } public void setFrom(String from) { this.from = from; } 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; } }