public interface TelephoneNumber
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAreaCode()
Gets the area code.
|
java.lang.String |
getCountryCode()
Gets the country code.
|
java.lang.String |
getExtension()
Gets the internal extension.
|
java.lang.String |
getNumber()
Gets the telephone number suffix, not including the country or area code.
|
java.lang.String |
getType()
The type of telephone number (for example, "fax").
|
java.lang.String |
getUrl()
Gets the URL that can dial this number electronically.
|
void |
setAreaCode(java.lang.String areaCode)
Sets the area code.
|
void |
setCountryCode(java.lang.String countryCode)
Sets country code.
|
void |
setExtension(java.lang.String extension)
Sets the internal extension.
|
void |
setNumber(java.lang.String number)
Sets the telephone number suffix, not including the country or area code.
|
void |
setType(java.lang.String type)
Sets the type of telephone number (for example, "fax").
|
void |
setUrl(java.lang.String url)
Sets the URL that can dial this number electronically.
|
java.lang.String getCountryCode()
throws JAXRException
JAXRException - If the Jakarta XML Registries provider encounters an internal errorjava.lang.String getAreaCode()
throws JAXRException
JAXRException - If the Jakarta XML Registries provider encounters an internal errorjava.lang.String getNumber()
throws JAXRException
JAXRException - If the Jakarta XML Registries provider encounters an internal errorjava.lang.String getExtension()
throws JAXRException
JAXRException - If the Jakarta XML Registries provider encounters an internal errorjava.lang.String getUrl()
throws JAXRException
JAXRException - If the Jakarta XML Registries provider encounters an internal errorjava.lang.String getType()
throws JAXRException
JAXRException - If the Jakarta XML Registries provider encounters an internal errorvoid setCountryCode(java.lang.String countryCode)
throws JAXRException
countryCode - the country codeJAXRException - If the Jakarta XML Registries provider encounters an internal errorvoid setAreaCode(java.lang.String areaCode)
throws JAXRException
areaCode - the area codeJAXRException - If the Jakarta XML Registries provider encounters an internal errorvoid setNumber(java.lang.String number)
throws JAXRException
number - the telephone numberJAXRException - If the Jakarta XML Registries provider encounters an internal errorvoid setExtension(java.lang.String extension)
throws JAXRException
extension - the internal extension numberJAXRException - If the Jakarta XML Registries provider encounters an internal errorvoid setUrl(java.lang.String url)
throws JAXRException
url - the URL stringJAXRException - If the Jakarta XML Registries provider encounters an internal errorvoid setType(java.lang.String type)
throws JAXRException
type - the type for this TelephoneNumber, which is an arbitrary StringJAXRException - If the Jakarta XML Registries provider encounters an internal error