org.eclipse.ecf.presence.roster
Class RosterGroup
java.lang.Object
org.eclipse.ecf.presence.roster.RosterItem
org.eclipse.ecf.presence.roster.RosterGroup
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, IRosterGroup, IRosterItem
public class RosterGroup
- extends RosterItem
- implements IRosterGroup
Base roster group class implementing IRosterGroup
. Subclasses may be
created as appropriate.
Field Summary |
protected java.util.List |
entries
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
entries
protected java.util.List entries
RosterGroup
public RosterGroup(IRosterItem parent,
java.lang.String name,
java.util.Collection existingEntries)
RosterGroup
public RosterGroup(IRosterItem parent,
java.lang.String name)
add
public boolean add(IRosterItem item)
addAll
protected void addAll(java.util.Collection existingEntries)
getEntries
public java.util.Collection getEntries()
- Description copied from interface:
IRosterGroup
- Get roster entries belonging to this group. Instances of list are of type
IRosterEntry
- Specified by:
getEntries
in interface IRosterGroup
- Returns:
- Collection of IRosterEntrys. Will not return
null
.
May return an empty Collection.
remove
public boolean remove(IRosterItem item)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object