org.netbeans.modules.bpel.model.api
Interface TargetContainer

All Superinterfaces:
BpelContainer, BpelEntity, Component<BpelEntity>, DocumentComponent<BpelEntity>, ExtensibleElements
All Known Implementing Classes:
TargetContainerImpl

public interface TargetContainer
extends ExtensibleElements

Author:
ads

Java class for tTargets complex type.

The following schema fragment specifies the expected content contained within this class.

   <complexType name="tTargets">
     <complexContent>
       <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tExtensibleElements">
         <sequence>
           <element name="joinCondition" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tCondition" minOccurs="0"/>
           <element name="target" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tTarget" maxOccurs="unbounded"/>
         </sequence>
       </extension>
     </complexContent>
   </complexType>
 

Field Summary
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.BpelEntity
BUSINESS_PROCESS_1_1_NS_URI, BUSINESS_PROCESS_DRAFT_NS_URI, BUSINESS_PROCESS_NS_URI
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Method Summary
 void addTarget(Target target)
          Adds target to the end.
 Condition getJoinCondition()
           
 Target getTarget(int i)
           
 Target[] getTargets()
           
 void insertTarget(Target target, int i)
          Insert target to the ith place.
 void removeJoinCondition()
          Removes "joinCondition" tag entity.
 void removeTarget(int i)
          Remove i-th Target ( index in Target set ).
 void setJoinCondition(Condition condition)
          Set new Condition child.
 void setTarget(Target target, int i)
          Set target to the ith palce.
 void setTargets(Target[] target)
          Set new list of targets to this activity.
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.ExtensibleElements
addDocumentation, addExtensionEntity, getDocumentation, getDocumentation, getDocumentations, getExtensionChildren, insertDocumentation, removeDocumentation, removeDocumentation, setDocumentation, setDocumentation, setDocumentations, sizeOfDocumentations
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.BpelContainer
indexOf, remove
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.BpelEntity
accept, accept, copy, cut, getBpelModel, getCookie, getElementType, getNamespaceContext, getParent, getUID, removeCookie, setCookie
 
Methods inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
findAttributePosition, findChildComponent, findPosition, getAttribute, getPeer, isInDocumentModel, referencesSameNode, setAttribute
 
Methods inherited from interface org.netbeans.modules.xml.xam.Component
canPaste, copy, getChildren, getChildren, getChildren, getModel
 

Method Detail

getTargets

Target[] getTargets()
Returns:
array of all Targets

getTarget

Target getTarget(int i)
Parameters:
i - position in array.
Returns:
ith Taget.

removeTarget

void removeTarget(int i)
Remove i-th Target ( index in Target set ).

Parameters:
i - position in array.

setTarget

void setTarget(Target target,
               int i)
Set target to the ith palce.

Parameters:
target - object for set.
i - position for set.

addTarget

void addTarget(Target target)
Adds target to the end.

Parameters:
target - object for add

setTargets

void setTargets(Target[] target)
Set new list of targets to this activity.

Parameters:
target - array for set.

insertTarget

void insertTarget(Target target,
                  int i)
Insert target to the ith place.

Parameters:
target - object for insert.
i - position for insert.

getJoinCondition

Condition getJoinCondition()
Returns:
"joinCondition" tag entity.

setJoinCondition

void setJoinCondition(Condition condition)
Set new Condition child.

Parameters:
condition - New Condition child object.

removeJoinCondition

void removeJoinCondition()
Removes "joinCondition" tag entity.