pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.configuration
Class EmailAddressConfiguration

java.lang.Object
  extended by org.torweg.pulse.configuration.EmailAddressConfiguration
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SendReportEmailJobletConfiguration.ReportEmailAddressConfiguration

public class EmailAddressConfiguration
extends java.lang.Object
implements java.io.Serializable

A configuration for an email address.

Version:
$Revision: 1490 $
Author:
Thomas Weber, Christian Schatt
See Also:
Serialized Form

Constructor Summary
protected EmailAddressConfiguration()
          The default constructor.
  EmailAddressConfiguration(java.lang.String a, java.lang.String n)
          The constructor that sets the email address and the real name.
 
Method Summary
 java.lang.String getEmailAddress()
          Returns the email address.
 javax.mail.internet.InternetAddress getInternetAddress()
          Returns the InternetAddress specified by the EmailAddressConfiguration.
 java.lang.String getRealName()
          Returns the real name.
protected  void setEmailAddress(java.lang.String a)
          Sets the email address.
protected  void setRealName(java.lang.String n)
          Sets the real name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailAddressConfiguration

protected EmailAddressConfiguration()
The default constructor.


EmailAddressConfiguration

public EmailAddressConfiguration(java.lang.String a,
                                 java.lang.String n)
The constructor that sets the email address and the real name.

Parameters:
a - the email address to set
n - the real name to set
Method Detail

getEmailAddress

public final java.lang.String getEmailAddress()
Returns the email address.

Returns:
the email address

setEmailAddress

protected final void setEmailAddress(java.lang.String a)
Sets the email address.

Parameters:
a - the email address to set

getRealName

public final java.lang.String getRealName()
Returns the real name.

Returns:
the real name

setRealName

protected final void setRealName(java.lang.String n)
Sets the real name.

Parameters:
n - the real name to set

getInternetAddress

public final javax.mail.internet.InternetAddress getInternetAddress()
Returns the InternetAddress specified by the EmailAddressConfiguration.

Returns:
the InternetAddress