org.oasis.ebxml.registry.bindings.rim
Class TelephoneNumberType

java.lang.Object
  extended byorg.oasis.ebxml.registry.bindings.rim.TelephoneNumberType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FaxNumber, MobileTelephoneNumber, PagerNumber, TelephoneNumber

public abstract class TelephoneNumberType
extends java.lang.Object
implements java.io.Serializable

TelephoneNumber is the mapping of the same named interface in ebRIM.

See Also:
Serialized Form

Constructor Summary
TelephoneNumberType()
           
 
Method Summary
 java.lang.String getAreaCode()
          Returns the value of field 'areaCode'.
 java.lang.String getCountryCode()
          Returns the value of field 'countryCode'.
 java.lang.String getExtension()
          Returns the value of field 'extension'.
 java.lang.String getNumber()
          Returns the value of field 'number'.
 java.lang.String getPhoneType()
          Returns the value of field 'phoneType'.
 java.lang.String getUrl()
          Returns the value of field 'url'.
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 void setAreaCode(java.lang.String areaCode)
          Sets the value of field 'areaCode'.
 void setCountryCode(java.lang.String countryCode)
          Sets the value of field 'countryCode'.
 void setExtension(java.lang.String extension)
          Sets the value of field 'extension'.
 void setNumber(java.lang.String number)
          Sets the value of field 'number'.
 void setPhoneType(java.lang.String phoneType)
          Sets the value of field 'phoneType'.
 void setUrl(java.lang.String url)
          Sets the value of field 'url'.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelephoneNumberType

public TelephoneNumberType()
Method Detail

getAreaCode

public java.lang.String getAreaCode()
Returns the value of field 'areaCode'.

Returns:
the value of field 'areaCode'.

getCountryCode

public java.lang.String getCountryCode()
Returns the value of field 'countryCode'.

Returns:
the value of field 'countryCode'.

getExtension

public java.lang.String getExtension()
Returns the value of field 'extension'.

Returns:
the value of field 'extension'.

getNumber

public java.lang.String getNumber()
Returns the value of field 'number'.

Returns:
the value of field 'number'.

getPhoneType

public java.lang.String getPhoneType()
Returns the value of field 'phoneType'.

Returns:
the value of field 'phoneType'.

getUrl

public java.lang.String getUrl()
Returns the value of field 'url'.

Returns:
the value of field 'url'.

isValid

public boolean isValid()

marshal

public abstract void marshal(java.io.Writer out)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public abstract void marshal(org.xml.sax.DocumentHandler handler)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setAreaCode

public void setAreaCode(java.lang.String areaCode)
Sets the value of field 'areaCode'.

Parameters:
areaCode - the value of field 'areaCode'.

setCountryCode

public void setCountryCode(java.lang.String countryCode)
Sets the value of field 'countryCode'.

Parameters:
countryCode - the value of field 'countryCode'.

setExtension

public void setExtension(java.lang.String extension)
Sets the value of field 'extension'.

Parameters:
extension - the value of field 'extension'.

setNumber

public void setNumber(java.lang.String number)
Sets the value of field 'number'.

Parameters:
number - the value of field 'number'.

setPhoneType

public void setPhoneType(java.lang.String phoneType)
Sets the value of field 'phoneType'.

Parameters:
phoneType - the value of field 'phoneType'.

setUrl

public void setUrl(java.lang.String url)
Sets the value of field 'url'.

Parameters:
url - the value of field 'url'.

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException