com.sun.xml.registry.uddi.infomodel
Class TelephoneNumberImpl

java.lang.Object
  extended by 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
TelephoneNumberImpl()
          Default constructor
 
Method Summary
 String getAreaCode()
          Level 1 method
 String getCountryCode()
          Level 1 method
 String getExtension()
          Level 1 method
 String getNumber()
          The telephone number suffix not including the country or area code.
 String getType()
          The type of telephone number (e.g.
 String getUrl()
          Level 1 method
 void setAreaCode(String areaCode)
          Level 1 method
 void setCountryCode(String countryCode)
          Level 1 method
 void setExtension(String extension)
          Level 1 method
 void setNumber(String number)
          The telephone number suffix not including the country or area code.
 void setType(String type)
          The type of telephone number (e.g.
 void setUrl(String url)
          Level 1 method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelephoneNumberImpl

public TelephoneNumberImpl()
Default constructor

Method Detail

getNumber

public String getNumber()
                 throws JAXRException
The telephone number suffix not including the country or area code.

Specified by:
getNumber in interface TelephoneNumber
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:
setNumber in interface TelephoneNumber
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:
getType in interface TelephoneNumber
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:
setType in interface TelephoneNumber
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:
getCountryCode in interface TelephoneNumber
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:
setCountryCode in interface TelephoneNumber
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:
getAreaCode in interface TelephoneNumber
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:
setAreaCode in interface TelephoneNumber
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:
getExtension in interface TelephoneNumber
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:
setExtension in interface TelephoneNumber
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:
getUrl in interface TelephoneNumber
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:
setUrl in interface TelephoneNumber
Parameters:
url - the URL string
Throws:
JAXRException - If the JAXR provider encounters an internal error


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.