JML

net.sf.jml
Class MsnUserPropertyType

java.lang.Object
  extended by net.sf.jml.MsnUserPropertyType

public final class MsnUserPropertyType
extends Object

Properties type, See http://www.hypothetic.org/docs/msn/notification/get_details.php "Phone Numbers" section.

Author:
Roger Chen

Field Summary
static MsnUserPropertyType HSB
          Has space on MSN spaces.
static MsnUserPropertyType MBE
          Has device enabled on MSN mobile.
static MsnUserPropertyType MFN
          Display name, MSNP10/MSNP11 use this to indicate user's display name.
static MsnUserPropertyType MOB
          Allow be contacted on MSN mobile device.
static MsnUserPropertyType PHH
          Home phone number.
static MsnUserPropertyType PHM
          Mobile phone number.
static MsnUserPropertyType PHW
          Work phone number.
static MsnUserPropertyType WWE
          Has device enabled on MSN direct.
 
Method Summary
 String getDisplayType()
          Get the type for display.
 String getType()
          Get the type used for msn protocol.
static MsnUserPropertyType parseStr(String s)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PHH

public static final MsnUserPropertyType PHH
Home phone number.


PHW

public static final MsnUserPropertyType PHW
Work phone number.


PHM

public static final MsnUserPropertyType PHM
Mobile phone number.


MOB

public static final MsnUserPropertyType MOB
Allow be contacted on MSN mobile device. If have, then the property is "Y".


MBE

public static final MsnUserPropertyType MBE
Has device enabled on MSN mobile. If have, then the property is "Y".


WWE

public static final MsnUserPropertyType WWE
Has device enabled on MSN direct. If have, then the property is "2".


MFN

public static final MsnUserPropertyType MFN
Display name, MSNP10/MSNP11 use this to indicate user's display name.


HSB

public static final MsnUserPropertyType HSB
Has space on MSN spaces.

Method Detail

parseStr

public static MsnUserPropertyType parseStr(String s)

getType

public String getType()
Get the type used for msn protocol.

Returns:
the type used for msn protocol

getDisplayType

public String getDisplayType()
Get the type for display.

Returns:
the type for display

toString

public String toString()
Overrides:
toString in class Object

JML