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