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

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.OnMessageCommonImpl
All Implemented Interfaces:
BpelContainer, BpelEntity, CorrelationsHolder, ExtensibleElements, FromPartsHolder, MessageExchangeReference, OnMessageCommon, OperationReference, PartnerLinkReference, PortTypeReference, ReferenceCollection, Responder, Component<BpelEntity>, DocumentComponent<BpelEntity>, DocumentModelAccess.NodeUpdater
Direct Known Subclasses:
OnEventImpl, OnMessageImpl

public abstract class OnMessageCommonImpl
extends ExtensibleElementsImpl
implements OnMessageCommon

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.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.PartnerLinkReference
PARTNER_LINK
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.PortTypeReference
PORT_TYPE
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.OperationReference
OPERATION
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.MessageExchangeReference
MESSAGE_EXCHANGE
 
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
 
Constructor Summary
OnMessageCommonImpl(BpelBuilderImpl builder, java.lang.String tagName)
           
OnMessageCommonImpl(BpelModelImpl model, org.w3c.dom.Element e)
           
 
Method Summary
 void addFromPart(FromPart part)
           
protected  BpelEntity create(org.w3c.dom.Element element)
          This method should be implemented by each container .
 CorrelationContainer getCorrelationContainer()
          Gets the value of the correlations property.
protected  Attribute[] getDomainAttributes()
          This method should be implemented by any real class.
 FromPart getFromPart(int i)
           
 FromPartContainer getFromPartContaner()
          Gets the value of the fromParts property.
 FromPart[] getFromParts()
           
 BpelReference<MessageExchange> getMessageExchange()
          Getter for "messageExchange" attribute value.
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.
 WSDLReference<Operation> getOperation()
          Gets the value of the operation property.
 BpelReference<PartnerLink> getPartnerLink()
          Gets the value of the partnerLink property.
 WSDLReference<PortType> getPortType()
          Gets the value of the "portType" property.
 Reference[] getReferences()
          Returns array of references.
 void insertFromPart(FromPart part, int i)
           
 void removeCorrelationContainer()
          Removes child correaltion container.
 void removeFromPart(int i)
           
 void removeFromPartContainer()
          Removes child fromPart container.
 void removeMessageExchange()
          Removes "messageExchange" attribute.
 void removePortType()
          Removes "portType" attribute.
 void setCorrelationContainer(CorrelationContainer value)
          Sets the value of the correlations property.
 void setFromPart(FromPart part, int i)
           
 void setFromPartContainer(FromPartContainer value)
          Sets the value of the fromParts property.
 void setFromParts(FromPart[] parts)
           
 void setMessageExchange(BpelReference<MessageExchange> ref)
          Setter for "messageExchange" attribute value.
 void setOperation(WSDLReference<Operation> value)
          Sets the value of the operation property.
 void setPartnerLink(BpelReference<PartnerLink> value)
          Sets the value of the partnerLink property.
 void setPortType(WSDLReference<PortType> value)
          Sets the value of the portType property.
 int sizeOfFromParts()
           
 
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.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, 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.references.ReferenceCollection
createReference, createSchemaReference, createWSDLReference
 
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.references.ReferenceCollection
createReference, createSchemaReference, createWSDLReference
 
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
 
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
 

Constructor Detail

OnMessageCommonImpl

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

OnMessageCommonImpl

OnMessageCommonImpl(BpelBuilderImpl builder,
                    java.lang.String tagName)
Method Detail

getPartnerLink

public BpelReference<PartnerLink> getPartnerLink()
Description copied from interface: PartnerLinkReference
Gets the value of the partnerLink property.

Specified by:
getPartnerLink in interface PartnerLinkReference
Returns:
possible object is reference to PartnerLink object.

setPartnerLink

public void setPartnerLink(BpelReference<PartnerLink> value)
Description copied from interface: PartnerLinkReference
Sets the value of the partnerLink property.

Specified by:
setPartnerLink in interface PartnerLinkReference
Parameters:
value - allowed object is reference to PartnerLink object.

getPortType

public WSDLReference<PortType> getPortType()
Description copied from interface: PortTypeReference
Gets the value of the "portType" property.

Specified by:
getPortType in interface PortTypeReference
Returns:
possible object is reference to PortType object in WSDL model.

setPortType

public void setPortType(WSDLReference<PortType> value)
Description copied from interface: PortTypeReference
Sets the value of the portType property.

Specified by:
setPortType in interface PortTypeReference
Parameters:
value - allowed object is reference to PortType object in WSDL model.

removePortType

public void removePortType()
Description copied from interface: PortTypeReference
Removes "portType" attribute.

Specified by:
removePortType in interface PortTypeReference

getOperation

public WSDLReference<Operation> getOperation()
Description copied from interface: OperationReference
Gets the value of the operation property.

Specified by:
getOperation in interface OperationReference
Returns:
possible object is reference to Operation object in WSDL model.

setOperation

public void setOperation(WSDLReference<Operation> value)
Description copied from interface: OperationReference
Sets the value of the operation property.

Specified by:
setOperation in interface OperationReference
Parameters:
value - allowed object is reference to Operation object in WSDL model.

getMessageExchange

public BpelReference<MessageExchange> getMessageExchange()
Description copied from interface: MessageExchangeReference
Getter for "messageExchange" attribute value.

Specified by:
getMessageExchange in interface MessageExchangeReference
Returns:
Reference to messageExchange element.

setMessageExchange

public void setMessageExchange(BpelReference<MessageExchange> ref)
Description copied from interface: MessageExchangeReference
Setter for "messageExchange" attribute value.

Specified by:
setMessageExchange in interface MessageExchangeReference
Parameters:
ref - New "messageExchange" reference.

removeMessageExchange

public void removeMessageExchange()
Description copied from interface: MessageExchangeReference
Removes "messageExchange" attribute.

Specified by:
removeMessageExchange in interface MessageExchangeReference

getFromParts

public FromPart[] getFromParts()

getFromPart

public FromPart getFromPart(int i)

setFromPart

public void setFromPart(FromPart part,
                        int i)

insertFromPart

public void insertFromPart(FromPart part,
                           int i)

addFromPart

public void addFromPart(FromPart part)

setFromParts

public void setFromParts(FromPart[] parts)

sizeOfFromParts

public int sizeOfFromParts()

removeFromPart

public void removeFromPart(int i)

getCorrelationContainer

public CorrelationContainer getCorrelationContainer()
Description copied from interface: CorrelationsHolder
Gets the value of the correlations property.

Specified by:
getCorrelationContainer in interface CorrelationsHolder
Returns:
possible object is CorrelationContainer

removeCorrelationContainer

public void removeCorrelationContainer()
Description copied from interface: CorrelationsHolder
Removes child correaltion container.

Specified by:
removeCorrelationContainer in interface CorrelationsHolder

setCorrelationContainer

public void setCorrelationContainer(CorrelationContainer value)
Description copied from interface: CorrelationsHolder
Sets the value of the correlations property.

Specified by:
setCorrelationContainer in interface CorrelationsHolder
Parameters:
value - allowed object is CorrelationContainer

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
Returns:
array of references.

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 ExtensibleElementsImpl
Returns:

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 BpelContainerImpl

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 ExtensibleElementsImpl