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

All Superinterfaces:
BpelEntity, Component<BpelEntity>, DocumentComponent<BpelEntity>
All Known Subinterfaces:
Activity, ActivityHolder, Alert, Assign, AssignChild, BaseCorrelation, BaseFaultHandlers, BaseScope, Catch, CatchAll, CompensatableActivityHolder, Compensate, CompensateScope, CompensationHandler, CompensationHandlerHolder, CompletionCondition, CompositeActivity, Copy, Correlation, CorrelationContainer, CorrelationSet, CorrelationSetContainer, CorrelationsHolder, Documentation, Else, ElseIf, Empty, EventHandlers, Exit, ExtendableActivity, ExtensibleAssign, ExtensibleElements, Extension, ExtensionActivity, ExtensionContainer, FaultHandler, FaultHandlers, Flow, ForEach, From, FromPartContainer, FromPartsHolder, If, Import, Invoke, Link, LinkContainer, Literal, Log, MessageExchange, MessageExchangeContainer, OnAlarmEvent, OnAlarmPick, OnEvent, OnMessage, OnMessageCommon, PartnerLink, PartnerLinkContainer, PatternedCorrelation, PatternedCorrelationContainer, Pick, Process, Query, Receive, RepeatUntil, Reply, ReThrow, Scope, Sequence, ServiceRef, Source, SourceContainer, Target, TargetContainer, TerminationHandler, Throw, TimeEventHolder, To, ToPartContainer, ToPartsHolder, Trace, Validate, Variable, VariableContainer, VariableDeclarationScope, Wait, While
All Known Implementing Classes:
ActivityHolderImpl, ActivityImpl, AlertImpl, AssignImpl, BaseScopeImpl, BpelContainerImpl, CatchAllImpl, CatchImpl, CompensateImpl, CompensateScopeImpl, CompensationHandlerImpl, CompletionConditionImpl, CompositeActivityImpl, ConditionalActivity, CopyImpl, CorrelationContainerImpl, CorrelationImpl, CorrelationSetContainerImpl, CorrelationSetImpl, DocumentationImpl, ElseIfImpl, ElseImpl, EmptyImpl, EventHandlersImpl, ExitImpl, ExtensibleAssignImpl, ExtensibleElementsImpl, ExtensionActivityImpl, ExtensionContainerImpl, ExtensionImpl, FaultHandlersImpl, FlowImpl, ForEachImpl, FromHolderImpl, FromImpl, FromPartConainerImpl, IfImpl, ImportImpl, InvokeImpl, InvokeReceiveReplyCommonImpl, LinkContainerImpl, LinkImpl, LiteralImpl, LoggingEntityImpl, LogImpl, MessageExchangeContainerImpl, MessageExchangeImpl, NamedElementImpl, NamespaceSpecImpl, OnAlarmEventImpl, OnAlarmPickImpl, OnEventImpl, OnMessageCommonImpl, OnMessageImpl, PartnerLinkContainerImpl, PartnerLinkImpl, PatternedCorrelationContainerImpl, PatternedCorrelationImpl, PickImpl, ProcessImpl, QueryImpl, ReceiveImpl, RepeatUntilImpl, ReplyImpl, ReplyReceiveIntersectImpl, ReThrowImpl, ScopeImpl, SequenceImpl, ServiceRefImpl, SourceContainerImpl, SourceImpl, TargetContainerImpl, TargetImpl, TerminationHandlerImpl, ThrowImpl, ToFromIntersectImpl, ToImpl, ToPartContainerImpl, TraceImpl, ValidateImpl, VariableContainerImpl, VariableImpl, WaitImpl, WhileImpl

public interface BpelContainer
extends BpelEntity

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
<T extends BpelEntity>
int
indexOf(java.lang.Class<T> type, T entity)
          Returns index of entity in children list with specified type.
<T extends BpelEntity>
void
remove(T entity)
          Common method for deleting child from this parent.
 
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

remove

<T extends BpelEntity> void remove(T entity)
Common method for deleting child from this parent.

Type Parameters:
T - type of entity.
Parameters:
entity - element for remove.

indexOf

<T extends BpelEntity> int indexOf(java.lang.Class<T> type,
                                   T entity)
Returns index of entity in children list with specified type. If entity is not child of this container then it returns -1.

Type Parameters:
T - Bpel entity type.
Parameters:
type - Bpel entity class.
entity - Child entity in this container.
Returns:
Index of entity.