|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.datamanager.passiveentityvalue.EmailParametersEntityValue
This class represents the various JavaMail email account configuration settings for a user's email account. Encapsulates a String username, PasswordEntityValue, String host machine name, String access protocol, String mailbox name, String from address and String SMTP Host.
Constructor Summary | |
EmailParametersEntityValue(String username,
PasswordEntityValue passwordEntityValue,
String hostMachineName,
String accessProtocolName,
String mailboxName,
String fromAddress,
String SMTPHost)
|
Method Summary | |
boolean |
equals(Object object)
Compares the specified Object with this EmailParametersEntityValue for equality. |
String |
getAccessProtocolName()
Returns a String representation of the access protocol ("imap", "imaps", "pop3", etc.) to be used when connecting to the host machine. |
String |
getFromAddress()
Returns the address the user would like outgoing email to be sent as from. |
String |
getHostMachineName()
Returns a String representation of the host machine to which this EmailParametersEntityValue can connect. |
String |
getMailboxName()
Returns the name of the mailbox data store to be opened after connecting to the host machine. |
PasswordEntityValue |
getPasswordEntityValue()
Returns the PasswordEntityValue encapsulated by this EmailParametersEntityValue. |
String |
getSMTPHost()
Returns the SMTP host to which outgoing mail is delivered. |
String |
getUsername()
Returns the String username encapsulated by this EmailParametersEntityValue. |
int |
hashCode()
Returns the int hashCode() of this EmailParametersEntityValue. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmailParametersEntityValue(String username, PasswordEntityValue passwordEntityValue, String hostMachineName, String accessProtocolName, String mailboxName, String fromAddress, String SMTPHost)
Method Detail |
public String getUsername()
public PasswordEntityValue getPasswordEntityValue()
public String getHostMachineName()
public String getAccessProtocolName()
public String getMailboxName()
public String getFromAddress()
public String getSMTPHost()
public boolean equals(Object object)
equals()
with all
fields of this EmailParametersEntityValue. It is expected that all
member fields for EmailParametersEntityValue
-s override
Object's equals()
method.
equals
in interface PassiveEntityValue
equals
in class Object
public int hashCode()
int hashCode()
of this EmailParametersEntityValue.
FIXME: this doesn't include from address and stmp host, should it?
hashCode
in interface PassiveEntityValue
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |