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

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

public interface MessageExchangeContainer
extends ExtensibleElements

  <xsd:element name="messageExchanges" type="tMessageExchanges"/>
   <xsd:complexType name="tMessageExchanges">
       <xsd:complexContent>
           <xsd:extension base="tExtensibleElements">
               <xsd:sequence>
                   <xsd:element ref="messageExchange" minOccurs="1" maxOccurs="unbounded"/>
               </xsd:sequence>
           </xsd:extension>
       </xsd:complexContent>
   </xsd:complexType>
 

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
 
Method Summary
 void addMessageExchange(MessageExchange exchange)
          Adds new MessageExchange child to the end of MessageExchange children list.
 MessageExchange getMessageExchange(int i)
          Getter for i-th MessageExchange child.
 MessageExchange[] getMessageExchanges()
           
 void insertMessageExchange(MessageExchange exchange, int i)
          Inserts new MessageExchange on the i-th position.
 void removeMessageExchange(int i)
          Removes i-th child.
 void setMessageExchange(MessageExchange exchange, int i)
          Setter for i-th MessageExchange child.
 void setMessageExchanges(MessageExchange[] exchanges)
          Setter for array MessageExchange children.
 int sizeOfMessageExchanges()
           
 
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

getMessageExchanges

MessageExchange[] getMessageExchanges()
Returns:
MessageExchange children for this container.

getMessageExchange

MessageExchange getMessageExchange(int i)
Getter for i-th MessageExchange child.

Parameters:
i - Index for child.
Returns:
MessageExchange object on the i-th position.

setMessageExchange

void setMessageExchange(MessageExchange exchange,
                        int i)
Setter for i-th MessageExchange child.

Parameters:
exchange - New MessageExchange object.
i - Index for child.

insertMessageExchange

void insertMessageExchange(MessageExchange exchange,
                           int i)
Inserts new MessageExchange on the i-th position.

Parameters:
exchange - New MessageExchange object.
i - Index for child.

removeMessageExchange

void removeMessageExchange(int i)
Removes i-th child.

Parameters:
i - Index for child.

addMessageExchange

void addMessageExchange(MessageExchange exchange)
Adds new MessageExchange child to the end of MessageExchange children list.

Parameters:
exchange - New MessageExchange object.

setMessageExchanges

void setMessageExchanges(MessageExchange[] exchanges)
Setter for array MessageExchange children.

Parameters:
exchanges - New array of children.

sizeOfMessageExchanges

int sizeOfMessageExchanges()
Returns:
Size of MessageExchange children.