net.rim.pushsdk.pap.unmarshal
Class CancelResult

java.lang.Object
  extended by net.rim.pushsdk.pap.unmarshal.ResponseResult
      extended by net.rim.pushsdk.pap.unmarshal.CancelResult

public class CancelResult
extends ResponseResult

Represents a result within a CancelResponse.

Author:
mdicesare

Constructor Summary
CancelResult()
          Default cancel result constructor.
 
Method Summary
 void addAddress(String address)
          Adds an address to the address list associated with the cancel result.
 AddressList getAddresses()
          Deprecated. As of release 1.1, replaced by getAddressList().
 List<String> getAddressList()
          Gets the address list associated with the cancel result.
 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 cancel result.
 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

CancelResult

public CancelResult()
Default cancel result constructor.

Method Detail

getAddresses

@Deprecated
public AddressList getAddresses()
Deprecated. As of release 1.1, replaced by getAddressList().

Gets the address list associated with the cancel result.

Returns:
the address list

getAddressList

public List<String> getAddressList()
Gets the address list associated with the cancel result.

Returns:
the list of addresses
Since:
1.1

setAddresses

@Deprecated
public void setAddresses(AddressList addresses)
Deprecated. As of release 1.1, replaced by setAddressList(List).

Sets the address list associated with the cancel result.

Parameters:
addresses - the address list

setAddressList

public void setAddressList(List<String> addresses)
Sets the address list associated with the cancel result.

Parameters:
addresses - the address list
Since:
1.1

addAddress

public void addAddress(String address)
Adds an address to the address list associated with the cancel result.

Parameters:
address - an address

toString

public String toString()
Constructs a String with all attributes in name = value format.

Overrides:
toString in class ResponseResult
Returns:
a String representation of this object.


Copyright © 2011 Research In Motion. All Rights Reserved.