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

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.ReplyReceiveIntersectImpl
                                      extended by org.netbeans.modules.bpel.model.impl.ReplyImpl
All Implemented Interfaces:
Activity, BpelContainer, BpelEntity, CorrelationsHolder, ExtendableActivity, ExtensibleElements, FaultNameReference, JoinFailureSuppressor, MessageExchangeReference, NamedElement, OperationReference, PartnerLinkReference, PortTypeReference, BpelReferenceable, ReferenceCollection, Reply, Requester, ToPartsHolder, VariableReference, AfterExtensions, AfterImport, AfterSources, AfterTargets, Component<BpelEntity>, DocumentComponent<BpelEntity>, DocumentModelAccess.NodeUpdater, Named<BpelEntity>, Referenceable

public class ReplyImpl
extends ReplyReceiveIntersectImpl
implements Reply

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.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.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.VariableReference
VARIABLE
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.FaultNameReference
FAULT_NAME
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.PartnerLinkReference
PARTNER_LINK
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.MessageExchangeReference
MESSAGE_EXCHANGE
 
Constructor Summary
ReplyImpl(BpelBuilderImpl builder)
           
ReplyImpl(BpelModelImpl model, org.w3c.dom.Element e)
           
 
Method Summary
 void accept(BpelModelVisitor visitor)
          This method will apply visitor to this OM element.
protected  BpelEntity create(org.w3c.dom.Element element)
          This method should be implemented by each container .
protected  Attribute[] getDomainAttributes()
          This method should be implemented by any real class.
 java.lang.Class<? extends BpelEntity> getElementType()
           
 javax.xml.namespace.QName getFaultName()
          Getter for faultName attribute.
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.
 ToPartContainer getToPartContaner()
          Gets the value of the toParts property.
 void removeFaultName()
          Removes faultName.
 void removeToPartContainer()
          Removes child toPart container.
 void setFaultName(javax.xml.namespace.QName value)
          Sets the value of the faultName property.
 void setToPartContainer(ToPartContainer value)
          Sets the value of the toParts property.
 
Methods inherited from class org.netbeans.modules.bpel.model.impl.ReplyReceiveIntersectImpl
getMessageExchange, getReferences, getVariable, removeMessageExchange, removeVariable, setMessageExchange, setVariable
 
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.CorrelationsHolder
getCorrelationContainer, removeCorrelationContainer, setCorrelationContainer
 
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, getReferences
 
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, getReferences
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.VariableReference
getVariable, removeVariable, setVariable
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.references.ReferenceCollection
createReference, createSchemaReference, createWSDLReference, getReferences
 
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, getReferences
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.MessageExchangeReference
getMessageExchange, removeMessageExchange, setMessageExchange
 

Constructor Detail

ReplyImpl

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

ReplyImpl

ReplyImpl(BpelBuilderImpl builder)
Method Detail

removeFaultName

public void removeFaultName()
Description copied from interface: Reply
Removes faultName.

Specified by:
removeFaultName in interface Reply

getFaultName

public javax.xml.namespace.QName getFaultName()
Description copied from interface: FaultNameReference
Getter for faultName attribute.

Specified by:
getFaultName in interface FaultNameReference
Returns:
possible object is QName

setFaultName

public void setFaultName(javax.xml.namespace.QName value)
                  throws VetoException
Description copied from interface: FaultNameReference
Sets the value of the faultName property.

Specified by:
setFaultName in interface FaultNameReference
Parameters:
value - allowed object is QName
Throws:
VetoException - VetoException Will be thrown is value have either bad namespace uri ( that is not represent URI by RFC ) or bad local part ( that not represent NCName ). This verification is needed because Java QName doesn't perform it.

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

getElementType

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

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:

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

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 ReplyReceiveIntersectImpl