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

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

public interface EventHandlers
extends ExtensibleElements, BpelContainer

Java class for tEventHandlers complex type.

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

   <complexType name="tEventHandlers">
     <complexContent>
       <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tExtensibleElements">
         <sequence>
           <element name="onEvent" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tOnEvent" maxOccurs="unbounded" minOccurs="0"/>
           <element name="onAlarm" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tOnAlarmEvent" maxOccurs="unbounded" minOccurs="0"/>
         </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 addOnAlarm(OnAlarmEvent alarm)
          Add alarm.
 void addOnEvent(OnEvent event)
          Adds OnEvent.
 OnAlarmEvent getOnAlarm(int i)
          Returns ith onAlarmEvent.
 OnAlarmEvent[] getOnAlarms()
          Returns array of onAlarmEvent children.
 OnEvent getOnEvent(int i)
          Returns ith OnEvent child .
 OnEvent[] getOnEvents()
          Returns aray of onEvent children.
 void insertOnAlarm(OnAlarmEvent alarm, int i)
          Insert alarm to the ith place.
 void insertOnEvent(OnEvent event, int i)
          Insert event on the ith place.
 void removeOnAlarm(int i)
          Removes ith onAlarmEvent.
 void removeOnEvent(int i)
          Removes ith onMessage object.
 void setOnAlarm(OnAlarmEvent alarm, int i)
          Set ith onAlarmEvent to alarm object.
 void setOnAlarms(OnAlarmEvent[] alarm)
          Set new array of onAlarmEvent children.
 void setOnEvent(OnEvent[] events)
          Set new array of OnEvent children.
 void setOnEvent(OnEvent event, int i)
          Set event to the ith place.
 int sizeOfOnAlarms()
           
 int sizeOfOnEvents()
           
 
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

getOnEvents

OnEvent[] getOnEvents()
Returns aray of onEvent children.

Returns:
array of onMessage.

getOnEvent

OnEvent getOnEvent(int i)
Returns ith OnEvent child .

Parameters:
i - index
Returns:
ith OnEvent object.

removeOnEvent

void removeOnEvent(int i)
Removes ith onMessage object.

Parameters:
i - index

setOnEvent

void setOnEvent(OnEvent[] events)
Set new array of OnEvent children.

Parameters:
events - new array for set.

setOnEvent

void setOnEvent(OnEvent event,
                int i)
Set event to the ith place.

Parameters:
event - object for set.
i - index

addOnEvent

void addOnEvent(OnEvent event)
Adds OnEvent.

Parameters:
event - object for add.

insertOnEvent

void insertOnEvent(OnEvent event,
                   int i)
Insert event on the ith place.

Parameters:
event - object for insert.
i - index

getOnAlarms

OnAlarmEvent[] getOnAlarms()
Returns array of onAlarmEvent children.

Returns:
array of onAlarmEvent children.

getOnAlarm

OnAlarmEvent getOnAlarm(int i)
Returns ith onAlarmEvent.

Parameters:
i - index in array.
Returns:
ith onAlarmEvent.

removeOnAlarm

void removeOnAlarm(int i)
Removes ith onAlarmEvent.

Parameters:
i - index for remove.

setOnAlarms

void setOnAlarms(OnAlarmEvent[] alarm)
Set new array of onAlarmEvent children.

Parameters:
alarm - array for set.

setOnAlarm

void setOnAlarm(OnAlarmEvent alarm,
                int i)
Set ith onAlarmEvent to alarm object.

Parameters:
alarm - object for set.
i - index.

addOnAlarm

void addOnAlarm(OnAlarmEvent alarm)
Add alarm.

Parameters:
alarm - object for add.

insertOnAlarm

void insertOnAlarm(OnAlarmEvent alarm,
                   int i)
Insert alarm to the ith place.

Parameters:
alarm - object for set.
i - index

sizeOfOnEvents

int sizeOfOnEvents()
Returns:
size of onMessage children.

sizeOfOnAlarms

int sizeOfOnAlarms()
Returns:
size of onAlarm children.