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

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.PartnerLinkImpl
All Implemented Interfaces:
BpelContainer, BpelEntity, ExtensibleElements, NamedElement, PartnerLink, BpelReferenceable, ReferenceCollection, Component<BpelEntity>, DocumentComponent<BpelEntity>, DocumentModelAccess.NodeUpdater, Named<BpelEntity>, Referenceable

public class PartnerLinkImpl
extends NamedElementImpl
implements PartnerLink

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.PartnerLink
INITIALIZE_PARTNER_ROLE, MY_ROLE, PARTNER_LINK_TYPE, PARTNER_ROLE
 
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.NamedElement
NAME
 
Fields inherited from interface org.netbeans.modules.xml.xam.Named
NAME_PROPERTY
 
Constructor Summary
PartnerLinkImpl(BpelBuilderImpl builder)
           
PartnerLinkImpl(BpelModelImpl model, org.w3c.dom.Element e)
           
 
Method Summary
 void accept(BpelModelVisitor visitor)
          This method will apply visitor to this OM element.
protected  Attribute[] getDomainAttributes()
          This method should be implemented by any real class.
 java.lang.Class<? extends BpelEntity> getElementType()
           
 TBoolean getInitializePartnerRole()
          Gets the value of the initializePartnerRole property.
 WSDLReference<Role> getMyRole()
          Gets the value of the myRole property.
 WSDLReference<PartnerLinkType> getPartnerLinkType()
          Gets the value of the partnerLinkType property.
 WSDLReference<Role> getPartnerRole()
          Gets the value of the partnerRole property.
 Reference[] getReferences()
          Returns array of references.
 void removeInitializePartnerRole()
          Removes initializePartnerRole attrbute.
 void removeMyRole()
          Removes myRole attribute.
 void removePartnerRole()
          Removes partnerRole attribute.
 void setInitializePartnerRole(TBoolean value)
          Sets the value of the initializePartnerRole property.
 void setMyRole(WSDLReference<Role> role)
          Sets the value of the myRole property.
 void setPartnerLinkType(WSDLReference<PartnerLinkType> value)
          Sets the value of the partnerLinkType property.
 void setPartnerRole(WSDLReference<Role> value)
          Sets the value of the partnerRole property.
 
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, create, 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, getMultiplicity, 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, 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.NamedElement
getName, setName
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.references.ReferenceCollection
createReference, createSchemaReference, createWSDLReference
 

Constructor Detail

PartnerLinkImpl

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

PartnerLinkImpl

PartnerLinkImpl(BpelBuilderImpl builder)
Method Detail

getElementType

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

getInitializePartnerRole

public TBoolean getInitializePartnerRole()
Description copied from interface: PartnerLink
Gets the value of the initializePartnerRole property.

Specified by:
getInitializePartnerRole in interface PartnerLink
Returns:
possible object is TBoolean

setInitializePartnerRole

public void setInitializePartnerRole(TBoolean value)
Description copied from interface: PartnerLink
Sets the value of the initializePartnerRole property.

Specified by:
setInitializePartnerRole in interface PartnerLink
Parameters:
value - allowed object is TBoolean

removeInitializePartnerRole

public void removeInitializePartnerRole()
Description copied from interface: PartnerLink
Removes initializePartnerRole attrbute.

Specified by:
removeInitializePartnerRole in interface PartnerLink

setPartnerLinkType

public void setPartnerLinkType(WSDLReference<PartnerLinkType> value)
Description copied from interface: PartnerLink
Sets the value of the partnerLinkType property.

Specified by:
setPartnerLinkType in interface PartnerLink
Parameters:
value - allowed object is reference to PartnerLinkType object in WSDL model.

setMyRole

public void setMyRole(WSDLReference<Role> role)
Description copied from interface: PartnerLink
Sets the value of the myRole property.

Specified by:
setMyRole in interface PartnerLink
Parameters:
role - allowed object is Reference to Role object in WSDL model.

setPartnerRole

public void setPartnerRole(WSDLReference<Role> value)
Description copied from interface: PartnerLink
Sets the value of the partnerRole property.

Specified by:
setPartnerRole in interface PartnerLink
Parameters:
value - allowed object is Reference to Role object in WSDL model.

getMyRole

public WSDLReference<Role> getMyRole()
Description copied from interface: PartnerLink
Gets the value of the myRole property.

Specified by:
getMyRole in interface PartnerLink
Returns:
Reference to Role object in WSDL model.

removeMyRole

public void removeMyRole()
Description copied from interface: PartnerLink
Removes myRole attribute.

Specified by:
removeMyRole in interface PartnerLink

getPartnerLinkType

public WSDLReference<PartnerLinkType> getPartnerLinkType()
Description copied from interface: PartnerLink
Gets the value of the partnerLinkType property.

Specified by:
getPartnerLinkType in interface PartnerLink
Returns:
possible object is reference to PartnerLinkType object in WSDL model.

getPartnerRole

public WSDLReference<Role> getPartnerRole()
Description copied from interface: PartnerLink
Gets the value of the partnerRole property.

Specified by:
getPartnerRole in interface PartnerLink
Returns:
possible object is Reference to Role object in WSDL model.

removePartnerRole

public void removePartnerRole()
Description copied from interface: PartnerLink
Removes partnerRole attribute.

Specified by:
removePartnerRole in interface PartnerLink

getReferences

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

Specified by:
getReferences in interface ReferenceCollection
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.

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 NamedElementImpl