org.netbeans.modules.bpel.model.impl
Class InvokeImpl

java.lang.Object
  extended by org.netbeans.modules.xml.xam.AbstractComponent<C>
      extended by org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent<BpelEntity>
          extended by org.netbeans.modules.bpel.model.impl.BpelEntityImpl
              extended by org.netbeans.modules.bpel.model.impl.BpelContainerImpl
                  extended by org.netbeans.modules.bpel.model.impl.ExtensibleElementsImpl
                      extended by org.netbeans.modules.bpel.model.impl.NamedElementImpl
                          extended by org.netbeans.modules.bpel.model.impl.ActivityImpl
                              extended by org.netbeans.modules.bpel.model.impl.InvokeReceiveReplyCommonImpl
                                  extended by org.netbeans.modules.bpel.model.impl.InvokeImpl
All Implemented Interfaces:
Activity, BaseFaultHandlers, BpelContainer, BpelEntity, CompensationHandlerHolder, ExtendableActivity, ExtensibleElements, FromPartsHolder, Invoke, JoinFailureSuppressor, NamedElement, OperationReference, PartnerLinkReference, PortTypeReference, BpelReferenceable, ReferenceCollection, Requester, Responder, ToPartsHolder, AfterExtensions, AfterImport, AfterSources, AfterTargets, Component<BpelEntity>, DocumentComponent<BpelEntity>, DocumentModelAccess.NodeUpdater, Named<BpelEntity>, Referenceable

public class InvokeImpl
extends InvokeReceiveReplyCommonImpl
implements Invoke

Author:
ads

Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.modules.bpel.model.impl.BpelContainerImpl
BpelContainerImpl.CopyKey, BpelContainerImpl.Multiplicity
 
Nested classes/interfaces inherited from class org.netbeans.modules.bpel.model.impl.BpelEntityImpl
BpelEntityImpl.IdMapKey
 
Nested classes/interfaces inherited from class org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent
AbstractDocumentComponent.PrefixAttribute
 
Field Summary
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.Invoke
INPUT_VARIABLE, OUTPUT_VARIABLE
 
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
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.OperationReference
OPERATION
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.PortTypeReference
PORT_TYPE
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.PartnerLinkReference
PARTNER_LINK
 
Constructor Summary
InvokeImpl(BpelBuilderImpl builder)
           
InvokeImpl(BpelModelImpl model, org.w3c.dom.Element e)
           
 
Method Summary
 void accept(BpelModelVisitor visitor)
          This method will apply visitor to this OM element.
 void addCatch(Catch catc)
          Add catch.
protected  BpelEntity create(org.w3c.dom.Element element)
          This method should be implemented by each container .
 Catch getCatch(int i)
           
 CatchAll getCatchAll()
           
 Catch[] getCatches()
          Returns array catch children.
 CompensationHandler getCompensationHandler()
          Gets the value of the compensationHandler property.
protected  Attribute[] getDomainAttributes()
          This method should be implemented by any real class.
 java.lang.Class<? extends BpelEntity> getElementType()
           
 FromPartContainer getFromPartContaner()
          Gets the value of the fromParts property.
 BpelReference<VariableDeclaration> getInputVariable()
          Gets the value of the "inputVariable" property.
protected  BpelContainerImpl.Multiplicity getMultiplicity(BpelEntity entity)
          This method should be overriden in concrete implementation if entity can present in this container with not unbounded multiplicity.
 BpelReference<VariableDeclaration> getOutputVariable()
          Gets the value of the outputVariable property.
 PatternedCorrelationContainer getPatternedCorrelationContainer()
          Gets the value of the correlations property.
 Reference[] getReferences()
          Returns array of references.
 ToPartContainer getToPartContaner()
          Gets the value of the toParts property.
 void insertCatch(Catch catc, int i)
          Insert catc.
 void removeCatch(int i)
          Removes ith catch.
 void removeCatchAll()
          Removes activityOrCompenstateContainer.
 void removeCompensationHandler()
          Removes compensationHandler.
 void removeFromPartContainer()
          Removes child fromPart container.
 void removeInputVariable()
          Removes inputVariable attribute.
 void removeOutputVariable()
          Removes outputVariable attribute.
 void removePatternedCorrelationContainer()
          Removes PatternedCorrelationContainer.
 void removeToPartContainer()
          Removes child toPart container.
 void setCatch(Catch catc, int i)
          Set ith catch.
 void setCatchAll(CatchAll value)
          Sets the value of the catchAll property.
 void setCatches(Catch[] catches)
          Set new array of catches.
 void setCompensationHandler(CompensationHandler value)
          Sets the value of the compensationHandler property.
 void setFromPartContainer(FromPartContainer value)
          Sets the value of the fromParts property.
 void setInputVariable(BpelReference<VariableDeclaration> value)
          Sets the value of the inputVariable property.
 void setOutputVariable(BpelReference<VariableDeclaration> value)
          Sets the value of the outputVariable property.
 void setPatternedCorrelationContainer(PatternedCorrelationContainer value)
          Sets the value of the correlations property.
 void setToPartContainer(ToPartContainer value)
          Sets the value of the toParts property.
 int sizeOfCathes()
           
 
Methods inherited from class org.netbeans.modules.bpel.model.impl.InvokeReceiveReplyCommonImpl
getCorrelationContainer, getOperation, getPartnerLink, getPortType, removeCorrelationContainer, removePortType, setCorrelationContainer, setOperation, setPartnerLink, setPortType
 
Methods inherited from class org.netbeans.modules.bpel.model.impl.ActivityImpl
getSourceContainer, getSuppressJoinFailure, getTargetContainer, removeName, removeSourceContainer, removeSuppressJoinFailure, removeTargetContainer, setSourceContainer, setSuppressJoinFailure, setTargetContainer
 
Methods inherited from class org.netbeans.modules.bpel.model.impl.NamedElementImpl
getName, setName
 
Methods inherited from class org.netbeans.modules.bpel.model.impl.ExtensibleElementsImpl
addDocumentation, addExtensionEntity, getDocumentation, getDocumentation, getDocumentations, getExtensionChildren, insertDocumentation, removeDocumentation, removeDocumentation, setDocumentation, setDocumentation, setDocumentations, sizeOfDocumentations
 
Methods inherited from class org.netbeans.modules.bpel.model.impl.BpelContainerImpl
addChild, addChildAfter, addChildBefore, canPaste, getChild, getChild, getChildren, getChildType, indexOf, insertAtAbsoluteIndex, insertAtIndex, insertAtIndexAfter, isRegular, populateChildren, remove, removeChild, removeChild, setArrayAfter, setArrayBefore, setChild, setChildAtIndex
 
Methods inherited from class org.netbeans.modules.bpel.model.impl.BpelEntityImpl
accept, acceptChildren, checkDeleted, checkInTree, copy, copy, createReference, createSchemaReference, createWSDLReference, cut, getAttribute, getAttributeAccess, getAttributeValueOf, getBooleanAttribute, getBpelModel, getBpelReference, getBpelReferenceList, getCookie, getCookies, getCorrectedText, getEntityName, getModel, getNamespaceContext, getParent, getQNameAttribute, getSchemaReference, getSchemaReferenceList, getText, getUID, getWSDLReference, getWSDLReferenceList, handleAttributeChange, isDeleted, isInTree, postGlobalEvent, postGlobalEvent, readLock, readUnlock, removeAttribute, removeCookie, removeReference, setAttribute, setBpelAttribute, setBpelAttribute, setBpelAttribute, setBpelReference, setBpelReferenceList, setCookie, setCookies, setDeleted, setInTree, setInTreeRecursively, setSchemaReference, setText, setText, setUID, setWSDLReference, setWSDLReferenceList, updateReference, writeLock, writeUnlock
 
Methods inherited from class org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent
addPrefix, appendChildQuietly, createPrefixAttribute, ensureUnique, ensureValueNamespaceDeclared, findAttributePosition, findChildComponent, findChildComponentByIdentity, findDomainIndex, findPosition, fireChildAdded, fireChildRemoved, firePropertyChange, fireValueChanged, getAccess, getAnyAttribute, getAttributeMap, getChildElement, getChildElementText, getEffectiveParent, getLeadingText, getNamespaceURI, getNodeIndexOf, getPeer, getPrefixedName, getPrefixedName, getPrefixedName, getPrefixes, getQName, getQName, getText, getText, getTrailingText, getXmlFragment, getXmlFragmentInclusive, insertAtIndexQuietly, isInDocumentModel, lookupNamespaceURI, lookupNamespaceURI, lookupPrefix, referencesSameNode, removeAttributeQuietly, removeChildQuietly, removePrefix, resolveModel, setAnyAttribute, setAttributeQuietly, setChildElementText, setLeadingText, setQNameAttribute, setText, setTrailingText, setXmlFragment, updatePeer, updateReference, updateReference, updateReference, verifyWrite
 
Methods inherited from class org.netbeans.modules.xml.xam.AbstractComponent
addAfter, addBefore, addPropertyChangeListener, appendChild, checkNullOrDuplicateChild, getChildren, getChildren, insertAtIndex, insertAtIndex, isChildrenInitialized, removeChild, removeComponentListener, removePropertyChangeListener, setChild, setChild, setChildAfter, setChildBefore, setModel, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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, copy, cut, getBpelModel, getCookie, 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, copy, cut, getBpelModel, getCookie, 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, copy, cut, getBpelModel, getCookie, 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.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, copy, cut, getBpelModel, getCookie, 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.OperationReference
getOperation, setOperation
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.references.ReferenceCollection
createReference, createSchemaReference, createWSDLReference
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.PortTypeReference
getPortType, removePortType, setPortType
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.references.ReferenceCollection
createReference, createSchemaReference, createWSDLReference
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.PartnerLinkReference
getPartnerLink, setPartnerLink
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.references.ReferenceCollection
createReference, createSchemaReference, createWSDLReference
 

Constructor Detail

InvokeImpl

InvokeImpl(BpelModelImpl model,
           org.w3c.dom.Element e)

InvokeImpl

InvokeImpl(BpelBuilderImpl builder)
Method Detail

getPatternedCorrelationContainer

public PatternedCorrelationContainer getPatternedCorrelationContainer()
Description copied from interface: Invoke
Gets the value of the correlations property.

Specified by:
getPatternedCorrelationContainer in interface Invoke
Returns:
possible object is PatternedCorrelationContainer

setPatternedCorrelationContainer

public void setPatternedCorrelationContainer(PatternedCorrelationContainer value)
Description copied from interface: Invoke
Sets the value of the correlations property.

Specified by:
setPatternedCorrelationContainer in interface Invoke
Parameters:
value - allowed object is PatternedCorrelationContainer

removePatternedCorrelationContainer

public void removePatternedCorrelationContainer()
Description copied from interface: Invoke
Removes PatternedCorrelationContainer.

Specified by:
removePatternedCorrelationContainer in interface Invoke

getInputVariable

public BpelReference<VariableDeclaration> getInputVariable()
Description copied from interface: Invoke
Gets the value of the "inputVariable" property.

Specified by:
getInputVariable in interface Invoke
Returns:
possible object is VariableReference.

setInputVariable

public void setInputVariable(BpelReference<VariableDeclaration> value)
Description copied from interface: Invoke
Sets the value of the inputVariable property.

Specified by:
setInputVariable in interface Invoke
Parameters:
value - allowed object is VariableReference.

removeInputVariable

public void removeInputVariable()
Description copied from interface: Invoke
Removes inputVariable attribute.

Specified by:
removeInputVariable in interface Invoke

getOutputVariable

public BpelReference<VariableDeclaration> getOutputVariable()
Description copied from interface: Invoke
Gets the value of the outputVariable property.

Specified by:
getOutputVariable in interface Invoke
Returns:
possible object is VariableReference.

setOutputVariable

public void setOutputVariable(BpelReference<VariableDeclaration> value)
Description copied from interface: Invoke
Sets the value of the outputVariable property.

Specified by:
setOutputVariable in interface Invoke
Parameters:
value - allowed object is VariableReference.

removeOutputVariable

public void removeOutputVariable()
Description copied from interface: Invoke
Removes outputVariable attribute.

Specified by:
removeOutputVariable in interface Invoke

getElementType

public java.lang.Class<? extends BpelEntity> getElementType()
Specified by:
getElementType in interface BpelEntity
Returns:
interface in OM that represented by this entity.

getCatches

public Catch[] getCatches()
Description copied from interface: BaseFaultHandlers
Returns array catch children.

Specified by:
getCatches in interface BaseFaultHandlers
Returns:
array of catch.

getCatch

public Catch getCatch(int i)
Specified by:
getCatch in interface BaseFaultHandlers
Parameters:
i - index
Returns:
ith catch.

removeCatch

public void removeCatch(int i)
Description copied from interface: BaseFaultHandlers
Removes ith catch.

Specified by:
removeCatch in interface BaseFaultHandlers
Parameters:
i - index for remove

setCatches

public void setCatches(Catch[] catches)
Description copied from interface: BaseFaultHandlers
Set new array of catches.

Specified by:
setCatches in interface BaseFaultHandlers
Parameters:
catches - array for set.

setCatch

public void setCatch(Catch catc,
                     int i)
Description copied from interface: BaseFaultHandlers
Set ith catch.

Specified by:
setCatch in interface BaseFaultHandlers
Parameters:
catc - object for set.
i - index for set.

addCatch

public void addCatch(Catch catc)
Description copied from interface: BaseFaultHandlers
Add catch.

Specified by:
addCatch in interface BaseFaultHandlers
Parameters:
catc - object for add.

insertCatch

public void insertCatch(Catch catc,
                        int i)
Description copied from interface: BaseFaultHandlers
Insert catc.

Specified by:
insertCatch in interface BaseFaultHandlers
Parameters:
catc - object for insert.
i - index for insert.

getCatchAll

public CatchAll getCatchAll()
Specified by:
getCatchAll in interface BaseFaultHandlers
Returns:
activityOrCompenstateContainer.

setCatchAll

public void setCatchAll(CatchAll value)
Description copied from interface: BaseFaultHandlers
Sets the value of the catchAll property.

Specified by:
setCatchAll in interface BaseFaultHandlers
Parameters:
value - allowed object is CatchAll

removeCatchAll

public void removeCatchAll()
Description copied from interface: BaseFaultHandlers
Removes activityOrCompenstateContainer.

Specified by:
removeCatchAll in interface BaseFaultHandlers

sizeOfCathes

public int sizeOfCathes()
Specified by:
sizeOfCathes in interface BaseFaultHandlers
Returns:
size of catches.

getCompensationHandler

public CompensationHandler getCompensationHandler()
Description copied from interface: CompensationHandlerHolder
Gets the value of the compensationHandler property.

Specified by:
getCompensationHandler in interface CompensationHandlerHolder
Returns:
possible object is CompensationHandler

setCompensationHandler

public void setCompensationHandler(CompensationHandler value)
Description copied from interface: CompensationHandlerHolder
Sets the value of the compensationHandler property.

Specified by:
setCompensationHandler in interface CompensationHandlerHolder
Parameters:
value - allowed object is CompensationHandler

removeCompensationHandler

public void removeCompensationHandler()
Description copied from interface: CompensationHandlerHolder
Removes compensationHandler.

Specified by:
removeCompensationHandler in interface CompensationHandlerHolder

getToPartContaner

public ToPartContainer getToPartContaner()
Description copied from interface: ToPartsHolder
Gets the value of the toParts property.

Specified by:
getToPartContaner in interface ToPartsHolder
Returns:
possible object is ToPartContainer

removeToPartContainer

public void removeToPartContainer()
Description copied from interface: ToPartsHolder
Removes child toPart container.

Specified by:
removeToPartContainer in interface ToPartsHolder

setToPartContainer

public void setToPartContainer(ToPartContainer value)
Description copied from interface: ToPartsHolder
Sets the value of the toParts property.

Specified by:
setToPartContainer in interface ToPartsHolder
Parameters:
value - allowed object is ToPartContainer

getFromPartContaner

public FromPartContainer getFromPartContaner()
Description copied from interface: FromPartsHolder
Gets the value of the fromParts property.

Specified by:
getFromPartContaner in interface FromPartsHolder
Returns:
possible object is FromPartContainer

removeFromPartContainer

public void removeFromPartContainer()
Description copied from interface: FromPartsHolder
Removes child fromPart container.

Specified by:
removeFromPartContainer in interface FromPartsHolder

setFromPartContainer

public void setFromPartContainer(FromPartContainer value)
Description copied from interface: FromPartsHolder
Sets the value of the fromParts property.

Specified by:
setFromPartContainer in interface FromPartsHolder
Parameters:
value - allowed object is FromPartContainer

getReferences

public Reference[] getReferences()
Description copied from interface: ReferenceCollection
Returns array of references.

Specified by:
getReferences in interface ReferenceCollection
Overrides:
getReferences in class InvokeReceiveReplyCommonImpl
Returns:
array of references.

accept

public void accept(BpelModelVisitor visitor)
Description copied from interface: BpelEntity
This method will apply visitor to this OM element. visitor should perform navigation in tree ( if it wants by itself ).

Specified by:
accept in interface BpelEntity
Parameters:
visitor - visitor for OM.

create

protected BpelEntity create(org.w3c.dom.Element element)
Description copied from class: BpelContainerImpl
This method should be implemented by each container . Container should recognize in element its child and create Bpel element respectively. Warning! Here exist some possibility for error. Each container should recognize only those children that could be inside it as specification said. One cannot create one static mehtod for recognition all BPEL elements because f.e. container VariableContainer could have ONLY Variable inside it. It cannot have "flow" tag inside it ( it can have "flow" but this is just extention element that will not be treated as BPEL element ).

Overrides:
create in class InvokeReceiveReplyCommonImpl
Returns:

getDomainAttributes

protected Attribute[] getDomainAttributes()
Description copied from class: BpelEntityImpl
This method should be implemented by any real class. It returns list of possible attributes for entity. It used in firing event about attribute change while synchronizing with source.

Overrides:
getDomainAttributes in class InvokeReceiveReplyCommonImpl

getMultiplicity

protected BpelContainerImpl.Multiplicity getMultiplicity(BpelEntity entity)
Description copied from class: BpelContainerImpl
This method should be overriden in concrete implementation if entity can present in this container with not unbounded multiplicity.

Overrides:
getMultiplicity in class InvokeReceiveReplyCommonImpl