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

All Superinterfaces:
Activity, ActivityHolder, BpelContainer, BpelEntity, BpelReferenceable, Component<BpelEntity>, ConditionHolder, DocumentComponent<BpelEntity>, ExtendableActivity, ExtensibleElements, JoinFailureSuppressor, Named<BpelEntity>, NamedElement, Referenceable
All Known Implementing Classes:
IfImpl

public interface If
extends Activity, ActivityHolder, ConditionHolder

Author:
ads

Java class for tIf complex type.

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

   <complexType name="tIf">
     <complexContent>
       <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tActivity">
         <sequence>
           <element name="condition" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tBoolean-expr"/>
           <sequence>
           <group ref="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}activity"/>
           </sequence>
           <element name="elseif" maxOccurs="unbounded" minOccurs="0">
             <complexType>
               <complexContent>
                 <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tExtensibleElements">
                   <sequence>
                     <element name="condition" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tBoolean-expr"/>
                     <group ref="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}activity"/>
                   </sequence>
                 </extension>
               </complexContent>
             </complexType>
           </element>
           <element name="else" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tActivityContainer" 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
 
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
 
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 addElseIf(ElseIf value)
          Adds new value to the end of list.
 Else getElse()
           
 ElseIf getElseIf(int i)
           
 ElseIf[] getElseIfs()
           
 void insertElseIf(ElseIf value, int i)
          Insert new value in ElseIf array children.
 void removeElse()
          Removes Else entity.
 void removeElseIf(int i)
          Removes i-th element .
 void setElse(Else value)
          Set new value as Else entity.
 void setElseIf(ElseIf value, int i)
          Set value on the i-th place.
 void setElseIfs(ElseIf[] value)
          Set new ElseIf children to this container.
 int sizeElseIfs()
           
 
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
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.ActivityHolder
getActivity, removeActivity, setActivity
 
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.ConditionHolder
getCondition, removeCondition, setCondition
 

Method Detail

getElseIfs

ElseIf[] getElseIfs()
Returns:
Array of ElseIf entities.

setElseIfs

void setElseIfs(ElseIf[] value)
Set new ElseIf children to this container.

Parameters:
value - New array of children.

insertElseIf

void insertElseIf(ElseIf value,
                  int i)
Insert new value in ElseIf array children.

Parameters:
value - New entity.
i - index for insert.

addElseIf

void addElseIf(ElseIf value)
Adds new value to the end of list.

Parameters:
value - New ElseIf entity.

getElseIf

ElseIf getElseIf(int i)
Parameters:
i - index in array.
Returns:
i-th ElseIf entity.

setElseIf

void setElseIf(ElseIf value,
               int i)
Set value on the i-th place.

Parameters:
value - New value.
i - index in array.

removeElseIf

void removeElseIf(int i)
Removes i-th element .

Parameters:
i - index in array.

sizeElseIfs

int sizeElseIfs()
Returns:
Size of ElseIf children elements.

getElse

Else getElse()
Returns:
Else child entity.

setElse

void setElse(Else value)
Set new value as Else entity.

Parameters:
value - New Else entity.

removeElse

void removeElse()
Removes Else entity.