org.eclipse.ecf.protocol.msn
Class Group

java.lang.Object
  extended by org.eclipse.ecf.protocol.msn.Group

public final class Group
extends java.lang.Object

A Group is a collection of Contacts within a ContactList. A Contact can be in zero or more Groups.

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
 boolean contains(Contact contact)
          Returns whether the specified contact is in this group.
 java.util.Collection getContacts()
           
 java.lang.String getName()
          Returns the name of this group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

contains

public boolean contains(Contact contact)
Returns whether the specified contact is in this group.

Parameters:
contact -
Returns:
true if the contact is in this group, false otherwise

getContacts

public java.util.Collection getContacts()

getName

public java.lang.String getName()
Returns the name of this group.

Returns:
this group's name