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

All Known Implementing Classes:
BpelBuilderImpl

public interface BPELElementsBuilder

This is factory class for entities creation. Entity that was created via this builder will not have UID. Method getUID will return null for such entity.

Author:
ads

Method Summary
 void addEntityChangeListener(ChangeEventListener listener)
          Add change listener to builder.
 ExtendableActivity createActivity(ActivityDescriptor descriptor)
          Creates activity by its descriptor.
 Assign createAssign()
           
 Branches createBranches()
           
 Catch createCatch()
           
 CatchAll createCatchAll()
           
 Compensate createCompensate()
           
 CompensateScope createCompensateScope()
           
 CompensationHandler createCompenstaionHandler()
           
 CompletionCondition createCompletionCondition()
           
 BooleanExpr createCondition()
           
 Copy createCopy()
           
 Correlation createCorrelation()
           
 CorrelationContainer createCorrelationContainer()
           
 CorrelationSet createCorrelationSet()
           
 CorrelationSetContainer createCorrelationSetContainer()
           
 Documentation createDocumentation()
           
 Else createElse()
           
 ElseIf createElseIf()
           
 Empty createEmpty()
           
 EventHandlers createEventHandlers()
           
 Exit createExit()
           
 Extension createExtension()
           
 ExtensionContainer createExtensionContainer()
           
<T extends ExtensionEntity>
T
createExtensionEntity(java.lang.Class<T> clazz)
          Creates extension element.
 FaultHandlers createFaultHandlers()
           
 FinalCounterValue createFinalCounterValue()
           
 Flow createFlow()
           
 For createFor()
           
 ForEach createForEach()
           
 From createFrom()
           
 FromPart createFromPart()
           
 FromPartContainer createFromPartContainer()
           
 If createIf()
           
 Import createImport()
           
 Invoke createInvoke()
           
 Condition createJoinCondition()
           
 Link createLink()
           
 LinkContainer createLinkContainer()
           
 Literal createLiteral()
           
 MessageExchange createMessageExchange()
           
 MessageExchangeContainer createMessageExchangeContainer()
           
 OnAlarmEvent createOnAlarmEvent()
           
 OnAlarmPick createOnAlarmPick()
           
 OnEvent createOnEvent()
           
 OnMessage createOnMessage()
           
 PartnerLink createPartnerLink()
           
 PartnerLinkContainer createPartnerLinkContainer()
           
 PatternedCorrelation createPatternedCorrelation()
           
 PatternedCorrelationContainer createPatternedCorrelationContainer()
           
 Pick createPick()
           
 Process createProcess()
           
 Query createQuery()
           
 Receive createReceive()
           
 RepeatEvery createRepeatEvery()
           
 RepeatUntil createRepeatUntil()
           
 Reply createReply()
           
 ReThrow createRethrow()
           
 Scope createScope()
           
 Sequence createSequence()
           
 ServiceRef createServiceRef()
           
 Source createSource()
           
 SourceContainer createSourceContainer()
           
 StartCounterValue createStartCounterValue()
           
 Target createTarget()
           
 TargetContainer createTargetContainer()
           
 TerminationHandler createTerminationHandler()
           
 Throw createThrow()
           
 To createTo()
           
 ToPart createToPart()
           
 ToPartContainer createToPartContainer()
           
 Condition createTransitionCondition()
           
 DeadlineExpression createUntil()
           
 Validate createValidate()
           
 Variable createVariable()
           
 VariableContainer createVariableContainer()
           
 Wait createWait()
           
 While createWhile()
           
 void removeEntityChangeListener(ChangeEventListener listener)
          Removes change listener from builder.
 

Method Detail

createActivity

ExtendableActivity createActivity(ActivityDescriptor descriptor)
Creates activity by its descriptor.

Parameters:
descriptor - description of activity.
Returns:
instantiated activity

createProcess

Process createProcess()
Returns:
instantiated process.

createEmpty

Empty createEmpty()
Returns:
instantiated empty.

createInvoke

Invoke createInvoke()
Returns:
instantiated invoke.

createReceive

Receive createReceive()
Returns:
instantiated receive.

createReply

Reply createReply()
Returns:
instantiated reply.

createAssign

Assign createAssign()
Returns:
instantiated assign.

createWait

Wait createWait()
Returns:
instantiated wait.

createThrow

Throw createThrow()
Returns:
instantiated throw.

createExit

Exit createExit()
Returns:
instantiated terminate.

createFlow

Flow createFlow()
Returns:
instantiated flow.

createWhile

While createWhile()
Returns:
instantiated while.

createSequence

Sequence createSequence()
Returns:
instantiated sequence.

createPick

Pick createPick()
Returns:
instantiated pick.

createScope

Scope createScope()
Returns:
instantiated scope.

createForEach

ForEach createForEach()
Returns:
instantiated forEach.

createIf

If createIf()
Returns:
instantiated if.

createRepeatUntil

RepeatUntil createRepeatUntil()
Returns:
instantiated repeatUntil.

createRethrow

ReThrow createRethrow()
Returns:
instantiated rethrow.

createValidate

Validate createValidate()
Returns:
instantiated validate.

createPartnerLinkContainer

PartnerLinkContainer createPartnerLinkContainer()
Returns:
instantiated partnerLinks.

createPartnerLink

PartnerLink createPartnerLink()
Returns:
instantiated partnerLink.

createFaultHandlers

FaultHandlers createFaultHandlers()
Returns:
instantiated faultHandlers.

createCatch

Catch createCatch()
Returns:
instantiated catch.

createEventHandlers

EventHandlers createEventHandlers()
Returns:
instantiated eventHandlers.

createOnMessage

OnMessage createOnMessage()
Returns:
instantiated onMessage.

createCompenstaionHandler

CompensationHandler createCompenstaionHandler()
Returns:
instantiated compensationHandler.

createVariableContainer

VariableContainer createVariableContainer()
Returns:
instantiated variables.

createVariable

Variable createVariable()
Returns:
instantiated variable.

createCorrelationSetContainer

CorrelationSetContainer createCorrelationSetContainer()
Returns:
instantiated correlationSets.

createCorrelationSet

CorrelationSet createCorrelationSet()
Returns:
instantiated correlationSet

createSource

Source createSource()
Returns:
instantiated source.

createTarget

Target createTarget()
Returns:
instantiated target.

createCorrelationContainer

CorrelationContainer createCorrelationContainer()
Returns:
instantiated correlations.

createCorrelation

Correlation createCorrelation()
Returns:
instantiated correlation.

createPatternedCorrelation

PatternedCorrelation createPatternedCorrelation()
Returns:
instantiated correlationWithPattern.

createPatternedCorrelationContainer

PatternedCorrelationContainer createPatternedCorrelationContainer()
Returns:
instantiated correlationsWithPattern.

createTo

To createTo()
Returns:
instantiated to.

createFrom

From createFrom()
Returns:
instantiated from.

createCompensate

Compensate createCompensate()
Returns:
instantiated compensate.

createCompensateScope

CompensateScope createCompensateScope()
Returns:
instantiated compensateScope.

createLinkContainer

LinkContainer createLinkContainer()
Returns:
instantiated links.

createLink

Link createLink()
Returns:
instantiated link.

createCopy

Copy createCopy()
Returns:
instantiated copy.

createCatchAll

CatchAll createCatchAll()
Returns:
instantiated catchAll ( activityOrCompensateContainer ).

createCondition

BooleanExpr createCondition()
Returns:
instantiated boolean expression.

createBranches

Branches createBranches()
Returns:
instantiated branches.

createCompletionCondition

CompletionCondition createCompletionCondition()
Returns:
instantiated completionCondition.

createTransitionCondition

Condition createTransitionCondition()
Returns:
instantiated transitionCondition.

createJoinCondition

Condition createJoinCondition()
Returns:
instantiated joinCondition.

createUntil

DeadlineExpression createUntil()
Returns:
instantiated Deadline Expression.

createDocumentation

Documentation createDocumentation()
Returns:
instantiated documentation.

createElse

Else createElse()
Returns:
instantiated else.

createElseIf

ElseIf createElseIf()
Returns:
instantiated elseif.

createToPart

ToPart createToPart()
Returns:
instantiated toPart.

createToPartContainer

ToPartContainer createToPartContainer()
Returns:
instantiated toParts.

createTerminationHandler

TerminationHandler createTerminationHandler()
Returns:
instantiated terminationHandler.

createTargetContainer

TargetContainer createTargetContainer()
Returns:
instantiated targets.

createStartCounterValue

StartCounterValue createStartCounterValue()
Returns:
instantiated startCounterValue.

createSourceContainer

SourceContainer createSourceContainer()
Returns:
instantiated sources.

createRepeatEvery

RepeatEvery createRepeatEvery()
Returns:
instantiated repeatEvery.

createOnEvent

OnEvent createOnEvent()
Returns:
instantiated onEvent.

createOnAlarmPick

OnAlarmPick createOnAlarmPick()
Returns:
instantiated onAlarm for Pick OnAlarmPick element.

createOnAlarmEvent

OnAlarmEvent createOnAlarmEvent()
Returns:
instantiated onAlarm for EventHandlers OnAlarmEvent element.

createExtensionContainer

ExtensionContainer createExtensionContainer()
Returns:
instantiated extensions.

createExtension

Extension createExtension()
Returns:
instantiated extension.

createFinalCounterValue

FinalCounterValue createFinalCounterValue()
Returns:
instantiated finalCounterValue.

createLiteral

Literal createLiteral()
Returns:
instantiated literal.

createImport

Import createImport()
Returns:
instantiated import.

createFromPart

FromPart createFromPart()
Returns:
instantiated fromPart.

createFromPartContainer

FromPartContainer createFromPartContainer()
Returns:
instantiated fromParts.

createFor

For createFor()
Returns:
instantiated for.

createMessageExchangeContainer

MessageExchangeContainer createMessageExchangeContainer()
Returns:
instantiated messageExchages element.

createMessageExchange

MessageExchange createMessageExchange()
Returns:
instantiated messageExchage element.

createServiceRef

ServiceRef createServiceRef()
Returns:
instantiated "service-ref" element.

createQuery

Query createQuery()
Returns:
instantiated query element.

createExtensionEntity

<T extends ExtensionEntity> T createExtensionEntity(java.lang.Class<T> clazz)
Creates extension element.

Type Parameters:
T - Class for element type.
Parameters:
clazz - Type for extension element.
Returns:
instantiated extension element with specified type.

addEntityChangeListener

void addEntityChangeListener(ChangeEventListener listener)
Add change listener to builder. Those listeners will be notified with only events that concern unattached elements.

Parameters:
listener - listener for add.

removeEntityChangeListener

void removeEntityChangeListener(ChangeEventListener listener)
Removes change listener from builder.

Parameters:
listener - listener for remove.