com.softwareag.centrasite.appl.framework.beans.standard.impl
Class TelephoneNumberImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.TelephoneNumberImpl
All Implemented Interfaces:
TelephoneNumber

public class TelephoneNumberImpl
extends java.lang.Object
implements TelephoneNumber


Constructor Summary
TelephoneNumberImpl(javax.xml.registry.infomodel.TelephoneNumber jaxrTelephoneNumber)
          Constructor
 
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.
 javax.xml.registry.infomodel.TelephoneNumber getJaxrTelephoneNumber()
          Get the the javax.xml.registry.infomodel.TelephoneNumber instance wrapped by this object
 java.lang.String getNumber()
          Gets the telephone number suffix, not including the country or area code.
 java.lang.String getType()
          Returns 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 the 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelephoneNumberImpl

public TelephoneNumberImpl(javax.xml.registry.infomodel.TelephoneNumber jaxrTelephoneNumber)
Constructor

Parameters:
jaxrTelephoneNumber -
Method Detail

getAreaCode

public java.lang.String getAreaCode()
                             throws CSAppFrameworkException
Gets the area code.

Specified by:
getAreaCode in interface TelephoneNumber
Returns:
String
Throws:
CSAppFrameworkException

setAreaCode

public void setAreaCode(java.lang.String areaCode)
                 throws CSAppFrameworkException
Sets the area code.

Specified by:
setAreaCode in interface TelephoneNumber
Parameters:
areaCode -
Throws:
CSAppFrameworkException

getCountryCode

public java.lang.String getCountryCode()
                                throws CSAppFrameworkException
Gets the country code.

Specified by:
getCountryCode in interface TelephoneNumber
Returns:
String
Throws:
CSAppFrameworkException

setCountryCode

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

Specified by:
setCountryCode in interface TelephoneNumber
Parameters:
countryCode -
Throws:
CSAppFrameworkException

getExtension

public java.lang.String getExtension()
                              throws CSAppFrameworkException
Gets the internal extension.

Specified by:
getExtension in interface TelephoneNumber
Returns:
String
Throws:
CSAppFrameworkException

setExtension

public void setExtension(java.lang.String extension)
                  throws CSAppFrameworkException
sets the internal extension.

Specified by:
setExtension in interface TelephoneNumber
Parameters:
extension -
Throws:
CSAppFrameworkException

getNumber

public java.lang.String getNumber()
                           throws CSAppFrameworkException
Gets the telephone number suffix, not including the country or area code.

Specified by:
getNumber in interface TelephoneNumber
Returns:
String
Throws:
CSAppFrameworkException

setNumber

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

Specified by:
setNumber in interface TelephoneNumber
Parameters:
number -
Throws:
CSAppFrameworkException

getType

public java.lang.String getType()
                         throws CSAppFrameworkException
Returns the type of telephone number (for example, "fax").

Specified by:
getType in interface TelephoneNumber
Returns:
String
Throws:
CSAppFrameworkException

setType

public void setType(java.lang.String type)
             throws CSAppFrameworkException
Sets the type of telephone number (for example, "fax").

Specified by:
setType in interface TelephoneNumber
Parameters:
type -
Throws:
CSAppFrameworkException

getUrl

public java.lang.String getUrl()
                        throws CSAppFrameworkException
Gets the URL that can dial this number electronically.

Specified by:
getUrl in interface TelephoneNumber
Returns:
String
Throws:
CSAppFrameworkException

setUrl

public void setUrl(java.lang.String url)
            throws CSAppFrameworkException
Sets the URL that can dial this number electronically.

Specified by:
setUrl in interface TelephoneNumber
Parameters:
url -
Throws:
CSAppFrameworkException

getJaxrTelephoneNumber

public javax.xml.registry.infomodel.TelephoneNumber getJaxrTelephoneNumber()
Get the the javax.xml.registry.infomodel.TelephoneNumber instance wrapped by this object

Returns:
javax.xml.registry.infomodel.TelephoneNumber