Class TelephoneNumberImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.infomodel.TelephoneNumberImpl
-
- All Implemented Interfaces:
Serializable,TelephoneNumber
public class TelephoneNumberImpl extends Object implements TelephoneNumber, Serializable
- Author:
- kwalsh, Bobby Bissett
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TelephoneNumberImpl()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAreaCode()Level 1 methodStringgetCountryCode()Level 1 methodStringgetExtension()Level 1 methodStringgetNumber()The telephone number suffix not including the country or area code.StringgetType()The type of telephone number (e.g.StringgetUrl()Level 1 methodvoidsetAreaCode(String areaCode)Level 1 methodvoidsetCountryCode(String countryCode)Level 1 methodvoidsetExtension(String extension)Level 1 methodvoidsetNumber(String number)The telephone number suffix not including the country or area code.voidsetType(String type)The type of telephone number (e.g.voidsetUrl(String url)Level 1 method
-
-
-
Method Detail
-
getNumber
public String getNumber() throws JAXRException
The telephone number suffix not including the country or area code.- Specified by:
getNumberin interfaceTelephoneNumber- Returns:
- the telephone number
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setNumber
public void setNumber(String number) throws JAXRException
The telephone number suffix not including the country or area code.- Specified by:
setNumberin interfaceTelephoneNumber- Parameters:
number- the telephone number- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getType
public String getType() throws JAXRException
The type of telephone number (e.g. fax etc.)- Specified by:
getTypein interfaceTelephoneNumber- Returns:
- the type for this TelephoneNumber, which is an arbitrary String
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setType
public void setType(String type) throws JAXRException
The type of telephone number (e.g. fax etc.) as a Concept- Specified by:
setTypein interfaceTelephoneNumber- Parameters:
type- the type for this TelephoneNumber, which is an arbitrary String- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getCountryCode
public String getCountryCode() throws JAXRException
Level 1 method- Specified by:
getCountryCodein interfaceTelephoneNumber- Returns:
- the country code
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setCountryCode
public void setCountryCode(String countryCode) throws JAXRException
Level 1 method- Specified by:
setCountryCodein interfaceTelephoneNumber- Parameters:
countryCode- the country code- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getAreaCode
public String getAreaCode() throws JAXRException
Level 1 method- Specified by:
getAreaCodein interfaceTelephoneNumber- Returns:
- the area code
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setAreaCode
public void setAreaCode(String areaCode) throws JAXRException
Level 1 method- Specified by:
setAreaCodein interfaceTelephoneNumber- Parameters:
areaCode- the area code- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getExtension
public String getExtension() throws JAXRException
Level 1 method- Specified by:
getExtensionin interfaceTelephoneNumber- Returns:
- the internal extension number
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setExtension
public void setExtension(String extension) throws JAXRException
Level 1 method- Specified by:
setExtensionin interfaceTelephoneNumber- Parameters:
extension- the internal extension number- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getUrl
public String getUrl() throws JAXRException
Level 1 method- Specified by:
getUrlin interfaceTelephoneNumber- Returns:
- the url
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setUrl
public void setUrl(String url) throws JAXRException
Level 1 method- Specified by:
setUrlin interfaceTelephoneNumber- Parameters:
url- the URL string- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
-