org.eclipse.weaver.providers
Interface IIdentifierAdapter

All Known Implementing Classes:
XMIElementRefItemProvider, XMIIdentifierAdapter

public interface IIdentifierAdapter

Interface that defines methods for ID generation

Since:
1.1
Author:
- Marcos Didonet Del Fabro (LINA Labs, INRIA team)
- Guillaume Gueltas (Sodifrance)

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
 

Method Detail

setID

public 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

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

Returns:
the object ID