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

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.RoleImpl
All Implemented Interfaces:
ExtensibilityElement, ExtensibilityElement.ParentSelector, BPELExtensibilityComponent, Role, ReferenceableWSDLComponent, WSDLComponent, Component<WSDLComponent>, DocumentComponent<WSDLComponent>, DocumentModelAccess.NodeUpdater, Nameable<WSDLComponent>, Named<WSDLComponent>, NamedReferenceable<WSDLComponent>, Referenceable

public class RoleImpl
extends org.netbeans.modules.xml.wsdl.model.spi.NamedExtensibilityElementBase
implements Role

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.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.Role
PORT_TYPE_PROPERTY, ROLE_DOCUMENTATION_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.xam.Named
NAME_PROPERTY
 
Constructor Summary
RoleImpl(WSDLModel model)
           
RoleImpl(WSDLModel model, org.w3c.dom.Element e)
          Creates a new instance of RoleImpl
 
Method Summary
 void accept(BPELExtensibilityComponent.Visitor v)
           
 void addExtensibilityElement(ExtensibilityElement ee)
           
 void addRoleDocumentation(Documentation doc)
           
 boolean canBeAddedTo(Component target)
           
protected  java.lang.String getNamespaceURI()
           
 NamedComponentReference<PortType> getPortType()
           
 java.util.Collection<Documentation> getRoleDocumentations()
           
 void removeRoleDocumentation(Documentation doc)
           
 void setPortType(NamedComponentReference<PortType> portType)
           
 
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.Named
getName
 
Methods inherited from interface org.netbeans.modules.xml.xam.Named
getName
 

Constructor Detail

RoleImpl

public RoleImpl(WSDLModel model,
                org.w3c.dom.Element e)
Creates a new instance of RoleImpl


RoleImpl

public RoleImpl(WSDLModel model)
Method Detail

getNamespaceURI

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

getPortType

public NamedComponentReference<PortType> getPortType()
Specified by:
getPortType in interface Role

setPortType

public void setPortType(NamedComponentReference<PortType> portType)
Specified by:
setPortType in interface Role

accept

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

addExtensibilityElement

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

addRoleDocumentation

public void addRoleDocumentation(Documentation doc)
Specified by:
addRoleDocumentation in interface Role

removeRoleDocumentation

public void removeRoleDocumentation(Documentation doc)
Specified by:
removeRoleDocumentation in interface Role

getRoleDocumentations

public java.util.Collection<Documentation> getRoleDocumentations()
Specified by:
getRoleDocumentations in interface Role

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