public interface MessageQuery extends Serializable
| Modifier and Type | Method and Description | 
|---|---|
| Calendar | getFromTime()Get the start date and time for this query. | 
| Address | getRecipient()Get the address of the recipient. | 
| Address | getSender()Get the address of the sender. | 
| Calendar | getToTime()Get the end date and time for this query. | 
| void | setFromTime(Calendar fromTime)Set the start date and time for this query. | 
| void | setRecipient(Address recipient)Set the address of the recipient. | 
| void | setSender(Address sender)Set the address of the sender. | 
| void | setToTime(Calendar toTime)Set the end date and time for this query. | 
Address getRecipient()
void setRecipient(Address recipient)
recipient - the recipient address to set.Address getSender()
void setSender(Address sender)
sender - the sender address to set.Calendar getFromTime()
void setFromTime(Calendar fromTime)
fromTime - the start date and time to set.Calendar getToTime()
void setToTime(Calendar toTime)
toTime - the end date and time to set.Copyright © 2009,2014 Oracle and/or its affiliates. All rights reserved.