|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TelephoneNumber
A simple re-usable entity class that defines attributes of a telephone number.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
java.lang.String getCountryCode() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorjava.lang.String getAreaCode() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorjava.lang.String getNumber() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorjava.lang.String getExtension() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorjava.lang.String getUrl() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorjava.lang.String getType() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorvoid setCountryCode(java.lang.String countryCode) throws JAXRException
countryCode - the country code
JAXRException - If the JAXR provider encounters an internal errorvoid setAreaCode(java.lang.String areaCode) throws JAXRException
areaCode - the area code
JAXRException - If the JAXR provider encounters an internal errorvoid setNumber(java.lang.String number) throws JAXRException
number - the telephone number
JAXRException - If the JAXR provider encounters an internal errorvoid setExtension(java.lang.String extension) throws JAXRException
extension - the internal extension number
JAXRException - If the JAXR provider encounters an internal errorvoid setUrl(java.lang.String url) throws JAXRException
url - the URL string
JAXRException - If the JAXR provider encounters an internal errorvoid setType(java.lang.String type) throws JAXRException
type - the type for this TelephoneNumber, which is an arbitrary String
JAXRException - If the JAXR provider encounters an internal error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41
Scripting on this page tracks web page traffic, but does not change the content in any way.