|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.pap.unmarshal.ResponseResult
net.rim.pushsdk.pap.unmarshal.StatusQueryResult
public class StatusQueryResult
Represents a result within a StatusQueryResponse.
| Constructor Summary | |
|---|---|
StatusQueryResult()
Default status query result constructor. |
|
| Method Summary | |
|---|---|
void |
addAddress(String address)
Adds an address to the addresses associated with the status query operation. |
AddressList |
getAddresses()
Deprecated. As of release 1.1, replaced by getAddressList(). |
List<String> |
getAddressList()
Gets the address list associated with the status query operation. |
Date |
getEventTime()
Gets the date and time at which the push message reached its final state. |
MessageState |
getMessageState()
Gets the state of the push message. |
QualityOfService |
getQualityOfService()
Gets the quality of service of the push message. |
void |
setAddresses(AddressList addresses)
Deprecated. As of release 1.1, replaced by setAddressList(List). |
void |
setAddressList(List<String> addresses)
Sets the address list associated with the status query operation. |
void |
setEventTime(Date eventTime)
Sets the date and time at which the push message reached its final state. |
void |
setMessageState(MessageState messageState)
Sets the state of the push message. |
void |
setQualityOfService(QualityOfService qualityOfService)
Sets the quality of service of the push message. |
String |
toString()
Constructs a String with all attributes in name = value format. |
| Methods inherited from class net.rim.pushsdk.pap.unmarshal.ResponseResult |
|---|
getCode, getDescription, setCode, setDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatusQueryResult()
| Method Detail |
|---|
public Date getEventTime()
public void setEventTime(Date eventTime)
eventTime - the date at which the push message reached its final statepublic MessageState getMessageState()
public void setMessageState(MessageState messageState)
messageState - the state of the push messagepublic QualityOfService getQualityOfService()
public void setQualityOfService(QualityOfService qualityOfService)
qualityOfService - the quality of service of the push message@Deprecated public AddressList getAddresses()
getAddressList().
public List<String> getAddressList()
@Deprecated public void setAddresses(AddressList addresses)
setAddressList(List).
addresses - the addresses of the status query operationpublic void setAddressList(List<String> addresses)
addresses - the address listpublic void addAddress(String address)
address - the address to be addedpublic String toString()
String with all attributes in name = value format.
toString in class ResponseResultString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||