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

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

public interface ExtensibleElements
extends BpelContainer

This type is extended by other component types to allow elements and attributes from other namespaces to be added.

Java class for tExtensibleElements complex type.

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

  <xsd:complexType name="tExtensibleElements">
       <xsd:annotation>
           <xsd:documentation>
               This type is extended by other component types to allow elements and attributes from
               other namespaces to be added at the modeled places.
           </xsd:documentation>
       </xsd:annotation>
       <xsd:sequence>
           <xsd:element ref="documentation" minOccurs="0" maxOccurs="unbounded"/>
           <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
       </xsd:sequence>
       <xsd:anyAttribute namespace="##other" processContents="lax"/>
   </xsd: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 addDocumentation(Documentation documentation)
          Adds new documentation in the end of children list.
<T extends ExtensionEntity>
void
addExtensionEntity(java.lang.Class<T> type, T entity)
          Add extension entity to the end of children list with specified type.
 java.lang.String getDocumentation()
           
 Documentation getDocumentation(int i)
          Returns i-th Documentation element.
 Documentation[] getDocumentations()
           
 java.util.List<ExtensionEntity> getExtensionChildren()
           
 void insertDocumentation(Documentation documentation, int i)
          Insert new documentation element to the i position.
 void removeDocumentation()
           
 void removeDocumentation(int i)
          Removes i-th Documentation child.
 void setDocumentation(Documentation documentation, int i)
          Set new documentation element to the i-th position.
 void setDocumentation(java.lang.String documentation)
           
 void setDocumentations(Documentation[] documentations)
          Set new Documentation array .
 int 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

getDocumentations

Documentation[] getDocumentations()
Returns:
Documentation cildren.

getDocumentation

Documentation getDocumentation(int i)
Returns i-th Documentation element.

Parameters:
i - Index in Documentation children array.
Returns:
i-th Documentation child.

removeDocumentation

void removeDocumentation(int i)
Removes i-th Documentation child.

Parameters:
i - Index in children array.

setDocumentation

void setDocumentation(Documentation documentation,
                      int i)
Set new documentation element to the i-th position.

Parameters:
documentation - New Documentation child
i - Index in children array.

insertDocumentation

void insertDocumentation(Documentation documentation,
                         int i)
Insert new documentation element to the i position.

Parameters:
documentation - New Documentation child
i - Index in children array.

setDocumentations

void setDocumentations(Documentation[] documentations)
Set new Documentation array .

Parameters:
documentations - New array.

addDocumentation

void addDocumentation(Documentation documentation)
Adds new documentation in the end of children list.

Parameters:
documentation - New documentation element.

sizeOfDocumentations

int sizeOfDocumentations()
Returns:
size of children Documentation elements.

getDocumentation

java.lang.String getDocumentation()

setDocumentation

void setDocumentation(java.lang.String documentation)
                      throws VetoException
Throws:
VetoException

removeDocumentation

void removeDocumentation()
                         throws VetoException
Throws:
VetoException

addExtensionEntity

<T extends ExtensionEntity> void addExtensionEntity(java.lang.Class<T> type,
                                                    T entity)
Add extension entity to the end of children list with specified type.

Type Parameters:
T - Class of entity.
Parameters:
type - extension entity class.
entity - New child extension entity.

getExtensionChildren

java.util.List<ExtensionEntity> getExtensionChildren()
Returns:
All extension children.