microsoft.exchange.webservices.data
Class MobilePhone

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

public final class MobilePhone
extends Object

Represents a mobile phone.


Constructor Summary
MobilePhone()
          Initializes a new instance of the class.
MobilePhone(String name, String phoneNumber)
          Initializes a new instance of the MobilePhone class.
 
Method Summary
 String getName()
          Gets or sets the name associated with this mobile phone.
 String getPhoneNumber()
          Gets or sets the number of this mobile phone.
 void setName(String value)
           
 void setPhoneNumber(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(String name,
                   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 String getName()
Gets or sets the name associated with this mobile phone.


setName

public void setName(String value)

getPhoneNumber

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


setPhoneNumber

public void setPhoneNumber(String value)

validate

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

Throws:
ServiceValidationException


Copyright © 2012. All Rights Reserved.