|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.csapi.jr.se.mmm.MessageDescription
Specifies the properties of a message.
| Constructor Summary | |
MessageDescription()
Creates a new MessageDescription instance. |
|
MessageDescription(java.lang.String _messageID,
Address _from,
Address[] _to,
java.lang.String _subject,
java.lang.String _receivedDate,
int _size)
Creates a new MessageDescription instance. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
Address |
getFrom()
This method returns a from. |
java.lang.String |
getMessageID()
This method returns a messageID. |
java.lang.String |
getReceivedDate()
This method returns a receivedDate. |
int |
getSize()
This method returns a size. |
java.lang.String |
getSubject()
This method returns a subject. |
Address[] |
getTo()
This method returns a to. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setFrom(Address from)
This method sets a from. |
void |
setMessageID(java.lang.String messageID)
This method sets a messageID. |
void |
setReceivedDate(java.lang.String receivedDate)
This method sets a receivedDate. |
void |
setSize(int size)
This method sets a size. |
void |
setSubject(java.lang.String subject)
This method sets a subject. |
void |
setTo(Address[] to)
This method sets a to. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessageDescription()
public MessageDescription(java.lang.String _messageID,
Address _from,
Address[] _to,
java.lang.String _subject,
java.lang.String _receivedDate,
int _size)
_messageID - This is the messageID as it is used on the API to identify a message. This should not be confused with the RFC 822 "Message-ID" field body. The latter can be obtained with getMessageHeadersReq().The messageID used on the API is persistent over sessions and at least unique within the context of a mailbox._from - The address of the sender of the message_to - A set of addresses representing the primary recipients of the message._subject - Specifies the subject of the message._receivedDate - Specifies the date/time that the message was received by the messaging system._size - Specifies the size of the message in bytes.| Method Detail |
public java.lang.String getMessageID()
public Address getFrom()
public Address[] getTo()
public java.lang.String getSubject()
public java.lang.String getReceivedDate()
public int getSize()
public void setMessageID(java.lang.String messageID)
public void setFrom(Address from)
public void setTo(Address[] to)
public void setSubject(java.lang.String subject)
public void setReceivedDate(java.lang.String receivedDate)
public void setSize(int size)
public boolean equals(java.lang.Object o)
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||