KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > commands > common > IIdentifiable


1 /*******************************************************************************
2  * Copyright (c) 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  ******************************************************************************/

11
12 package org.eclipse.core.commands.common;
13
14 /**
15  * <p>
16  * An object that is unique identifiable based on the combination of its class
17  * and its identifier.
18  * </p>
19  *
20  * @see HandleObject
21  * @since 3.2
22  */

23 public interface IIdentifiable {
24
25     /**
26      * Returns the identifier for this object.
27      *
28      * @return The identifier; never <code>null</code>.
29      */

30     String JavaDoc getId();
31 }
32
Popular Tags