blob: ea79da8ccb6823ff03ebe8c1cf575e31a5641069 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/****************************************************************************
* Copyright (c) 2004 Composent, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Composent, Inc. - initial API and implementation
*****************************************************************************/
package org.eclipse.ecf.presence.roster;
import org.eclipse.core.runtime.IAdaptable;
public interface IRosterItem extends IAdaptable {
/**
* Return name of item.
*
* @return String name of item. May return <code>null</code>.
*/
public String getName();
/**
* Return parent of item
*
* @return IRosterItem parent of roster item. May be <code>null</code>.
*/
public IRosterItem getParent();
/**
* Get the roster associated with this item.
*
* @return IRoster instance associated with this item. Will return <code>null</code> if
* this IRosterItem is not associated with any roster.
*/
public IRoster getRoster();
}
|