net.sf.dexterim.core
Class AbstractContact

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

public abstract class AbstractContact
extends java.lang.Object
implements Contact

Author:
Christoph Walcher

Constructor Summary
AbstractContact()
          Creates a new instance of DefaultContact
AbstractContact(java.lang.String account, java.lang.String nick, java.lang.String status)
          Constructor for the AbstractContact object
 
Method Summary
 boolean equals(java.lang.Object obj)
          Description of the Method
 java.lang.String getAccount()
          Gets the account attribute of the AbstractContact object
 java.lang.String getNick()
          Gets the nick attribute of the AbstractContact object
 java.lang.String getStatus()
          Gets the status attribute of the AbstractContact object
 java.lang.Object getValue(java.lang.Object key)
          Gets the value attribute of the AbstractContact object
 int hashCode()
          Description of the Method
 void setNick(java.lang.String nick)
          Sets the nick attribute of the AbstractContact object
 void setStatus(java.lang.String status)
          Sets the status attribute of the AbstractContact object
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.dexterim.core.Contact
changeState, getFriendlyName, getIdentity, getState
 

Constructor Detail

AbstractContact

public AbstractContact()
Creates a new instance of DefaultContact


AbstractContact

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

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

getNick

public java.lang.String getNick()
Gets the nick attribute of the AbstractContact object

Returns:
The nick value

getAccount

public java.lang.String getAccount()
Gets the account attribute of the AbstractContact object

Returns:
The account value

getStatus

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

Returns:
The status value

setNick

public void setNick(java.lang.String nick)
Sets the nick attribute of the AbstractContact object

Parameters:
nick - The new nick value

setStatus

public void setStatus(java.lang.String status)
Sets the status attribute of the AbstractContact object

Parameters:
status - The new status value

getValue

public java.lang.Object getValue(java.lang.Object key)
Gets the value attribute of the AbstractContact object

Parameters:
key - Description of the Parameter
Returns:
The value value

hashCode

public int hashCode()
Description of the Method

Returns:
Description of the Return Value

toString

public java.lang.String toString()
Description of the Method

Returns:
Description of the Return Value

equals

public boolean equals(java.lang.Object obj)
Description of the Method

Parameters:
obj - Description of the Parameter
Returns:
Description of the Return Value


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