Eclipse PDE
Release 3.0

org.eclipse.pde.core
Interface IIdentifiable

All Known Subinterfaces:
IFragment, IPlugin, IPluginBase, IPluginExtension, IPluginExtensionPoint, IPluginImport, IPluginReference

public interface IIdentifiable

Classes implement this interface if their instances need to be uniquely identified using an id.

Since:
2.0

Field Summary
static String P_ID
          A property that will be carried by the change event if 'id' field of this object is changed.
 
Method Summary
 String getId()
          Returns a unique id of this object.
 void setId(String id)
          Sets the id of this IIdentifiable to the provided value.
 

Field Detail

P_ID

public static final String P_ID
A property that will be carried by the change event if 'id' field of this object is changed.

See Also:
Constant Field Values
Method Detail

getId

public String getId()
Returns a unique id of this object.

Returns:
the id of this object

setId

public void setId(String id)
           throws CoreException
Sets the id of this IIdentifiable to the provided value. This method will throw CoreException if object is not editable.

Parameters:
id - a new id of this object
Throws:
CoreException

Eclipse PDE
Release 3.0

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.