org.gsm.oneapi.responsebean.mms
Class DeliveryInfoList.DeliveryInfo

java.lang.Object
  extended by org.gsm.oneapi.responsebean.mms.DeliveryInfoList.DeliveryInfo
Enclosing class:
DeliveryInfoList

public static class DeliveryInfoList.DeliveryInfo
extends java.lang.Object

The inner class DeliveryInfo contains pairings of the recipient address and a textual delivery status


Constructor Summary
DeliveryInfoList.DeliveryInfo()
          default constructor
DeliveryInfoList.DeliveryInfo(java.lang.String address, java.lang.String deliveryStatus)
          utility constructor to create a DeliveryInfo instance with all fields set
 
Method Summary
 java.lang.String getAddress()
          return the address of the recipient (normally MSISDN)
 java.lang.String getDeliveryStatus()
          return the delivery status for this recipient
 void setAddress(java.lang.String address)
          set the recipient address.
 void setDeliveryStatus(java.lang.String deliveryStatus)
          set the deliveryStatus.
 java.lang.String toString()
          generate a textual representation of the DeliveryInfo contents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeliveryInfoList.DeliveryInfo

public DeliveryInfoList.DeliveryInfo()
default constructor


DeliveryInfoList.DeliveryInfo

public DeliveryInfoList.DeliveryInfo(java.lang.String address,
                                     java.lang.String deliveryStatus)
utility constructor to create a DeliveryInfo instance with all fields set

Parameters:
address -
deliveryStatus -
Method Detail

getAddress

public java.lang.String getAddress()
return the address of the recipient (normally MSISDN)


getDeliveryStatus

public java.lang.String getDeliveryStatus()
return the delivery status for this recipient


setAddress

public void setAddress(java.lang.String address)
set the recipient address. This is called internally to set the contents according to the JSON response.


setDeliveryStatus

public void setDeliveryStatus(java.lang.String deliveryStatus)
set the deliveryStatus. This is called internally to set the contents according to the JSON response.


toString

public java.lang.String toString()
generate a textual representation of the DeliveryInfo contents

Overrides:
toString in class java.lang.Object