org.netbeans.modules.xml.wsdl.model.impl
Class PartImpl

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.impl.NamedImpl
                  extended by org.netbeans.modules.xml.wsdl.model.impl.PartImpl
All Implemented Interfaces:
Part, ReferenceableWSDLComponent, WSDLComponent, Component<WSDLComponent>, DocumentComponent<WSDLComponent>, DocumentModelAccess.NodeUpdater, Nameable<WSDLComponent>, Named<WSDLComponent>, NamedReferenceable<WSDLComponent>, Referenceable

public class PartImpl
extends NamedImpl
implements Part

Author:
Nam Nguyen

Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent
AbstractDocumentComponent.PrefixAttribute
 
Field Summary
 
Fields inherited from interface org.netbeans.modules.xml.wsdl.model.Part
ELEMENT_PROPERTY, TYPE_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
 
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
PartImpl(WSDLModel model)
           
PartImpl(WSDLModel model, org.w3c.dom.Element e)
          Creates a new instance of PartImpl
 
Method Summary
 void accept(org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor visitor)
           
 NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalElement> getElement()
          Retrieves the element attribute value.
 NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalType> getType()
          Retrieves the type attribute value.
 void setElement(NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalElement> elementRef)
          Sets the element attribute value to a GlobalReference to a schema component
 void setType(NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalType> typeRef)
          Sets the type attribute value to a GlobalReference to a schema component
 
Methods inherited from class org.netbeans.modules.xml.wsdl.model.impl.NamedImpl
getName, setName
 
Methods inherited from class org.netbeans.modules.xml.wsdl.model.spi.WSDLComponentBase
addExtensibilityElement, 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, getNamespaceURI, 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.Part
getAnyAttribute, setAnyAttribute
 
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.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.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
addExtensibilityElement, 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

PartImpl

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


PartImpl

public PartImpl(WSDLModel model)
Method Detail

accept

public void accept(org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor visitor)
Specified by:
accept in interface WSDLComponent

setType

public void setType(NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalType> typeRef)
Description copied from interface: Part
Sets the type attribute value to a GlobalReference to a schema component

Specified by:
setType in interface Part
Parameters:
typeRef - GlobalReference to a schema component

getType

public NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalType> getType()
Description copied from interface: Part
Retrieves the type attribute value. The attribute value is a GlobalReference to a schema component.

Specified by:
getType in interface Part

setElement

public void setElement(NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalElement> elementRef)
Description copied from interface: Part
Sets the element attribute value to a GlobalReference to a schema component

Specified by:
setElement in interface Part
Parameters:
elementRef - GlobalReference to a schema component

getElement

public NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalElement> getElement()
Description copied from interface: Part
Retrieves the element attribute value. The attribute value is a GlobalReference to a schema component.

Specified by:
getElement in interface Part