org.netbeans.modules.bpel.model.api.support
Interface EntityUpdater


public interface EntityUpdater

Author:
ads This is updater intercace that needs to be implemented in extension implementation. It is used for synchronization OM and source code.

Method Summary
 void update(BpelEntity target, ExtensionEntity child, ComponentUpdater.Operation operation)
          This method is called from syncer when target should be updated with child .
 void update(BpelEntity target, ExtensionEntity child, int index, ComponentUpdater.Operation operation)
          This method is called from syncer when target should be updated with child .
 

Method Detail

update

void update(BpelEntity target,
            ExtensionEntity child,
            ComponentUpdater.Operation operation)
This method is called from syncer when target should be updated with child . Operation is specified in operation argument.

Parameters:
target - Parent element.
child - Child element.
operation - Operation that should be performed on child in parent.

update

void update(BpelEntity target,
            ExtensionEntity child,
            int index,
            ComponentUpdater.Operation operation)
This method is called from syncer when target should be updated with child . Operation is specified in operation argument.

Parameters:
target - Parent element.
child - Child element.
index - Index of child element in prent.
operation - Operation that should be performed on child in parent.