|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ecf.protocol.msn.Contact
public final class Contact
This class represents a contact that a user has on his or her MSN list.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Method Summary | |
---|---|
void |
addContactListener(IContactListener listener)
Adds a IContactListener to this contact. |
boolean |
equals(java.lang.Object obj)
Returns whether the specified object is equal to this. |
java.lang.String |
getDisplayName()
Gets the displayed name of this contact. |
java.lang.String |
getEmail()
Returns the email address of the user. |
java.util.Collection |
getGroups()
Retrieves the groups that this contact is a part of. |
java.lang.String |
getPersonalMessage()
Returns the personal message that this contact is currently using. |
Status |
getStatus()
Retrieves the current status of this contact. |
int |
hashCode()
Returns a unique integer hash code for this contact. |
void |
removeContactListener(IContactListener listener)
Removes a IContactListener from this contact. |
java.lang.String |
toString()
Returns this contact's email address that's being used for identification purposes in MSN. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.util.Collection getGroups()
public Status getStatus()
public java.lang.String getDisplayName()
public java.lang.String getPersonalMessage()
public java.lang.String getEmail()
public void addContactListener(IContactListener listener)
listener
- the listener to be addedpublic void removeContactListener(IContactListener listener)
listener
- the listener to be removedpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
true
if the argument is a Contact and
also has the same email address as thispublic int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |