net.sf.dexterim.msn
Class MsnContact

java.lang.Object
  extended bynet.sf.dexterim.core.AbstractContact
      extended bynet.sf.dexterim.msn.MsnContact
All Implemented Interfaces:
Contact

public class MsnContact
extends AbstractContact

Author:
Christoph Walcher

Constructor Summary
MsnContact(java.lang.String account)
          Constructor for the MsnContact object
MsnContact(java.lang.String account, java.lang.String nick)
          Creates a new instance of MsnContact
MsnContact(java.lang.String account, java.lang.String nick, java.lang.String status)
          Constructor for the MsnContact object
 
Method Summary
 void changeState(java.lang.Object stateID)
           
 java.lang.String getFriendlyName()
          Gets the Friendly Name of the Contact.
 java.lang.Object getID()
          Gets the iD attribute of the MsnContact object
 java.lang.Object getIdentity()
          Gets the ID (a unique ID of the Contact)
 java.lang.String getPhoneHome()
          Getter for property phoneHome.
 java.lang.String getPhoneMobile()
          Getter for property phoneMobile.
 java.lang.String getPhoneWork()
          Getter for property phoneWork.
 ContactState getState()
           
 java.lang.String getStatus()
          Gets the status attribute of the MsnContact object
 boolean isAllowList()
          Getter for property allowList.
 boolean isBlockList()
          Getter for property blockList.
 boolean isForwardList()
          Getter for property forwardList.
 boolean isOnline()
          Gets the online attribute of the MsnContact object
 boolean isReverseList()
          Getter for property reverseList.
 void setAllowList(boolean allowList)
          Setter for property allowList.
 void setBlockList(boolean blockList)
          Setter for property blockList.
 void setForwardList(boolean forwardList)
          Setter for property forwardList.
 void setPhoneHome(java.lang.String phoneHome)
          Setter for property phoneHome.
 void setPhoneMobile(java.lang.String phoneMobile)
          Setter for property phoneMobile.
 void setPhoneWork(java.lang.String phoneWork)
          Setter for property phoneWork.
 void setReverseList(boolean reverseList)
          Setter for property reverseList.
 
Methods inherited from class net.sf.dexterim.core.AbstractContact
equals, getAccount, getNick, getValue, hashCode, setNick, setStatus, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MsnContact

public MsnContact(java.lang.String account,
                  java.lang.String nick,
                  java.lang.String status)
Constructor for the MsnContact object

Parameters:
account - Description of the Parameter
nick - Description of the Parameter
status - Description of the Parameter

MsnContact

public MsnContact(java.lang.String account,
                  java.lang.String nick)
Creates a new instance of MsnContact

Parameters:
account - Description of the Parameter
nick - Description of the Parameter

MsnContact

public MsnContact(java.lang.String account)
Constructor for the MsnContact object

Parameters:
account - Description of the Parameter
Method Detail

isReverseList

public boolean isReverseList()
Getter for property reverseList.

Returns:
Value of property reverseList.

setReverseList

public void setReverseList(boolean reverseList)
Setter for property reverseList.

Parameters:
reverseList - New value of property reverseList.

isForwardList

public boolean isForwardList()
Getter for property forwardList.

Returns:
Value of property forwardList.

setForwardList

public void setForwardList(boolean forwardList)
Setter for property forwardList.

Parameters:
forwardList - New value of property forwardList.

getPhoneHome

public java.lang.String getPhoneHome()
Getter for property phoneHome.

Returns:
Value of property phoneHome.

setPhoneHome

public void setPhoneHome(java.lang.String phoneHome)
Setter for property phoneHome.

Parameters:
phoneHome - New value of property phoneHome.

getPhoneWork

public java.lang.String getPhoneWork()
Getter for property phoneWork.

Returns:
Value of property phoneWork.

setPhoneWork

public void setPhoneWork(java.lang.String phoneWork)
Setter for property phoneWork.

Parameters:
phoneWork - New value of property phoneWork.

getPhoneMobile

public java.lang.String getPhoneMobile()
Getter for property phoneMobile.

Returns:
Value of property phoneMobile.

setPhoneMobile

public void setPhoneMobile(java.lang.String phoneMobile)
Setter for property phoneMobile.

Parameters:
phoneMobile - New value of property phoneMobile.

getStatus

public java.lang.String getStatus()
Gets the status attribute of the MsnContact object

Overrides:
getStatus in class AbstractContact
Returns:
The status value

isOnline

public boolean isOnline()
Gets the online attribute of the MsnContact object

Returns:
The online value

isAllowList

public boolean isAllowList()
Getter for property allowList.

Returns:
Value of property allowList.

setAllowList

public void setAllowList(boolean allowList)
Setter for property allowList.

Parameters:
allowList - New value of property allowList.

isBlockList

public boolean isBlockList()
Getter for property blockList.

Returns:
Value of property blockList.

setBlockList

public void setBlockList(boolean blockList)
Setter for property blockList.

Parameters:
blockList - New value of property blockList.

getID

public java.lang.Object getID()
Gets the iD attribute of the MsnContact object

Returns:
The iD value

getIdentity

public java.lang.Object getIdentity()
Description copied from interface: Contact
Gets the ID (a unique ID of the Contact)

Returns:
Unique Contact ID

getFriendlyName

public java.lang.String getFriendlyName()
Description copied from interface: Contact
Gets the Friendly Name of the Contact. A FriendlyName is the human readable Name of a Contact instance. Also known as:

Returns:
The FriendlyName of this Contact

getState

public ContactState getState()

changeState

public void changeState(java.lang.Object stateID)


Copyright © 2003-2004 Dexter IM Team. All Rights Reserved.