com.ibm.wsdl
Class OperationImpl
java.lang.Object
com.ibm.wsdl.OperationImpl
- ElementExtensible, Operation, java.io.Serializable
public class OperationImpl
extends java.lang.Object
This class represents a WSDL operation.
It includes information on input, output and fault
messages associated with usage of the operation.
- Paul Fremantle (pzf@us.ibm.com)
- Nirmal Mukhi (nmukhi@us.ibm.com)
- Matthew J. Duftler (duftler@us.ibm.com)
docEl
protected Element docEl
extElements
protected List extElements
faults
protected Map faults
input
protected Input input
isUndefined
protected boolean isUndefined
name
protected String name
parameterOrder
protected List parameterOrder
serialVersionUID
public static final long serialVersionUID
- 1L
addFault
public void addFault(Fault fault)
Add a fault message that must be associated with this
operation.
- addFault in interface Operation
fault
- the new fault message
getDocumentationElement
public Element getDocumentationElement()
Get the documentation element. This dependency on org.w3c.dom.Element
should eventually be removed when a more appropriate way of
representing this information is employed.
- getDocumentationElement in interface Operation
- the documentation element
getFault
public Fault getFault(String name)
Get the specified fault message.
- getFault in interface Operation
name
- the name of the desired fault message.
- the corresponding fault message, or null if there wasn't
any matching message
getFaults
public Map getFaults()
Get all the fault messages associated with this operation.
- getFaults in interface Operation
- names of fault messages
getInput
public Input getInput()
Get the input message specification for this operation.
- getInput in interface Operation
- the input message
getName
public String getName()
Get the name of this operation.
- getName in interface Operation
- the operation name
getOutput
public Output getOutput()
Get the output message specification for this operation.
- getOutput in interface Operation
- the output message specification for the operation
getParameterOrdering
public List getParameterOrdering()
Get the parameter ordering for this operation.
- getParameterOrdering in interface Operation
- the parameter ordering, a list consisting
of message part names
setDocumentationElement
public void setDocumentationElement(Element docEl)
Set the documentation element for this document. This dependency
on org.w3c.dom.Element should eventually be removed when a more
appropriate way of representing this information is employed.
- setDocumentationElement in interface Operation
docEl
- the documentation element
setInput
public void setInput(Input input)
Set the input message specification for this operation.
- setInput in interface Operation
input
- the new input message
setName
public void setName(String name)
Set the name of this operation.
- setName in interface Operation
name
- the desired name
setOutput
public void setOutput(Output output)
Set the output message specification for this operation.
- setOutput in interface Operation
output
- the new output message
setParameterOrdering
public void setParameterOrdering(List parameterOrder)
Set the parameter ordering for a request-response,
or solicit-response operation.
- setParameterOrdering in interface Operation
setStyle
public void setStyle(OperationType style)
Set the style for this operation (request-response,
one way, solicit-response or notification).
- setStyle in interface Operation
style
- the new operation style
toString
public String toString()
Copyright B) 2003,2005 IBM. All Rights Reserved.