org.netbeans.modules.xml.wsdl.model.extensions.bpel.impl
Class BPELComponentUpdater

java.lang.Object
  extended by org.netbeans.modules.xml.wsdl.model.extensions.bpel.impl.BPELComponentUpdater
All Implemented Interfaces:
BPELExtensibilityComponent.Visitor, ComponentUpdater<BPELExtensibilityComponent>, ComponentUpdater.Query<BPELExtensibilityComponent>

public class BPELComponentUpdater
extends java.lang.Object
implements BPELExtensibilityComponent.Visitor, ComponentUpdater<BPELExtensibilityComponent>, ComponentUpdater.Query<BPELExtensibilityComponent>

Author:
Nam Nguyen changed by, ads

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.netbeans.modules.xml.xam.ComponentUpdater
ComponentUpdater.Operation, ComponentUpdater.Query<C extends Component>
 
Constructor Summary
BPELComponentUpdater()
          Creates a new instance of BPELComponentUpdater
 
Method Summary
 boolean canAdd(BPELExtensibilityComponent target, Component child)
          Check if a component can be added to target component.
 void update(BPELExtensibilityComponent target, BPELExtensibilityComponent child, ComponentUpdater.Operation operation)
          Updates children list.
 void update(BPELExtensibilityComponent target, BPELExtensibilityComponent child, int index, ComponentUpdater.Operation operation)
          Updates children list.
 void visit(CorrelationProperty c)
           
 void visit(Documentation c)
           
 void visit(PartnerLinkType c)
           
 void visit(PropertyAlias c)
           
 void visit(Query c)
           
 void visit(Role child)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BPELComponentUpdater

public BPELComponentUpdater()
Creates a new instance of BPELComponentUpdater

Method Detail

canAdd

public boolean canAdd(BPELExtensibilityComponent target,
                      Component child)
Description copied from interface: ComponentUpdater.Query
Check if a component can be added to target component.

Specified by:
canAdd in interface ComponentUpdater.Query<BPELExtensibilityComponent>
Parameters:
target - component to be updated
child - component to be added.

update

public void update(BPELExtensibilityComponent target,
                   BPELExtensibilityComponent child,
                   ComponentUpdater.Operation operation)
Description copied from interface: ComponentUpdater
Updates children list.

Specified by:
update in interface ComponentUpdater<BPELExtensibilityComponent>
Parameters:
target - component to be updated
child - component to be added or removed.
operation - add or remove; if null, no update should happen, only query for possibility the update.

update

public void update(BPELExtensibilityComponent target,
                   BPELExtensibilityComponent child,
                   int index,
                   ComponentUpdater.Operation operation)
Description copied from interface: ComponentUpdater
Updates children list.

Specified by:
update in interface ComponentUpdater<BPELExtensibilityComponent>
Parameters:
target - component to be updated
child - component to be added or removed.
index - of child component to be added or removed.
operation - add or remove; if null, no update should happen, only query for possibility the update.

visit

public void visit(PropertyAlias c)
Specified by:
visit in interface BPELExtensibilityComponent.Visitor

visit

public void visit(CorrelationProperty c)
Specified by:
visit in interface BPELExtensibilityComponent.Visitor

visit

public void visit(Role child)
Specified by:
visit in interface BPELExtensibilityComponent.Visitor

visit

public void visit(PartnerLinkType c)
Specified by:
visit in interface BPELExtensibilityComponent.Visitor

visit

public void visit(Query c)
Specified by:
visit in interface BPELExtensibilityComponent.Visitor

visit

public void visit(Documentation c)
Specified by:
visit in interface BPELExtensibilityComponent.Visitor