com.konakart.app
Class Email

java.lang.Object
  extended by com.konakart.app.Email
All Implemented Interfaces:
EmailIf

public class Email
extends java.lang.Object
implements EmailIf

An object used to describe the content of an eMail.


Constructor Summary
Email()
          Constructor
Email(java.lang.String address, java.lang.String subject, java.lang.String body)
          Constructor
 
Method Summary
 java.lang.String getAddress()
          The destination address of the eMail
 java.lang.String getBody()
          The content of the eMail
 java.lang.String getSubject()
          The subject of the eMail
 void setAddress(java.lang.String address)
          The destination address of the eMail
 void setBody(java.lang.String body)
          The content of the eMail
 void setSubject(java.lang.String subject)
          The subject of the eMail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Email

public Email()
Constructor


Email

public Email(java.lang.String address,
             java.lang.String subject,
             java.lang.String body)
Constructor

Parameters:
address - email address
subject - subject of email
body - content of email
Method Detail

getSubject

public java.lang.String getSubject()
Description copied from interface: EmailIf
The subject of the eMail

Specified by:
getSubject in interface EmailIf
Returns:
Returns the subject.

setSubject

public void setSubject(java.lang.String subject)
Description copied from interface: EmailIf
The subject of the eMail

Specified by:
setSubject in interface EmailIf
Parameters:
subject - The subject to set.

getBody

public java.lang.String getBody()
Description copied from interface: EmailIf
The content of the eMail

Specified by:
getBody in interface EmailIf
Returns:
Returns the body.

setBody

public void setBody(java.lang.String body)
Description copied from interface: EmailIf
The content of the eMail

Specified by:
setBody in interface EmailIf
Parameters:
body - The body to set.

getAddress

public java.lang.String getAddress()
Description copied from interface: EmailIf
The destination address of the eMail

Specified by:
getAddress in interface EmailIf
Returns:
Returns the address.

setAddress

public void setAddress(java.lang.String address)
Description copied from interface: EmailIf
The destination address of the eMail

Specified by:
setAddress in interface EmailIf
Parameters:
address - The address to set.


Copyright © 2011 DS Data Systems UK Ltd.