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

All Superinterfaces:
Activity, BpelContainer, BpelEntity, BpelReferenceable, Component<BpelEntity>, DocumentComponent<BpelEntity>, ExtendableActivity, ExtensibleElements, JoinFailureSuppressor, Named<BpelEntity>, NamedElement, Referenceable
All Known Subinterfaces:
Flow, Sequence
All Known Implementing Classes:
CompositeActivityImpl, FlowImpl, SequenceImpl

public interface CompositeActivity
extends Activity

Author:
ads

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
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.JoinFailureSuppressor
SUPPRESS_JOIN_FAILURE
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.NamedElement
NAME
 
Fields inherited from interface org.netbeans.modules.xml.xam.Named
NAME_PROPERTY
 
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
 
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 addActivity(ExtendableActivity activity)
          Add activity to the end of list.
 ExtendableActivity[] getActivities()
          Gets the value of the activity property.
 ExtendableActivity getActivity(int i)
           
 void insertActivity(ExtendableActivity activity, int i)
          Insert child activtity on the ith place.
 void removeActivity(int i)
          Removes child activity.
 void setActivity(ExtendableActivity activity, int i)
          Set activity on ith place.
 void setActivtities(ExtendableActivity[] activities)
          Set array of activities as new list of activities children.
 int sizeOfActivities()
          Size of child activities.
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.Activity
getSourceContainer, getTargetContainer, removeName, removeSourceContainer, removeTargetContainer, setSourceContainer, setTargetContainer
 
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
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.JoinFailureSuppressor
getSuppressJoinFailure, removeSuppressJoinFailure, setSuppressJoinFailure
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.NamedElement
getName, setName
 
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
 
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

getActivities

ExtendableActivity[] getActivities()
Gets the value of the activity property. Objects of the ExtendableActivity type could appear in this list.

Returns:
array of activities.

getActivity

ExtendableActivity getActivity(int i)
Parameters:
i - index in array.
Returns:
child activity on i-th position.

setActivity

void setActivity(ExtendableActivity activity,
                 int i)
Set activity on ith place.

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

removeActivity

void removeActivity(int i)
Removes child activity.

Parameters:
i - position for remove.

insertActivity

void insertActivity(ExtendableActivity activity,
                    int i)
Insert child activtity on the ith place.

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

addActivity

void addActivity(ExtendableActivity activity)
Add activity to the end of list.

Parameters:
activity - add object to this parent.

sizeOfActivities

int sizeOfActivities()
Size of child activities.

Returns:
size of children.

setActivtities

void setActivtities(ExtendableActivity[] activities)
Set array of activities as new list of activities children.

Parameters:
activities - array of activitty objects.