SOAj Core v. 1.3


info.soaj.core.attribute
Class SjAttributesForAbstractPluginEmail

java.lang.Object
  extended by info.soaj.core.attribute.SjAttributesForAbstractPluginEmail
All Implemented Interfaces:
java.io.Serializable

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

This immutable attributes class provides email support. It contains values assigned programmaticaly.

The "Builder" pattern as documented by Joshua Bloch ("Effective Java" - Second Edition) is utilized to handle the variable number of required and optional parameters.

Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com .

Since:
v. 1.0
Author:
MarvinToll@gtcGroup.com
See Also:
Serialized Form

Nested Class Summary
static class SjAttributesForAbstractPluginEmail.BuilderEmail
          This static member immutable class is used to implement the builder pattern.
 
Field Summary
protected  java.lang.String emailBCC
          A comma delimited list of blind carbon copy recipients.
protected  java.lang.String[] emailBCCArray
          A string array of blind carbon copy recipients.
protected  java.lang.String emailCC
          A comma delimited list of carbon copy email recipients.
protected  java.lang.String[] emailCCArray
          A string array of blind carbon copy recipients.
protected  java.lang.String emailFromAddress
          The sender's email address.
protected  java.lang.String emailMessageAppended
          The email message for appending to declared message.
protected  java.lang.String[] emailRecipientArray
          A string array of blind carbon copy recipients.
protected  java.lang.String emailRecipients
          A comma delimited list of email recipients.
protected  java.lang.String emailSmtpHost
          The SMTP host name.
protected  java.lang.String emailSmtpPassword
          The SMTP host password.
protected  java.lang.String emailSmtpPort
          The SMTP host port.
protected  java.lang.String emailSmtpUserName
          The SMTP host user name.
protected  java.lang.String emailSocksProxyAddress
          The socks proxy address.
protected  java.lang.String emailSocksProxyPort
          The socks proxy port.
protected  java.lang.String emailSubject
          The subject.
private static long serialVersionUID
          UID
protected  boolean suppressExceptions
          Indicates whether exceptions are thrown.
 
Constructor Summary
private SjAttributesForAbstractPluginEmail(SjAttributesForAbstractPluginEmail.BuilderEmail builderEmail)
          Constructor - private
 
Method Summary
 boolean containsAuthentication()
          This method determines whether the attribute is null.
 boolean containsEmailBCC()
          This method determines whether the attribute is null.
 boolean containsEmailCC()
          This method determines whether the attribute is null.
 boolean containsEmailFromAddress()
          This method determines whether the attribute is null.
 boolean containsEmailMessage()
          This method determines whether the attribute is null.
 boolean containsEmailRecipients()
          This method determines whether the attribute is null.
 boolean containsEmailSmtpHost()
          This method determines whether the attribute is null.
 boolean containsEmailSmtpPassword()
          This method determines whether the attribute is null.
 boolean containsEmailSmtpPort()
          This method determines whether the attribute is null.
 boolean containsEmailSmtpUserName()
          This method determines whether the attribute is null.
 boolean containsEmailSocksProxyAddress()
          This method determines whether the attribute is null.
 boolean containsEmailSocksProxyPort()
          This method determines whether the attribute is null.
 boolean containsEmailSubject()
          This method determines whether the attribute is null.
 java.lang.String getEmailBCC()
          This method returns an attribute.
 java.lang.String[] getEmailBCCArray()
          This method returns an attribute.
 java.lang.String getEmailCC()
          This method returns an attribute.
 java.lang.String[] getEmailCCArray()
          This method returns an attribute.
 java.lang.String getEmailFromAddress()
          This method returns an attribute.
 java.lang.String getEmailMessage()
          This method returns an attribute.
 java.lang.String[] getEmailRecipientArray()
          This method returns an attribute.
 java.lang.String getEmailRecipients()
          This method returns an attribute.
 java.lang.String getEmailSmtpHost()
          This method returns an attribute.
 java.lang.String getEmailSmtpPassword()
          This method returns an attribute.
 java.lang.String getEmailSmtpPort()
          This method returns an attribute.
 java.lang.String getEmailSmtpUserName()
          This method returns an attribute.
 java.lang.String getEmailSocksProxyAddress()
          This method returns an attribute.
 java.lang.String getEmailSocksProxyPort()
          This method returns an attribute.
 java.lang.String getEmailSubject()
          This method returns an attribute.
 boolean isSuppressExceptions()
          This method returns an attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
UID

See Also:
Constant Field Values

emailMessageAppended

protected final java.lang.String emailMessageAppended
The email message for appending to declared message.


emailSubject

protected final java.lang.String emailSubject
The subject.


emailRecipients

protected final java.lang.String emailRecipients
A comma delimited list of email recipients.


emailRecipientArray

protected final java.lang.String[] emailRecipientArray
A string array of blind carbon copy recipients.


emailCC

protected final java.lang.String emailCC
A comma delimited list of carbon copy email recipients.


emailCCArray

protected final java.lang.String[] emailCCArray
A string array of blind carbon copy recipients.


emailBCC

protected final java.lang.String emailBCC
A comma delimited list of blind carbon copy recipients.


emailBCCArray

protected final java.lang.String[] emailBCCArray
A string array of blind carbon copy recipients.


emailFromAddress

protected final java.lang.String emailFromAddress
The sender's email address.


emailSmtpHost

protected final java.lang.String emailSmtpHost
The SMTP host name.


emailSmtpUserName

protected final java.lang.String emailSmtpUserName
The SMTP host user name.


emailSmtpPassword

protected final java.lang.String emailSmtpPassword
The SMTP host password.


emailSmtpPort

protected final java.lang.String emailSmtpPort
The SMTP host port.


emailSocksProxyAddress

protected final java.lang.String emailSocksProxyAddress
The socks proxy address.


emailSocksProxyPort

protected final java.lang.String emailSocksProxyPort
The socks proxy port.


suppressExceptions

protected final boolean suppressExceptions
Indicates whether exceptions are thrown.

Constructor Detail

SjAttributesForAbstractPluginEmail

private SjAttributesForAbstractPluginEmail(SjAttributesForAbstractPluginEmail.BuilderEmail builderEmail)
Constructor - private

Parameters:
builderEmail -
Method Detail

containsAuthentication

public boolean containsAuthentication()
This method determines whether the attribute is null.

Returns:
boolean

containsEmailBCC

public boolean containsEmailBCC()
This method determines whether the attribute is null.

Returns:
boolean

getEmailBCC

public java.lang.String getEmailBCC()
This method returns an attribute.

Returns:
String - Returns the emailBCC attribute.

getEmailBCCArray

public java.lang.String[] getEmailBCCArray()
This method returns an attribute.

Returns:
String[] - Returns the emailBCCArray attribute.

containsEmailCC

public boolean containsEmailCC()
This method determines whether the attribute is null.

Returns:
boolean

getEmailCC

public java.lang.String getEmailCC()
This method returns an attribute.

Returns:
String - Returns the emailCC attribute.

getEmailCCArray

public java.lang.String[] getEmailCCArray()
This method returns an attribute.

Returns:
String[] - Returns the emailCCArray attribute.

containsEmailRecipients

public boolean containsEmailRecipients()
This method determines whether the attribute is null.

Returns:
boolean

getEmailRecipients

public java.lang.String getEmailRecipients()
This method returns an attribute.

Returns:
String - Returns the emailRecipients attribute.

getEmailRecipientArray

public java.lang.String[] getEmailRecipientArray()
This method returns an attribute.

Returns:
String[] - Returns the emailRecipientArray attribute.

containsEmailFromAddress

public boolean containsEmailFromAddress()
This method determines whether the attribute is null.

Returns:
boolean

getEmailFromAddress

public java.lang.String getEmailFromAddress()
This method returns an attribute.

Returns:
String - Returns the emailFromAddress attribute.

containsEmailMessage

public boolean containsEmailMessage()
This method determines whether the attribute is null.

Returns:
boolean

getEmailMessage

public java.lang.String getEmailMessage()
This method returns an attribute.

Returns:
String - Returns the emailMessageAppended attribute.

containsEmailSmtpPassword

public boolean containsEmailSmtpPassword()
This method determines whether the attribute is null.

Returns:
boolean

getEmailSmtpPassword

public java.lang.String getEmailSmtpPassword()
This method returns an attribute.

Returns:
String - Returns the emailSmtpPassword attribute.

containsEmailSmtpHost

public boolean containsEmailSmtpHost()
This method determines whether the attribute is null.

Returns:
boolean

getEmailSmtpHost

public java.lang.String getEmailSmtpHost()
This method returns an attribute.

Returns:
String - Returns the emailSmtpHost attribute.

containsEmailSmtpPort

public boolean containsEmailSmtpPort()
This method determines whether the attribute is null.

Returns:
boolean

getEmailSmtpPort

public java.lang.String getEmailSmtpPort()
This method returns an attribute.

Returns:
String - Returns the emailSmtpPort attribute.

containsEmailSubject

public boolean containsEmailSubject()
This method determines whether the attribute is null.

Returns:
boolean

getEmailSubject

public java.lang.String getEmailSubject()
This method returns an attribute.

Returns:
String - Returns the emailSubject attribute.

containsEmailSmtpUserName

public boolean containsEmailSmtpUserName()
This method determines whether the attribute is null.

Returns:
boolean

getEmailSmtpUserName

public java.lang.String getEmailSmtpUserName()
This method returns an attribute.

Returns:
String - Returns the emailSmtpUserName attribute.

containsEmailSocksProxyAddress

public boolean containsEmailSocksProxyAddress()
This method determines whether the attribute is null.

Returns:
boolean

getEmailSocksProxyAddress

public java.lang.String getEmailSocksProxyAddress()
This method returns an attribute.

Returns:
String - Returns the emailSocksProxyAddress attribute.

containsEmailSocksProxyPort

public boolean containsEmailSocksProxyPort()
This method determines whether the attribute is null.

Returns:
boolean

getEmailSocksProxyPort

public java.lang.String getEmailSocksProxyPort()
This method returns an attribute.

Returns:
String - Returns the emailSocksProxyPort attribute.

isSuppressExceptions

public boolean isSuppressExceptions()
This method returns an attribute.

Returns:
boolean - Returns the suppressExceptions attribute.

SOAj Core v. 1.3


Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.