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()