org.netbeans.modules.xml.wsdl.model.extensions.bpel.impl
Class PartnerLinkTypeImpl

java.lang.Object
  extended by org.netbeans.modules.xml.xam.AbstractComponent<C>
      extended by org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent<WSDLComponent>
          extended by org.netbeans.modules.xml.wsdl.model.spi.WSDLComponentBase
              extended by org.netbeans.modules.xml.wsdl.model.spi.GenericExtensibilityElement
                  extended by org.netbeans.modules.xml.wsdl.model.spi.NamedExtensibilityElementBase
                      extended by org.netbeans.modules.xml.wsdl.model.extensions.bpel.impl.PartnerLinkTypeImpl
All Implemented Interfaces:
ExtensibilityElement, ExtensibilityElement.ParentSelector, ExtensibilityElement.UpdaterProvider, BPELExtensibilityComponent, PartnerLinkType, ReferenceableExtensibilityElement, ReferenceableWSDLComponent, WSDLComponent, Component<WSDLComponent>, DocumentComponent<WSDLComponent>, DocumentModelAccess.NodeUpdater, Nameable<WSDLComponent>, Named<WSDLComponent>, NamedReferenceable<WSDLComponent>, Referenceable

public class PartnerLinkTypeImpl
extends org.netbeans.modules.xml.wsdl.model.spi.NamedExtensibilityElementBase
implements PartnerLinkType

Author:
Nam Nguyen changed by, ads

Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.modules.xml.wsdl.model.spi.GenericExtensibilityElement
org.netbeans.modules.xml.wsdl.model.spi.GenericExtensibilityElement.StringAttribute
 
Nested classes/interfaces inherited from class org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent
AbstractDocumentComponent.PrefixAttribute
 
Nested classes/interfaces inherited from interface org.netbeans.modules.xml.wsdl.model.ExtensibilityElement
ExtensibilityElement.EmbeddedModel, ExtensibilityElement.ParentSelector, ExtensibilityElement.UpdaterProvider
 
Nested classes/interfaces inherited from interface org.netbeans.modules.xml.wsdl.model.ExtensibilityElement
ExtensibilityElement.EmbeddedModel, ExtensibilityElement.ParentSelector, ExtensibilityElement.UpdaterProvider
 
Nested classes/interfaces inherited from interface org.netbeans.modules.xml.wsdl.model.extensions.bpel.BPELExtensibilityComponent
BPELExtensibilityComponent.Visitor
 
Nested classes/interfaces inherited from interface org.netbeans.modules.xml.wsdl.model.ExtensibilityElement
ExtensibilityElement.EmbeddedModel, ExtensibilityElement.ParentSelector, ExtensibilityElement.UpdaterProvider
 
Field Summary
 
Fields inherited from interface org.netbeans.modules.xml.wsdl.model.extensions.bpel.PartnerLinkType
PARTNERLINKTYPE_DOCUMENTATION_PROPERTY, ROLE_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.wsdl.model.ExtensibilityElement
CONTENT_FRAGMENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
DOCUMENTATION_PROPERTY, EXTENSIBILITY_ELEMENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.xam.Named
NAME_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.xam.Named
NAME_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
DOCUMENTATION_PROPERTY, EXTENSIBILITY_ELEMENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.wsdl.model.ExtensibilityElement
CONTENT_FRAGMENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
DOCUMENTATION_PROPERTY, EXTENSIBILITY_ELEMENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.wsdl.model.ExtensibilityElement
CONTENT_FRAGMENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
DOCUMENTATION_PROPERTY, EXTENSIBILITY_ELEMENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Constructor Summary
PartnerLinkTypeImpl(WSDLModel model)
           
PartnerLinkTypeImpl(WSDLModel model, org.w3c.dom.Element e)
           
 
Method Summary
 void accept(BPELExtensibilityComponent.Visitor v)
           
 void addExtensibilityElement(ExtensibilityElement ee)
           
 void addPartnerLinkTypeDocumentation(Documentation doc)
           
(package private)  void addRole(Role role)
           
 boolean canBeAddedTo(Component target)
           
 ComponentUpdater getComponentUpdater()
           
protected  java.lang.String getNamespaceURI()
           
 java.util.Collection<Documentation> getPartnerLinkTypeDocumentations()
           
 Role getRole1()
           
 Role getRole2()
           
(package private)  java.util.List<Role> getRoles()
           
 void insertPartnerLinkTypeDocumentationAt(Documentation doc, int index)
           
 void removePartnerLinkTypeDocumentation(Documentation doc)
           
(package private)  void removeRole(Role role)
           
 void setRole1(Role role)
           
 void setRole2(Role role)
           
 
Methods inherited from class org.netbeans.modules.xml.wsdl.model.spi.NamedExtensibilityElementBase
getName, setName
 
Methods inherited from class org.netbeans.modules.xml.wsdl.model.spi.GenericExtensibilityElement
accept, addAnyElement, getAnyElements, getAttribute, getContentFragment, removeAnyElement, setAttribute, setContentFragment
 
Methods inherited from class org.netbeans.modules.xml.wsdl.model.spi.WSDLComponentBase
canPaste, createNewElement, createPrefixedElement, createReferenceTo, createSchemaReference, getAttributeValueOf, getDocumentation, getExtensibilityElements, getExtensibilityElements, getModel, getWSDLModel, populateChildren, removeExtensibilityElement, resolveGlobalReference, resolveSchemaReference, setDocumentation, toString
 
Methods inherited from class org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent
addPrefix, appendChildQuietly, copy, createPrefixAttribute, ensureUnique, ensureValueNamespaceDeclared, findAttributePosition, findChildComponent, findChildComponentByIdentity, findDomainIndex, findPosition, fireChildAdded, fireChildRemoved, firePropertyChange, fireValueChanged, getAccess, getAnyAttribute, getAttribute, getAttributeMap, getChildElement, getChildElementText, getEffectiveParent, getLeadingText, getNodeIndexOf, getPeer, getPrefixedName, getPrefixedName, getPrefixedName, getPrefixes, getQName, getQName, getText, getText, getText, getTrailingText, getXmlFragment, getXmlFragmentInclusive, insertAtIndexQuietly, isInDocumentModel, lookupNamespaceURI, lookupNamespaceURI, lookupPrefix, referencesSameNode, removeAttributeQuietly, removeChildQuietly, removePrefix, resolveModel, setAnyAttribute, setAttribute, setAttributeQuietly, setChildElementText, setLeadingText, setQNameAttribute, setText, setText, setTrailingText, setXmlFragment, updatePeer, updateReference, updateReference, updateReference, verifyWrite
 
Methods inherited from class org.netbeans.modules.xml.xam.AbstractComponent
addAfter, addBefore, addPropertyChangeListener, appendChild, checkNullOrDuplicateChild, getChild, getChildren, getChildren, getChildren, getParent, 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.xml.wsdl.model.ExtensibilityElement
addAnyElement, getAnyAttribute, getAnyElements, getAttribute, getContentFragment, getQName, removeAnyElement, setAnyAttribute, setAttribute, setContentFragment
 
Methods inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
accept, createReferenceTo, createSchemaReference, getAttributeMap, getDocumentation, getExtensibilityElements, getExtensibilityElements, getModel, removeExtensibilityElement, setDocumentation
 
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, getParent
 
Methods inherited from interface org.netbeans.modules.xml.xam.Named
getName
 
Methods inherited from interface org.netbeans.modules.xml.xam.Component
canPaste, copy, getChildren, getChildren, getChildren, getParent
 
Methods inherited from interface org.netbeans.modules.xml.xam.Nameable
setName
 
Methods inherited from interface org.netbeans.modules.xml.xam.Named
getName
 
Methods inherited from interface org.netbeans.modules.xml.xam.Component
canPaste, copy, getChildren, getChildren, getChildren, getParent
 
Methods inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
accept, createReferenceTo, createSchemaReference, getAttributeMap, getDocumentation, getExtensibilityElements, getExtensibilityElements, getModel, removeExtensibilityElement, setDocumentation
 
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, getParent
 
Methods inherited from interface org.netbeans.modules.xml.wsdl.model.ExtensibilityElement
addAnyElement, getAnyAttribute, getAnyElements, getAttribute, getContentFragment, getQName, removeAnyElement, setAnyAttribute, setAttribute, setContentFragment
 
Methods inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
accept, createReferenceTo, createSchemaReference, getAttributeMap, getDocumentation, getExtensibilityElements, getExtensibilityElements, getModel, removeExtensibilityElement, setDocumentation
 
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, getParent
 
Methods inherited from interface org.netbeans.modules.xml.wsdl.model.ExtensibilityElement
addAnyElement, getAnyAttribute, getAnyElements, getAttribute, getContentFragment, getQName, removeAnyElement, setAnyAttribute, setAttribute, setContentFragment
 
Methods inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
accept, createReferenceTo, createSchemaReference, getAttributeMap, getDocumentation, getExtensibilityElements, getExtensibilityElements, getModel, removeExtensibilityElement, setDocumentation
 
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, getParent
 

Constructor Detail

PartnerLinkTypeImpl

public PartnerLinkTypeImpl(WSDLModel model,
                           org.w3c.dom.Element e)

PartnerLinkTypeImpl

public PartnerLinkTypeImpl(WSDLModel model)
Method Detail

getNamespaceURI

protected java.lang.String getNamespaceURI()
Overrides:
getNamespaceURI in class AbstractDocumentComponent<WSDLComponent>

getRoles

java.util.List<Role> getRoles()

addRole

void addRole(Role role)

removeRole

void removeRole(Role role)

getComponentUpdater

public ComponentUpdater getComponentUpdater()
Specified by:
getComponentUpdater in interface ExtensibilityElement.UpdaterProvider
Returns:
component updater to be used in merge operations when source sync happens.

accept

public void accept(BPELExtensibilityComponent.Visitor v)
Specified by:
accept in interface BPELExtensibilityComponent

setRole2

public void setRole2(Role role)
Specified by:
setRole2 in interface PartnerLinkType

setRole1

public void setRole1(Role role)
Specified by:
setRole1 in interface PartnerLinkType

getRole2

public Role getRole2()
Specified by:
getRole2 in interface PartnerLinkType

getRole1

public Role getRole1()
Specified by:
getRole1 in interface PartnerLinkType

addExtensibilityElement

public void addExtensibilityElement(ExtensibilityElement ee)
Specified by:
addExtensibilityElement in interface WSDLComponent
Overrides:
addExtensibilityElement in class org.netbeans.modules.xml.wsdl.model.spi.WSDLComponentBase

addPartnerLinkTypeDocumentation

public void addPartnerLinkTypeDocumentation(Documentation doc)
Specified by:
addPartnerLinkTypeDocumentation in interface PartnerLinkType

insertPartnerLinkTypeDocumentationAt

public void insertPartnerLinkTypeDocumentationAt(Documentation doc,
                                                 int index)

removePartnerLinkTypeDocumentation

public void removePartnerLinkTypeDocumentation(Documentation doc)
Specified by:
removePartnerLinkTypeDocumentation in interface PartnerLinkType

getPartnerLinkTypeDocumentations

public java.util.Collection<Documentation> getPartnerLinkTypeDocumentations()
Specified by:
getPartnerLinkTypeDocumentations in interface PartnerLinkType

canBeAddedTo

public boolean canBeAddedTo(Component target)
Specified by:
canBeAddedTo in interface ExtensibilityElement.ParentSelector
Overrides:
canBeAddedTo in class org.netbeans.modules.xml.wsdl.model.spi.GenericExtensibilityElement