|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.panama.messaging.push.AddressData
oracle.panama.messaging.push.DeviceAddressData
oracle.panama.messaging.push.PhoneAddressData
International phone number class One international phone number has three parts: country code, area code and local number. Please use <country code>-<area code>-<local number> format. Use digits only in each part.
Note:
Never access any public data fields inside this class directly, because they are for internal use in this release and will be changed in coming releases. Always use public methods of this class.
Field Summary | |
java.lang.String |
addressType |
Fields inherited from class oracle.panama.messaging.push.AddressData |
failoverOrder, MAX_ADDRESS_LENGTH, MAX_ASSOCIATED_KEY_LENGTH, MAX_NAME_LENGTH, MAX_TRANSPORT_TYPE_LENGTH, totalFailovers |
Constructor Summary | |
PhoneAddressData() |
|
PhoneAddressData(java.lang.String addr) Create a PhoneAddressData instance with the phone number in <country code>-<area code>-<local number> format. |
Method Summary | |
boolean |
equals(java.lang.Object other) |
java.lang.String |
getAddress() get the phone number. |
java.lang.String |
getAddressType() "phone" is returned to indicate that it's a phone number. |
java.lang.String |
getAreaCode() Get area code |
java.lang.String |
getCarrier() get the carrier of the phone device. |
java.lang.String |
getCountryCode() get country code |
java.lang.String |
getLocalPhoneNumber() Get local phone number part |
int |
hashCode() |
void |
setAddress(java.lang.String addr) Set the phone number in <country code>-<area code>-<local number> format. |
void |
setAreaCode(java.lang.String area) Set area code of this phone number. |
void |
setCarrier(java.lang.String carrier) set the carrier of the phone |
void |
setCountryCode(java.lang.String country) Set country code of the phone number. |
void |
setLocalPhoneNumber(java.lang.String local) Set local phone number. |
java.lang.String |
toString() |
Methods inherited from class oracle.panama.messaging.push.DeviceAddressData |
getOriginalDeviceAddressData, getOwner, setOriginalDeviceAddressData, setOwner |
Methods inherited from class oracle.panama.messaging.push.AddressData |
clone, getAssociatedKey, getEncoding, getFailoverAddress, getFailoverDeliveryChannels, getFailoverTransportTypes, getFirstName, getLastName, getPrimaryDeliveryChannel, getPrimaryTransportType, setAddressType, setAssociatedKey, setEncoding, setFailoverAddress, setFailoverDeliveryChannels, setFailoverTransportTypes, setFirstName, setLastName, setPrimaryDeliveryChannel, setPrimaryTransportType |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public final java.lang.String addressType
Constructor Detail |
public PhoneAddressData()
public PhoneAddressData(java.lang.String addr)
Method Detail |
public boolean equals(java.lang.Object other)
equals
in class DeviceAddressData
public java.lang.String getAddress()
getAddress
in class AddressData
public java.lang.String getAddressType()
getAddressType
in class AddressData
public java.lang.String getAreaCode()
public java.lang.String getCarrier()
public java.lang.String getCountryCode()
public java.lang.String getLocalPhoneNumber()
public int hashCode()
hashCode
in class DeviceAddressData
public void setAddress(java.lang.String addr)
setAddress
in class AddressData
public void setAreaCode(java.lang.String area)
public void setCarrier(java.lang.String carrier)
public void setCountryCode(java.lang.String country)
public void setLocalPhoneNumber(java.lang.String local)
public java.lang.String toString()
toString
in class AddressData
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |