org.netbeans.modules.xml.wsdl.model
Interface Part

All Superinterfaces:
Component<WSDLComponent>, DocumentComponent<WSDLComponent>, Nameable<WSDLComponent>, Named<WSDLComponent>, NamedReferenceable<WSDLComponent>, Referenceable, ReferenceableWSDLComponent, WSDLComponent
All Known Implementing Classes:
PartImpl

public interface Part
extends Nameable<WSDLComponent>, ReferenceableWSDLComponent

Represents a message part in the WSDL document

Author:
rico, Nam Nguyen

Field Summary
static java.lang.String ELEMENT_PROPERTY
           
static java.lang.String 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
 
Method Summary
 java.lang.String getAnyAttribute(javax.xml.namespace.QName attr)
          Returns string value of the attribute from different namespace.
 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 setAnyAttribute(javax.xml.namespace.QName attr, java.lang.String value)
          Set string value of the attribute identified by given QName.
 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 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
accept, 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
 

Field Detail

ELEMENT_PROPERTY

static final java.lang.String ELEMENT_PROPERTY
See Also:
Constant Field Values

TYPE_PROPERTY

static final java.lang.String TYPE_PROPERTY
See Also:
Constant Field Values
Method Detail

setElement

void setElement(NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalElement> elementRef)
Sets the element attribute value to a GlobalReference to a schema component

Parameters:
elementRef - GlobalReference to a schema component

getElement

NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalElement> getElement()
Retrieves the element attribute value. The attribute value is a GlobalReference to a schema component.


setType

void setType(NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalType> typeRef)
Sets the type attribute value to a GlobalReference to a schema component

Parameters:
typeRef - GlobalReference to a schema component

getType

NamedComponentReference<org.netbeans.modules.xml.schema.model.GlobalType> getType()
Retrieves the type attribute value. The attribute value is a GlobalReference to a schema component.


getAnyAttribute

java.lang.String getAnyAttribute(javax.xml.namespace.QName attr)
Returns string value of the attribute from different namespace. If given QName has prefix, it will be ignored.

Parameters:
attr - non-null QName represents the attribute name.
Returns:
attribute value

setAnyAttribute

void setAnyAttribute(javax.xml.namespace.QName attr,
                     java.lang.String value)
Set string value of the attribute identified by given QName. This will fire property change event using attribute local name.

Parameters:
attr - non-null QName represents the attribute name.
value - string value for the attribute.