javax.xml.registry.infomodel
Interface TelephoneNumber


public interface TelephoneNumber

A simple re-usable entity class that defines attributes of a telephone number.


Method Summary
 java.lang.String getAreaCode()
          Area code Default is an empty String.
 java.lang.String getCountryCode()
          country code Default is an empty String.
 java.lang.String getExtension()
          internal extension if any Default is an empty String.
 java.lang.String getNumber()
          The telephone number suffix not including the country or area code.
 java.lang.String getType()
          The type of telephone number (e.g.
 java.lang.String getUrl()
          A URL that can dial this number electronically Default is a NULL String.
 void setAreaCode(java.lang.String areaCode)
          Area code
 void setCountryCode(java.lang.String countryCode)
          Sets country code
 void setExtension(java.lang.String extension)
          internal extension if any
 void setNumber(java.lang.String number)
          The telephone number suffix not including the country or area code.
 void setType(java.lang.String type)
          The type of telephone number (e.g.
 void setUrl(java.lang.String url)
          A URL that can dial this number electronically
 

Method Detail

getCountryCode

public java.lang.String getCountryCode()
                                throws JAXRException
country code Default is an empty String.

Capability Level: 1

getAreaCode

public java.lang.String getAreaCode()
                             throws JAXRException
Area code Default is an empty String.

Capability Level: 1

getNumber

public java.lang.String getNumber()
                           throws JAXRException
The telephone number suffix not including the country or area code. Default is an empty String.

Capability Level: 0

getExtension

public java.lang.String getExtension()
                              throws JAXRException
internal extension if any Default is an empty String.

Capability Level: 1

getUrl

public java.lang.String getUrl()
                        throws JAXRException
A URL that can dial this number electronically Default is a NULL String.

Capability Level: 1

getType

public java.lang.String getType()
                         throws JAXRException
The type of telephone number (e.g. fax etc.). Any String would do.

Capability Level: 0

setCountryCode

public void setCountryCode(java.lang.String countryCode)
                    throws JAXRException
Sets country code

Capability Level: 1

setAreaCode

public void setAreaCode(java.lang.String areaCode)
                 throws JAXRException
Area code

Capability Level: 1

setNumber

public void setNumber(java.lang.String number)
               throws JAXRException
The telephone number suffix not including the country or area code.

Capability Level: 0

setExtension

public void setExtension(java.lang.String extension)
                  throws JAXRException
internal extension if any

Capability Level: 1

setUrl

public void setUrl(java.lang.String url)
            throws JAXRException
A URL that can dial this number electronically

Capability Level: 1

setType

public void setType(java.lang.String type)
             throws JAXRException
The type of telephone number (e.g. fax etc.). Any String will do.

Capability Level: 0