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

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

public interface SourceContainer
extends ExtensibleElements

Author:
ads

Java class for tSources complex type.

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

   <complexType name="tSources">
     <complexContent>
       <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tExtensibleElements">
         <sequence>
           <element name="source" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tSource" 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 addSource(Source source)
          Adds source to the end of sources list.
 Source getSource(int i)
           
 Source[] getSources()
          Returns list of all sources entities.
 void insertSource(Source source, int i)
          Insert source to the ith position.
 void removeSource(int i)
          Remove i-th Source ( index in Sources set ).
 void setSource(Source source, int i)
          Set source to the i place.
 void setSources(Source[] source)
          Set new list iof sources for this activity.
 int sizeOfSource()
           
 
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

getSources

Source[] getSources()
Returns list of all sources entities.

Returns:
array of sources.

getSource

Source getSource(int i)
Parameters:
i - position in array.
Returns:
ith source entity.

removeSource

void removeSource(int i)
Remove i-th Source ( index in Sources set ).

Parameters:
i - position in array.

setSource

void setSource(Source source,
               int i)
Set source to the i place.

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

addSource

void addSource(Source source)
Adds source to the end of sources list.

Parameters:
source - object for add.

setSources

void setSources(Source[] source)
Set new list iof sources for this activity.

Parameters:
source - array for set.

insertSource

void insertSource(Source source,
                  int i)
Insert source to the ith position.

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

sizeOfSource

int sizeOfSource()
Returns:
size of sources list.