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

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.BindingOperationImpl
All Implemented Interfaces:
BindingOperation, WSDLComponent, Component<WSDLComponent>, DocumentComponent<WSDLComponent>, DocumentModelAccess.NodeUpdater, Nameable<WSDLComponent>, Named<WSDLComponent>

public class BindingOperationImpl
extends org.netbeans.modules.xml.wsdl.model.spi.WSDLComponentBase
implements BindingOperation

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.BindingOperation
BINDING_FAULT_PROPERTY, BINDING_INPUT_PROPERTY, BINDING_OPERATION_PROPERTY, BINDING_OUTPUT_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
BindingOperationImpl(WSDLModel model)
           
BindingOperationImpl(WSDLModel model, org.w3c.dom.Element e)
          Creates a new instance of BindingOperationImpl
 
Method Summary
 void accept(org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor visitor)
           
 void addBindingFault(BindingFault bindingFault)
           
 void addExtensibilityElement(ExtensibilityElement ee)
           
 java.util.Collection<BindingFault> getBindingFaults()
           
 BindingInput getBindingInput()
           
 BindingOutput getBindingOutput()
           
 java.lang.String getName()
           
 Reference<Operation> getOperation()
           
 void removeBindingFault(BindingFault bindingFault)
           
 void setBindingInput(BindingInput bindingInput)
           
 void setBindingOutput(BindingOutput bindingOutput)
           
 void setName(java.lang.String name)
           
 void setOperation(Reference<Operation> operationRef)
          Set corresponding portType operationusing the given reference.
 
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, 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.xam.Component
canPaste, copy, getChildren, getChildren, getChildren, getParent
 
Methods inherited from interface org.netbeans.modules.xml.wsdl.model.WSDLComponent
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

BindingOperationImpl

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


BindingOperationImpl

public BindingOperationImpl(WSDLModel model)
Method Detail

addExtensibilityElement

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

setBindingInput

public void setBindingInput(BindingInput bindingInput)
Specified by:
setBindingInput in interface BindingOperation

getBindingInput

public BindingInput getBindingInput()
Specified by:
getBindingInput in interface BindingOperation

setBindingOutput

public void setBindingOutput(BindingOutput bindingOutput)
Specified by:
setBindingOutput in interface BindingOperation

getBindingOutput

public BindingOutput getBindingOutput()
Specified by:
getBindingOutput in interface BindingOperation

setOperation

public void setOperation(Reference<Operation> operationRef)
Description copied from interface: BindingOperation
Set corresponding portType operationusing the given reference.

Specified by:
setOperation in interface BindingOperation
Parameters:
operationRef - reference.

getOperation

public Reference<Operation> getOperation()
Specified by:
getOperation in interface BindingOperation
Returns:
reference to the corresponding operation.

addBindingFault

public void addBindingFault(BindingFault bindingFault)
Specified by:
addBindingFault in interface BindingOperation

removeBindingFault

public void removeBindingFault(BindingFault bindingFault)
Specified by:
removeBindingFault in interface BindingOperation

getBindingFaults

public java.util.Collection<BindingFault> getBindingFaults()
Specified by:
getBindingFaults in interface BindingOperation

accept

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

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Nameable<WSDLComponent>

getName

public java.lang.String getName()
Specified by:
getName in interface Named<WSDLComponent>