|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A simple re-usable entity class that defines attributes of a telephone number.
Method Summary | |
String |
getAreaCode()
Gets the area code. |
String |
getCountryCode()
Gets the country code. |
String |
getExtension()
Gets the internal extension. |
String |
getNumber()
Gets the telephone number suffix, not including the country or area code. |
String |
getType()
The type of telephone number (for example, "fax"). |
String |
getUrl()
Gets the URL that can dial this number electronically. |
void |
setAreaCode(String areaCode)
Sets the area code. |
void |
setCountryCode(String countryCode)
Sets country code. |
void |
setExtension(String extension)
Sets the internal extension. |
void |
setNumber(String number)
Sets the telephone number suffix, not including the country or area code. |
void |
setType(String type)
Sets the type of telephone number (for example, "fax"). |
void |
setUrl(String url)
Sets the URL that can dial this number electronically. |
Method Detail |
public String getCountryCode() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic String getAreaCode() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic String getNumber() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic String getExtension() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic String getUrl() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic String getType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setCountryCode(String countryCode) throws JAXRException
countryCode
- the country code
JAXRException
- If the JAXR provider encounters an internal errorpublic void setAreaCode(String areaCode) throws JAXRException
areaCode
- the area code
JAXRException
- If the JAXR provider encounters an internal errorpublic void setNumber(String number) throws JAXRException
number
- the telephone number
JAXRException
- If the JAXR provider encounters an internal errorpublic void setExtension(String extension) throws JAXRException
extension
- the internal extension number
JAXRException
- If the JAXR provider encounters an internal errorpublic void setUrl(String url) throws JAXRException
url
- the URL string
JAXRException
- If the JAXR provider encounters an internal errorpublic void setType(String type) throws JAXRException
type
- the type for this TelephoneNumber, which is an arbitrary String
JAXRException
- If the JAXR provider encounters an internal error
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.