|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| 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 | |
|---|---|
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 |
|---|
String getCountryCode()
throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
String getAreaCode()
throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
String getNumber()
throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
String getExtension()
throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
String getUrl()
throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
String getType()
throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
void setCountryCode(String countryCode)
throws JAXRException
countryCode - the country code
JAXRException - If the JAXR provider encounters an internal error
void setAreaCode(String areaCode)
throws JAXRException
areaCode - the area code
JAXRException - If the JAXR provider encounters an internal error
void setNumber(String number)
throws JAXRException
number - the telephone number
JAXRException - If the JAXR provider encounters an internal error
void setExtension(String extension)
throws JAXRException
extension - the internal extension number
JAXRException - If the JAXR provider encounters an internal error
void setUrl(String url)
throws JAXRException
url - the URL string
JAXRException - If the JAXR provider encounters an internal error
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
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.