|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectejel.Recipient
public class Recipient
Represents a recipient's email address
| Constructor Summary | |
|---|---|
Recipient(java.lang.String email)
The Recipient constructor |
|
Recipient(java.lang.String email,
long id)
The Recipient constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getEmailAddress()
Gets the Recipient object email address |
long |
getID()
Gets the optional ID for the email record on a database for example |
boolean |
isSent()
Checks if the email is sent to that Recipient |
void |
setSentStatus()
Sets to true the sent status. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Recipient(java.lang.String email)
throws java.lang.IllegalArgumentException
email - The Recipient object email address
java.lang.IllegalArgumentException
public Recipient(java.lang.String email,
long id)
throws java.lang.IllegalArgumentException
email - The Recipient object email addressid - Optional ID for the email record on a database for example
java.lang.IllegalArgumentException| Method Detail |
|---|
public long getID()
public java.lang.String getEmailAddress()
public void setSentStatus()
public boolean isSent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||