com.isti.quakewatch.alertemail
Class AlertEmailBasicMessage

java.lang.Object
  extended by com.isti.quakewatch.alertemail.AlertEmailBasicMessage
All Implemented Interfaces:
AlertEmailMessageInterface

public class AlertEmailBasicMessage
extends java.lang.Object
implements AlertEmailMessageInterface

Class AlertEmailBasicMessage defines an alert email basic message.


Constructor Summary
AlertEmailBasicMessage(java.lang.String subjectTextString, java.lang.String messageTextString)
          Creates an alert email basic message.
 
Method Summary
 java.lang.String getMessageTextString()
          Returns the text for the body of the email message.
 java.lang.String getSubjectTextString()
          Returns the text for the subject of the email message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertEmailBasicMessage

public AlertEmailBasicMessage(java.lang.String subjectTextString,
                              java.lang.String messageTextString)
Creates an alert email basic message.

Parameters:
subjectTextString - the subject text string.
messageTextString - the message text string.
Method Detail

getSubjectTextString

public java.lang.String getSubjectTextString()
Returns the text for the subject of the email message.

Specified by:
getSubjectTextString in interface AlertEmailMessageInterface
Returns:
The text for the subject of the email message.

getMessageTextString

public java.lang.String getMessageTextString()
Returns the text for the body of the email message.

Specified by:
getMessageTextString in interface AlertEmailMessageInterface
Returns:
The text for the body of the email message.