net.sf.dexterim.core
Class DefaultContact

java.lang.Object
  extended bynet.sf.dexterim.core.DefaultContact
All Implemented Interfaces:
Contact

public class DefaultContact
extends java.lang.Object
implements Contact

Author:
Christoph Walcher

Constructor Summary
DefaultContact()
          Creates a new instance of DefaultContact
DefaultContact(java.lang.Object id, java.lang.String friendlyName)
           
 
Method Summary
 void changeState(java.lang.Object stateID)
           
 java.lang.String getFriendlyName()
          Getter for property friendlyName.
 java.lang.Object getIdentity()
          Getter for property id.
 ContactState getState()
           
 void setFriendlyName(java.lang.String friendlyName)
          Setter for property friendlyName.
 void setIdentity(java.lang.Object id)
          Setter for property id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultContact

public DefaultContact()
Creates a new instance of DefaultContact


DefaultContact

public DefaultContact(java.lang.Object id,
                      java.lang.String friendlyName)
Method Detail

getFriendlyName

public java.lang.String getFriendlyName()
Getter for property friendlyName.

Specified by:
getFriendlyName in interface Contact
Returns:
Value of property friendlyName.

setFriendlyName

public void setFriendlyName(java.lang.String friendlyName)
Setter for property friendlyName.

Parameters:
friendlyName - New value of property friendlyName.

getIdentity

public java.lang.Object getIdentity()
Getter for property id.

Specified by:
getIdentity in interface Contact
Returns:
Value of property id.

setIdentity

public void setIdentity(java.lang.Object id)
Setter for property id.

Parameters:
id - New value of property id.

changeState

public void changeState(java.lang.Object stateID)
Specified by:
changeState in interface Contact

getState

public ContactState getState()
Specified by:
getState in interface Contact


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