com.softwareag.centrasite.api.csom
Class TelephoneNumber

java.lang.Object
  extended by com.softwareag.centrasite.api.csom.TelephoneNumber

public class TelephoneNumber
extends java.lang.Object

This object will hold the details of the telephone number such as country code, area code, number, extension etc


Constructor Summary
TelephoneNumber()
           
 
Method Summary
 java.lang.String getAreaCode()
          Gets the area code part of the Area Number
 java.lang.String getCountryCode()
          Gets the country code part of the Telephone Number
 java.lang.String getExtension()
          Gets the extension code part of the Telephone Number
 java.lang.String getNumber()
          Gets the Number part of the Telephone Number
 Category getPhoneType()
          Get the phone type
 void setAreaCode(java.lang.String areaCode)
          Sets the area code part of the Area Number
 void setCountryCode(java.lang.String countryCode)
          Sets the country code part of the Telephone Number
 void setExtension(java.lang.String extension)
          Sets the extension code part of the Telephone Number
 void setNumber(java.lang.String number)
          Gets the Number part of the Telephone Number
 void setPhoneType(Category phoneType)
          Set the phone type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelephoneNumber

public TelephoneNumber()
Method Detail

getCountryCode

public java.lang.String getCountryCode()
Gets the country code part of the Telephone Number

Returns:
the CountryCode of the telephone number

setCountryCode

public void setCountryCode(java.lang.String countryCode)
Sets the country code part of the Telephone Number

Parameters:
countryCode -

getAreaCode

public java.lang.String getAreaCode()
Gets the area code part of the Area Number

Returns:
the AreaCode of the telephone number

setAreaCode

public void setAreaCode(java.lang.String areaCode)
Sets the area code part of the Area Number

Parameters:
areaCode - AreaCode of the telephone number

getNumber

public java.lang.String getNumber()
Gets the Number part of the Telephone Number

Returns:
the Number of the telephone number

setNumber

public void setNumber(java.lang.String number)
Gets the Number part of the Telephone Number

Parameters:
number - Number of the telephone number

getExtension

public java.lang.String getExtension()
Gets the extension code part of the Telephone Number

Returns:
the extension code of the telephone number

setExtension

public void setExtension(java.lang.String extension)
Sets the extension code part of the Telephone Number

Parameters:
extension - extension code of the telephone number

setPhoneType

public void setPhoneType(Category phoneType)
Set the phone type

Parameters:
phoneType - eg: Office, Mobile etc

getPhoneType

public Category getPhoneType()
Get the phone type

Returns:
phoneType eg: Office, Mobile etc