org.jvnet.wom.impl
Class WSDLBoundOperationImpl

java.lang.Object
  extended by org.jvnet.wom.api.WSDLEntity
      extended by org.jvnet.wom.api.WSDLBoundOperation
          extended by org.jvnet.wom.impl.WSDLBoundOperationImpl
All Implemented Interfaces:
WSDLExtensible

public class WSDLBoundOperationImpl
extends WSDLBoundOperation

Author:
Vivek Pandey

Constructor Summary
WSDLBoundOperationImpl(org.xml.sax.Locator locator, javax.xml.namespace.QName name, WSDLDocumentImpl document)
           
 
Method Summary
 void addBoundFault(WSDLBoundFaultImpl fault)
           
 java.lang.String getDocumentation()
          Gives the Comment on a WSDL component.
 java.lang.Iterable<? extends WSDLBoundFault> getFaults()
          Gets all the WSDLFault bound to this operation.
 java.util.Map<java.lang.String,WSDLPartImpl> getInParts()
           
 WSDLBoundInput getInput()
          Gets the wsdl:input of this operation
 WSDLOperation getOperation()
          Gets the wsdl:portType/wsdl:operation model - WSDLOperation, associated with this binding operation.
 java.util.Map<java.lang.String,WSDLPartImpl> getOutParts()
           
 WSDLBoundOutput getOutput()
          Gets the wsdl:output of this operation.
 javax.xml.namespace.QName getReqPayloadName()
           
 java.lang.String getSOAPAction()
          Gives soapbinding:operation@soapAction value.
 void setBoundInput(WSDLBoundInput input)
           
 void setBoundOutput(WSDLBoundOutput output)
           
 void setDocumentation(java.lang.String doc)
           
 void setOwner(WSDLBoundPortTypeImpl owner)
           
 void setSoapAction(java.lang.String soapAction)
           
<V,P> V
visit(WSDLVisitor<V,P> visitor, P param)
          WSDL visitor
 
Methods inherited from class org.jvnet.wom.api.WSDLEntity
addExtension, getExtension, getExtensions, getFirstExtension, getLocation, getName, getOwnerWSDLModel, getWSDLDocument, setOwnerWSDLDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLBoundOperationImpl

public WSDLBoundOperationImpl(org.xml.sax.Locator locator,
                              javax.xml.namespace.QName name,
                              WSDLDocumentImpl document)
Method Detail

getSOAPAction

public java.lang.String getSOAPAction()
Description copied from class: WSDLBoundOperation
Gives soapbinding:operation@soapAction value. soapbinding:operation@soapAction is optional attribute. If not present an empty String is returned as per BP 1.1 R2745.

Specified by:
getSOAPAction in class WSDLBoundOperation

setSoapAction

public void setSoapAction(java.lang.String soapAction)

addBoundFault

public void addBoundFault(WSDLBoundFaultImpl fault)

setOwner

public void setOwner(WSDLBoundPortTypeImpl owner)

getOperation

public WSDLOperation getOperation()
Description copied from class: WSDLBoundOperation
Gets the wsdl:portType/wsdl:operation model - WSDLOperation, associated with this binding operation.

Specified by:
getOperation in class WSDLBoundOperation
Returns:
always same WSDLOperation

setBoundInput

public void setBoundInput(WSDLBoundInput input)

setBoundOutput

public void setBoundOutput(WSDLBoundOutput output)

getInput

public WSDLBoundInput getInput()
Description copied from class: WSDLBoundOperation
Gets the wsdl:input of this operation

Specified by:
getInput in class WSDLBoundOperation
Returns:
non-null WSDLBoundInput

getOutput

public WSDLBoundOutput getOutput()
Description copied from class: WSDLBoundOperation
Gets the wsdl:output of this operation.

Specified by:
getOutput in class WSDLBoundOperation
Returns:
null if this is an one-way operation.

getInParts

public final java.util.Map<java.lang.String,WSDLPartImpl> getInParts()

getOutParts

public final java.util.Map<java.lang.String,WSDLPartImpl> getOutParts()

getFaults

public final java.lang.Iterable<? extends WSDLBoundFault> getFaults()
Description copied from class: WSDLBoundOperation
Gets all the WSDLFault bound to this operation.

Specified by:
getFaults in class WSDLBoundOperation

getReqPayloadName

public javax.xml.namespace.QName getReqPayloadName()

setDocumentation

public void setDocumentation(java.lang.String doc)

getDocumentation

public java.lang.String getDocumentation()
Description copied from class: WSDLEntity
Gives the Comment on a WSDL component. This is the content of <wsdl:document>

Overrides:
getDocumentation in class WSDLEntity
Returns:
"" if there is no documentation

visit

public <V,P> V visit(WSDLVisitor<V,P> visitor,
                     P param)
Description copied from class: WSDLEntity
WSDL visitor

Specified by:
visit in class WSDLEntity


Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.