microsoft.exchange.webservices.data
Class MobilePhone

java.lang.Object
  extended by microsoft.exchange.webservices.data.MobilePhone

public final class MobilePhone
extends java.lang.Object

Represents a mobile phone.


Constructor Summary
MobilePhone()
          Initializes a new instance of the class.
MobilePhone(java.lang.String name, java.lang.String phoneNumber)
          Initializes a new instance of the MobilePhone class.
 
Method Summary
 java.lang.String getName()
          Gets or sets the name associated with this mobile phone.
 java.lang.String getPhoneNumber()
          Gets or sets the number of this mobile phone.
 void setName(java.lang.String value)
           
 void setPhoneNumber(java.lang.String value)
           
 void validate()
          Validates this instance.//>!(contentType == null || contentType.isEmpty()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobilePhone

public MobilePhone()
Initializes a new instance of the class.


MobilePhone

public MobilePhone(java.lang.String name,
                   java.lang.String phoneNumber)
Initializes a new instance of the MobilePhone class.

Parameters:
name - The name associated with the mobile phone.
phoneNumber - The mobile phone number.
Method Detail

getName

public java.lang.String getName()
Gets or sets the name associated with this mobile phone.


setName

public void setName(java.lang.String value)

getPhoneNumber

public java.lang.String getPhoneNumber()
Gets or sets the number of this mobile phone.


setPhoneNumber

public void setPhoneNumber(java.lang.String value)

validate

public void validate()
              throws ServiceValidationException
Validates this instance.//>!(contentType == null || contentType.isEmpty()

Throws:
ServiceValidationException