JML

net.sf.jml.impl
Class MsnUserImpl

java.lang.Object
  extended by net.sf.jml.impl.MsnUserImpl
All Implemented Interfaces:
MsnUser
Direct Known Subclasses:
MsnContactImpl, MsnOwnerImpl

public abstract class MsnUserImpl
extends Object
implements MsnUser

Author:
Roger Chen

Constructor Summary
MsnUserImpl()
           
 
Method Summary
 MsnClientId getClientId()
          Client id, can be changed by user self.
 String getDisplayName()
          Display name, can be changed by user self.
 Email getEmail()
          Email, can't be changed.
 String getOldDisplayName()
          When user changed his name, this is useful for compare.
 MsnUserStatus getOldStatus()
          When user changed his status, this is useful for compare.
 MsnUserProperties getProperties()
          User properties, can be changed by user self.
 MsnUserStatus getStatus()
          User status, can be changed by user self.
 Telephone getTelephone()
           
 void setClientId(MsnClientId clientId)
           
 void setDisplayName(String displayName)
           
 void setEmail(Email email)
           
 void setStatus(MsnUserStatus status)
           
 void setTelephone(Telephone telephone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsnUserImpl

public MsnUserImpl()
Method Detail

getEmail

public Email getEmail()
Description copied from interface: MsnUser
Email, can't be changed.

Specified by:
getEmail in interface MsnUser
Returns:
email

getDisplayName

public String getDisplayName()
Description copied from interface: MsnUser
Display name, can be changed by user self.

Specified by:
getDisplayName in interface MsnUser
Returns:
display name

getStatus

public MsnUserStatus getStatus()
Description copied from interface: MsnUser
User status, can be changed by user self.

Specified by:
getStatus in interface MsnUser
Returns:
user status

getOldDisplayName

public String getOldDisplayName()
Description copied from interface: MsnUser
When user changed his name, this is useful for compare.

Specified by:
getOldDisplayName in interface MsnUser
Returns:
old display name

getOldStatus

public MsnUserStatus getOldStatus()
Description copied from interface: MsnUser
When user changed his status, this is useful for compare.

Specified by:
getOldStatus in interface MsnUser
Returns:
old display status

getClientId

public MsnClientId getClientId()
Description copied from interface: MsnUser
Client id, can be changed by user self.

Specified by:
getClientId in interface MsnUser
Returns:
client id

getProperties

public MsnUserProperties getProperties()
Description copied from interface: MsnUser
User properties, can be changed by user self.

Specified by:
getProperties in interface MsnUser
Returns:
user properties

setEmail

public void setEmail(Email email)

setDisplayName

public void setDisplayName(String displayName)

setStatus

public void setStatus(MsnUserStatus status)

setClientId

public void setClientId(MsnClientId clientId)

getTelephone

public Telephone getTelephone()

setTelephone

public void setTelephone(Telephone telephone)

JML