org.eclipse.weaver.extension.providers
Class XMIElementRefItemProvider

java.lang.Object
  extended byReflectiveItemProvider
      extended byorg.eclipse.weaver.extension.providers.WElementItemProvider
          extended byorg.eclipse.weaver.extension.providers.XMIElementRefItemProvider
All Implemented Interfaces:
IIdentifierAdapter, IWeaverItemProvider

public class XMIElementRefItemProvider
extends WElementItemProvider
implements IIdentifierAdapter

ItemProvider extension with XMI ID generation mechanism

Author:
- Marcos Didonet Del Fabro (LINA Labs, INRIA team)
- Guillaume Gueltas (Sodifrance)
See Also:
Serialized Form

Constructor Summary
XMIElementRefItemProvider()
           
 
Method Summary
 java.lang.Object getID()
          gets the id of the current object
 Notifier getTarget()
           
 void notifyChanged(Notification notification)
           
 void setID(java.lang.Object obj)
          sets the id of the current object calculating from the obj
 void setTarget(Notifier source)
           
 
Methods inherited from class org.eclipse.weaver.extension.providers.WElementItemProvider
collectNewChildDescriptors, getAllConcreteSubclasses, getChildren, getChildrenFeatures, getCreateChildImage, getCreateChildText, getEElementPropertyDescriptors, getIconMap, getIconPath, getImage, getPropertyDescriptors, getText, isAdapterForType, setAdapterFactory, setIconMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMIElementRefItemProvider

public XMIElementRefItemProvider()
Method Detail

setID

public void setID(java.lang.Object obj)
Description copied from interface: IIdentifierAdapter
sets the id of the current object calculating from the obj

Specified by:
setID in interface IIdentifierAdapter
Parameters:
obj - the object to do the calculations (is is commonly a String)

getID

public java.lang.Object getID()
Description copied from interface: IIdentifierAdapter
gets the id of the current object

Specified by:
getID in interface IIdentifierAdapter
Returns:
the object ID

getTarget

public Notifier getTarget()

setTarget

public void setTarget(Notifier source)

notifyChanged

public void notifyChanged(Notification notification)
Overrides:
notifyChanged in class WElementItemProvider