package org.beanfuse.notification; import java.util.Properties; //$Id:AbstractMessage.java Mar 22, 2009 11:56:08 AM chaostone Exp $ /* * Copyright c 2005-2009. * * Licensed under the GPL License, Version 2.0 (the "License") * http://www.gnu.org/licenses/gpl-2.0.html * */ public abstract class AbstractMessage implements Message { private String subject; private String text; private Properties properties = new Properties(); private String contentType = TEXT; public String getContentType() { return contentType; } public void setContentType(String contentType) { this.contentType = contentType; } public Properties getProperties() { return properties; } public String getSubject() { return subject; } public void setSubject(String subject) { this.subject = subject; } public String getText() { return text; } public void setText(String text) { this.text = text; } public void setProperties(Properties properties) { this.properties = properties; } }