public class TelephoneNumberImpl extends Object implements TelephoneNumber, Serializable
| Constructor and Description |
|---|
TelephoneNumberImpl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAreaCode()
Level 1 method
|
String |
getCountryCode()
Level 1 method
|
String |
getExtension()
Level 1 method
|
String |
getNumber()
The telephone number suffix not including the country or area code.
|
String |
getType()
The type of telephone number (e.g.
|
String |
getUrl()
Level 1 method
|
void |
setAreaCode(String areaCode)
Level 1 method
|
void |
setCountryCode(String countryCode)
Level 1 method
|
void |
setExtension(String extension)
Level 1 method
|
void |
setNumber(String number)
The telephone number suffix not including the country or area code.
|
void |
setType(String type)
The type of telephone number (e.g.
|
void |
setUrl(String url)
Level 1 method
|
public String getNumber() throws JAXRException
getNumber in interface TelephoneNumberJAXRException - If the JAXR provider encounters an internal errorpublic void setNumber(String number) throws JAXRException
setNumber in interface TelephoneNumbernumber - the telephone numberJAXRException - If the JAXR provider encounters an internal errorpublic String getType() throws JAXRException
getType in interface TelephoneNumberJAXRException - If the JAXR provider encounters an internal errorpublic void setType(String type) throws JAXRException
setType in interface TelephoneNumbertype - the type for this TelephoneNumber, which is an arbitrary StringJAXRException - If the JAXR provider encounters an internal errorpublic String getCountryCode() throws JAXRException
getCountryCode in interface TelephoneNumberJAXRException - If the JAXR provider encounters an internal errorpublic void setCountryCode(String countryCode) throws JAXRException
setCountryCode in interface TelephoneNumbercountryCode - the country codeJAXRException - If the JAXR provider encounters an internal errorpublic String getAreaCode() throws JAXRException
getAreaCode in interface TelephoneNumberJAXRException - If the JAXR provider encounters an internal errorpublic void setAreaCode(String areaCode) throws JAXRException
setAreaCode in interface TelephoneNumberareaCode - the area codeJAXRException - If the JAXR provider encounters an internal errorpublic String getExtension() throws JAXRException
getExtension in interface TelephoneNumberJAXRException - If the JAXR provider encounters an internal errorpublic void setExtension(String extension) throws JAXRException
setExtension in interface TelephoneNumberextension - the internal extension numberJAXRException - If the JAXR provider encounters an internal errorpublic String getUrl() throws JAXRException
getUrl in interface TelephoneNumberJAXRException - If the JAXR provider encounters an internal errorpublic void setUrl(String url) throws JAXRException
setUrl in interface TelephoneNumberurl - the URL stringJAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.