|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.query.subscription.SubscriptionQueryResult
public class SubscriptionQueryResult
Represents a result within a subscription query response.
| Field Summary | |
|---|---|
static String |
QUERY_RESULT_TAG
The subscription query result XML tag. |
static String |
STATUS_ATTR
The status XML attribute. |
| Constructor Summary | |
|---|---|
SubscriptionQueryResult()
Constructs a subscription query result. |
|
SubscriptionQueryResult(String address,
SubQueryResultStatus status)
Constructs a subscription query result with the given address (e.g. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if two subscription query results are found to be equal and false otherwise. |
String |
getAddress()
Gets the address (e.g. |
Date |
getEventTime()
Gets the date and time at which the subscription record in the PPG was last modified. |
SubQueryResultStatus |
getStatus()
Gets the status associated with the address. |
int |
hashCode()
Returns a hashcode for this subscription query result. |
void |
setAddress(String address)
Sets the address (e.g. |
void |
setEventTime(Date eventTime)
Sets the date and time at which the subscription record in the PPG was last modified. |
void |
setStatus(SubQueryResultStatus status)
Sets the status associated with the address. |
String |
toString()
Constructs a String with all attributes in name = value format. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String QUERY_RESULT_TAG
public static final String STATUS_ATTR
| Constructor Detail |
|---|
public SubscriptionQueryResult()
public SubscriptionQueryResult(String address,
SubQueryResultStatus status)
address - the address corresponding to a subscriber (e.g. PIN)status - the status of the matching subscriber| Method Detail |
|---|
public Date getEventTime()
public void setEventTime(Date eventTime)
eventTime - the date at which the subscription record in the PPG was last modifiedpublic String getAddress()
public void setAddress(String address)
address - the address of a subscriberpublic SubQueryResultStatus getStatus()
public void setStatus(SubQueryResultStatus status)
status - the statuspublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
String with all attributes in name = value format.
toString in class ObjectString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||