Package com.ibm.wsdl
Class OperationImpl
java.lang.Object
com.ibm.wsdl.AbstractWSDLElement
com.ibm.wsdl.OperationImpl
- All Implemented Interfaces:
Serializable,AttributeExtensible,ElementExtensible,Operation,WSDLElement
This class represents a WSDL operation.
It includes information on input, output and fault
messages associated with usage of the operation.
- Author:
- Paul Fremantle (pzf@us.ibm.com), Nirmal Mukhi (nmukhi@us.ibm.com), Matthew J. Duftler (duftler@us.ibm.com)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Mapprotected Inputprotected booleanprotected Stringprotected Listprotected Outputprotected Liststatic final longprotected OperationTypeFields inherited from class com.ibm.wsdl.AbstractWSDLElement
docEl, extElements, extensionAttributesFields inherited from interface javax.wsdl.extensions.AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a fault message that must be associated with this operation.Get the specified fault message.Get all the fault messages associated with this operation.getInput()Get the input message specification for this operation.getName()Get the name of this operation.Get the list of local attribute names defined for this element in the WSDL specification.Get the output message specification for this operation.Get the parameter ordering for this operation.getStyle()Get the operation type.booleanremoveFault(String name) Remove the specified fault message.voidSet the input message specification for this operation.voidSet the name of this operation.voidSet the output message specification for this operation.voidsetParameterOrdering(List parameterOrder) Set the parameter ordering for a request-response, or solicit-response operation.voidsetStyle(OperationType style) Set the style for this operation (request-response, one way, solicit-response or notification).voidsetUndefined(boolean isUndefined) toString()Methods inherited from class com.ibm.wsdl.AbstractWSDLElement
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttributeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.wsdl.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, setExtensionAttributeMethods inherited from interface javax.wsdl.extensions.ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElementMethods inherited from interface javax.wsdl.WSDLElement
getDocumentationElement, setDocumentationElement
-
Field Details
-
name
-
input
-
output
-
faults
-
style
-
parameterOrder
-
nativeAttributeNames
-
isUndefined
protected boolean isUndefined -
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
OperationImpl
public OperationImpl()
-
-
Method Details
-
setName
Set the name of this operation. -
getName
Get the name of this operation. -
setInput
Set the input message specification for this operation. -
getInput
Get the input message specification for this operation. -
setOutput
Set the output message specification for this operation. -
getOutput
Get the output message specification for this operation. -
addFault
Add a fault message that must be associated with this operation. -
getFault
Get the specified fault message. -
removeFault
Remove the specified fault message.- Specified by:
removeFaultin interfaceOperation- Parameters:
name- the name of the fault message to be removed- Returns:
- the fault message which was removed.
-
getFaults
Get all the fault messages associated with this operation. -
setStyle
Set the style for this operation (request-response, one way, solicit-response or notification). -
getStyle
Get the operation type. -
setParameterOrdering
Set the parameter ordering for a request-response, or solicit-response operation.- Specified by:
setParameterOrderingin interfaceOperation- Parameters:
parameterOrder- a list of named parameters containing the part names to reflect the desired order of parameters for RPC-style operations
-
getParameterOrdering
Get the parameter ordering for this operation.- Specified by:
getParameterOrderingin interfaceOperation- Returns:
- the parameter ordering, a list consisting of message part names
-
setUndefined
public void setUndefined(boolean isUndefined) - Specified by:
setUndefinedin interfaceOperation
-
isUndefined
public boolean isUndefined()- Specified by:
isUndefinedin interfaceOperation
-
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
-