org.eclipse.gmt.weaver.providers
Interface IIdentifierAdapter

All Superinterfaces:
org.eclipse.emf.common.notify.Adapter
All Known Implementing Classes:
GenericIdentifierAdapter, MergeElementRefItemProvider, MergeIdentifierAdapter, ResourceIdentifierAdapter, XMIElementRefItemProvider, XMIIdentifierAdapter

public interface IIdentifierAdapter
extends org.eclipse.emf.common.notify.Adapter

Interface that defines methods for ID generation

Since:
1.1

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Method Summary
 java.lang.Object getID()
          gets the id of the current object
 void setID(java.lang.Object obj)
          sets the id of the current object calculating from the obj
 
Methods inherited from interface org.eclipse.emf.common.notify.Adapter
getTarget, isAdapterForType, notifyChanged, setTarget
 

Method Detail

setID

void setID(java.lang.Object obj)
sets the id of the current object calculating from the obj

Parameters:
obj - the object to do the calculations (is is commonly a String)

getID

java.lang.Object getID()
gets the id of the current object

Returns:
the object ID