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

All Superinterfaces:
ActivityHolder, BaseScope, BpelContainer, BpelEntity, Component<BpelEntity>, DocumentComponent<BpelEntity>, ExpressionLanguageSpec, ExtensibleElements, JoinFailureSuppressor, Named<BpelEntity>, NamedElement, QueryLanguageSpec, VariableDeclarationScope
All Known Implementing Classes:
ProcessImpl

public interface Process
extends JoinFailureSuppressor, NamedElement, BaseScope, ExpressionLanguageSpec, QueryLanguageSpec

Java class for tProcess complex type.

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

   <xsd:complexType name="tProcess">
       <xsd:complexContent>
           <xsd:extension base="tExtensibleElements">
               <xsd:sequence>
                   <xsd:element ref="extensions" minOccurs="0"/>
                   <xsd:element ref="import" minOccurs="0" maxOccurs="unbounded"/>
                   <xsd:element ref="partnerLinks" minOccurs="0"/>
                   <xsd:element ref="messageExchanges" minOccurs="0"/>
                   <xsd:element ref="variables" minOccurs="0"/>
                   <xsd:element ref="correlationSets" minOccurs="0"/>
                   <xsd:element ref="faultHandlers" minOccurs="0"/>
                  <xsd:element ref="eventHandlers" minOccurs="0"/>
                   <xsd:group ref="activity" minOccurs="1"/>
               </xsd:sequence>
               <xsd:attribute name="name" type="xsd:NCName" use="required"/>
               <xsd:attribute name="targetNamespace" type="xsd:anyURI" use="required"/>
               <xsd:attribute name="queryLanguage" type="xsd:anyURI" default="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
               <xsd:attribute name="expressionLanguage" type="xsd:anyURI" default="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
               <xsd:attribute name="suppressJoinFailure" type="tBoolean" default="no"/>
               <xsd:attribute name="exitOnStandardFault" type="tBoolean" default="no"/>
           </xsd:extension>
       </xsd:complexContent>
   </xsd:complexType>
 


Field Summary
static java.lang.String ATOMIC
          atomic attribute's name.
static java.lang.String TARGET_NAMESPACE
          targetNamespace attribute name.
 
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.BaseScope
EXIT_ON_STANDART_FAULT
 
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.ExpressionLanguageSpec
EXPRESSION_LANGUAGE
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.QueryLanguageSpec
QUERY_LANGUAGE
 
Method Summary
 void addImport(Import imp)
          Adds new import imp to this parent.
 ExtensionContainer getExtensionContainer()
          Gets the "extensions" entity child .
 Import getImport(int i)
           
 Import[] getImports()
           
 java.lang.String getTargetNamespace()
          Gets the value of the targetNamespace property.
 void insertImport(Import imp, int i)
          Inserts new import imp at the i-th place.
 TBoolean isAtomic()
          Indicates if the process is atomic.
 void removeExpressionLanguage()
          Removes expressionLanguage attribute.
 void removeExtensionContainer()
          Removes "extensions" entity as children if it exists.
 void removeImport(int i)
          Removes i-th import from children list.
 void setAtomic(TBoolean value)
          Set atomic attribute.
 void setExtensionContainer(ExtensionContainer value)
          Sets the "extensions" entity child .
 void setImport(Import imp, int i)
          Replace i-th place impport with new import imp.
 void setImports(Import[] imports)
          Set new list of children of imports.
 void setTargetNamespace(java.lang.String value)
          Sets the value of the targetNamespace property.
 int sizeOfImports()
           
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.NamedElement
getName, setName
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.BaseScope
getCorrelationSetContainer, getEventHandlers, getExitOnStandardFault, getFaultHandlers, getMessageExchangeContainer, getPartnerLinkContainer, getVariableContainer, removeCorrelationSetContainer, removeEventHandlers, removeExitOnStandardFault, removeFaultHandlers, removeMessageExchangeContainer, removePartnerLinkContainer, removeVariableContainer, setCorrelationSetContainer, setEventHandlers, setExitOnStandardFault, setFaultHandlers, setMessageExchangeContainer, setPartnerLinkContainer, setVariableContainer
 
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, 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.bpel.model.api.ExpressionLanguageSpec
getExpressionLanguage, setExpressionLanguage
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.QueryLanguageSpec
getQueryLanguage, removeQueryLanguage, setQueryLanguage
 

Field Detail

TARGET_NAMESPACE

static final java.lang.String TARGET_NAMESPACE
targetNamespace attribute name.

See Also:
Constant Field Values

ATOMIC

static final java.lang.String ATOMIC
atomic attribute's name.

See Also:
Constant Field Values
Method Detail

getTargetNamespace

java.lang.String getTargetNamespace()
Gets the value of the targetNamespace property.

Returns:
possible object is String

setTargetNamespace

void setTargetNamespace(java.lang.String value)
                        throws VetoException
Sets the value of the targetNamespace property.

Parameters:
value - allowed object is String
Throws:
VetoException - VetoException will be thrown if value if not acceptable as targetNamespace attribute here.

removeExpressionLanguage

void removeExpressionLanguage()
Removes expressionLanguage attribute.

Specified by:
removeExpressionLanguage in interface ExpressionLanguageSpec

getExtensionContainer

ExtensionContainer getExtensionContainer()
Gets the "extensions" entity child .

Returns:
possible object is Extensions

setExtensionContainer

void setExtensionContainer(ExtensionContainer value)
Sets the "extensions" entity child .

Parameters:
value - allowed object is Extensions

removeExtensionContainer

void removeExtensionContainer()
Removes "extensions" entity as children if it exists.


getImports

Import[] getImports()
Returns:
Array of "import" children in this process.

addImport

void addImport(Import imp)
Adds new import imp to this parent.

Parameters:
imp - New child for addition.

setImport

void setImport(Import imp,
               int i)
Replace i-th place impport with new import imp.

Parameters:
imp - New child for setting.
i - Index in children list.

insertImport

void insertImport(Import imp,
                  int i)
Inserts new import imp at the i-th place.

Parameters:
imp - New child for addition.
i - Index in children list.

removeImport

void removeImport(int i)
Removes i-th import from children list.

Parameters:
i - Index in children list.

setImports

void setImports(Import[] imports)
Set new list of children of imports.

Parameters:
imports - New array of children.

getImport

Import getImport(int i)
Parameters:
i - Index in children list.
Returns:
i-th child in imports array.

sizeOfImports

int sizeOfImports()
Returns:
size of "imports" children.

isAtomic

TBoolean isAtomic()
Indicates if the process is atomic. It isn't an extension (not standard) attribute of the process. atomic=true - acknowledges Message(MEx) to its partner immediately after executing Receive activity. atomic=false - acknowledges Message(MEx) to its partner when the instance completes.

Returns:
the value of the atomic flag

setAtomic

void setAtomic(TBoolean value)
Set atomic attribute. See the description of the isAtomic() method.

Parameters:
value -