| 
 | |||||||||
| 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 | |
|---|---|
|  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 | 
|---|
java.lang.String getCountryCode()
                                throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
java.lang.String getAreaCode()
                             throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
java.lang.String getNumber()
                           throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
java.lang.String getExtension()
                              throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
java.lang.String getUrl()
                        throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
java.lang.String getType()
                         throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
void setCountryCode(java.lang.String countryCode)
                    throws JAXRException
countryCode - the country code
JAXRException - If the JAXR provider encounters an internal error
void setAreaCode(java.lang.String areaCode)
                 throws JAXRException
areaCode - the area code
JAXRException - If the JAXR provider encounters an internal error
void setNumber(java.lang.String number)
               throws JAXRException
number - the telephone number
JAXRException - If the JAXR provider encounters an internal error
void setExtension(java.lang.String extension)
                  throws JAXRException
extension - the internal extension number
JAXRException - If the JAXR provider encounters an internal error
void setUrl(java.lang.String url)
            throws JAXRException
url - the URL string
JAXRException - If the JAXR provider encounters an internal error
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| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41