Class BindingOperationImpl
java.lang.Object
com.ibm.wsdl.AbstractWSDLElement
com.ibm.wsdl.BindingOperationImpl
- All Implemented Interfaces:
Serializable, BindingOperation, AttributeExtensible, ElementExtensible, WSDLElement
This class represents a WSDL operation binding.
That is, it holds the information that would be
specified in the operation element contained within
a binding element.
- Author:
- Matthew J. Duftler (duftler@us.ibm.com)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Mapprotected BindingInputprotected BindingOutputprotected Stringprotected Listprotected Operationstatic final longFields inherited from class AbstractWSDLElement
docEl, extElements, extensionAttributesFields inherited from interface AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBindingFault(BindingFault bindingFault) Add a fault binding.getBindingFault(String name) Get the specified fault binding.Get all the fault bindings associated with this operation binding.Get the input binding for this operation binding.Get the output binding for this operation binding.getName()Get the name of this operation binding.Get the list of local attribute names defined for this element in the WSDL specification.Get the operation that this operation binding binds.removeBindingFault(String name) Remove the specified fault binding.voidsetBindingInput(BindingInput bindingInput) Set the input binding for this operation binding.voidsetBindingOutput(BindingOutput bindingOutput) Set the output binding for this operation binding.voidSet the name of this operation binding.voidsetOperation(Operation operation) Set the operation that this operation binding binds.toString()Methods inherited from class AbstractWSDLElement
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttributeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AttributeExtensible
getExtensionAttribute, getExtensionAttributes, setExtensionAttributeMethods inherited from interface ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElementMethods inherited from interface WSDLElement
getDocumentationElement, setDocumentationElement
-
Field Details
-
name
-
operation
-
bindingInput
-
bindingOutput
-
bindingFaults
-
nativeAttributeNames
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
BindingOperationImpl
public BindingOperationImpl()
-
-
Method Details
-
setName
Set the name of this operation binding.- Specified by:
setNamein interfaceBindingOperation- Parameters:
name- the desired name
-
getName
Get the name of this operation binding.- Specified by:
getNamein interfaceBindingOperation- Returns:
- the operation binding name
-
setOperation
Set the operation that this operation binding binds.- Specified by:
setOperationin interfaceBindingOperation- Parameters:
operation- the operation this operation binding binds
-
getOperation
Get the operation that this operation binding binds.- Specified by:
getOperationin interfaceBindingOperation- Returns:
- the operation that this operation binding binds
-
setBindingInput
Set the input binding for this operation binding.- Specified by:
setBindingInputin interfaceBindingOperation- Parameters:
bindingInput- the new input binding
-
getBindingInput
Get the input binding for this operation binding.- Specified by:
getBindingInputin interfaceBindingOperation- Returns:
- the input binding
-
setBindingOutput
Set the output binding for this operation binding.- Specified by:
setBindingOutputin interfaceBindingOperation- Parameters:
bindingOutput- the new output binding
-
getBindingOutput
Get the output binding for this operation binding.- Specified by:
getBindingOutputin interfaceBindingOperation- Returns:
- the output binding for the operation binding
-
addBindingFault
Add a fault binding.- Specified by:
addBindingFaultin interfaceBindingOperation- Parameters:
bindingFault- the new fault binding
-
getBindingFault
Get the specified fault binding.- Specified by:
getBindingFaultin interfaceBindingOperation- Parameters:
name- the name of the desired fault binding.- Returns:
- the corresponding fault binding, or null if there wasn't any matching fault binding
-
removeBindingFault
Remove the specified fault binding.- Specified by:
removeBindingFaultin interfaceBindingOperation- Parameters:
name- the name of the fault binding to be removed.- Returns:
- the fault binding which was removed
-
getBindingFaults
Get all the fault bindings associated with this operation binding.- Specified by:
getBindingFaultsin interfaceBindingOperation- Returns:
- names of fault bindings
-
toString
- Overrides:
toStringin classAbstractWSDLElement
-
getNativeAttributeNames
Get the list of local attribute names defined for this element in the WSDL specification.- Specified by:
getNativeAttributeNamesin interfaceAttributeExtensible- Returns:
- a List of Strings, one for each local attribute name
-