rath.msnm.entity
Class MsnFriend

java.lang.Object
  |
  +--rath.msnm.entity.MsnFriend
All Implemented Interfaces:
UserStatus

public class MsnFriend
extends Object
implements UserStatus

Version:
$Id: MsnFriend.java,v 1.2 2002/03/04 05:30:59 xrath Exp $, since 2001/11/07
Author:
Jang-Ho Hwang, rath@xrath.com

Field Summary
 
Fields inherited from interface rath.msnm.UserStatus
AWAY_FROM_COMPUTER, BE_RIGHT_BACK, BUSY, IDLE, INVISIBLE, OFFLINE, ON_THE_LUNCH, ON_THE_PHONE, ONLINE
 
Constructor Summary
MsnFriend(String loginName)
           
MsnFriend(String loginName, String friendlyName)
           
 
Method Summary
 boolean equals(Object o)
           
 String getFormattedFriendlyName()
          ÀÌ »ç¿ëÀÚÀÇ URLDecoded µÈ Á¤ÇüÈ­µÈ FriendlyNameÀ» ¹ÝȯÇÑ´Ù.
 String getFormattedStatus()
           
 String getFriendlyName()
           
 Integer getGroupIndex()
           
 String getLoginName()
           
 String getOldStatus()
          ¹Ù·Î ÀÌÀüÀÇ »óÅÂÄÚµå °ªÀ» ¾ò¾î¿Â´Ù.
 String getStatus()
           
 int hashCode()
           
 void setFriendlyName(String frName)
           
 void setGroupIndex(int index)
           
 void setGroupIndex(Integer index)
           
 void setLoginName(String loginName)
           
 void setStatus(String st)
           
 String toFormattedString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MsnFriend

public MsnFriend(String loginName)

MsnFriend

public MsnFriend(String loginName,
                 String friendlyName)
Method Detail

setGroupIndex

public void setGroupIndex(int index)

setGroupIndex

public void setGroupIndex(Integer index)

getGroupIndex

public Integer getGroupIndex()

setLoginName

public void setLoginName(String loginName)

getLoginName

public String getLoginName()

setFriendlyName

public void setFriendlyName(String frName)

getFriendlyName

public String getFriendlyName()

getFormattedFriendlyName

public String getFormattedFriendlyName()
ÀÌ »ç¿ëÀÚÀÇ URLDecoded µÈ Á¤ÇüÈ­µÈ FriendlyNameÀ» ¹ÝȯÇÑ´Ù. ¸¸¾à FriendlyNameÀÌ nullÀ̶ó¸é ±×´ë·Î nullÀ» ¹ÝȯÇÒ °ÍÀÌ´Ù.


setStatus

public void setStatus(String st)

getOldStatus

public String getOldStatus()
¹Ù·Î ÀÌÀüÀÇ »óÅÂÄÚµå °ªÀ» ¾ò¾î¿Â´Ù.


getStatus

public String getStatus()

getFormattedStatus

public String getFormattedStatus()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toFormattedString

public String toFormattedString()