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()
Returns 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 the 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 getAreaCode() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs on getting the area code.void setAreaCode(java.lang.String areaCode) throws CSAppFrameworkException
areaCode
- the area code.CSAppFrameworkException
- if an internal error occurs on setting the area code.java.lang.String getCountryCode() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs on getting the country code.void setCountryCode(java.lang.String countryCode) throws CSAppFrameworkException
countryCode
- the country code.CSAppFrameworkException
- if an internal error occurs on setting the country code.java.lang.String getExtension() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs on getting the extension.void setExtension(java.lang.String extension) throws CSAppFrameworkException
extension
- the internal extension.CSAppFrameworkException
- if an internal error occurs on setting the extension.java.lang.String getNumber() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs on getting the number.void setNumber(java.lang.String number) throws CSAppFrameworkException
number
- the telephone number suffix.CSAppFrameworkException
- if an internal error occurs on setting the number.java.lang.String getType() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs on getting the type.void setType(java.lang.String type) throws CSAppFrameworkException
type
- the type of telephone number.CSAppFrameworkException
- if an internal error occurs on setting the type.java.lang.String getUrl() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs on getting the URL.void setUrl(java.lang.String url) throws CSAppFrameworkException
url
- the URL that can dial this number electronically.CSAppFrameworkException
- if an internal error occurs on setting the URL.