public interface Operation extends WSDLElement
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
Modifier and Type | Method and Description |
---|---|
void |
addFault(Fault fault)
Add a fault message that must be associated with this
operation.
|
Fault |
getFault(String name)
Get the specified fault message.
|
Map |
getFaults()
Get all the fault messages associated with this operation.
|
Input |
getInput()
Get the input message specification for this operation.
|
String |
getName()
Get the name of this operation.
|
Output |
getOutput()
Get the output message specification for this operation.
|
List |
getParameterOrdering()
Get the parameter ordering for this operation.
|
OperationType |
getStyle()
Get the operation type.
|
boolean |
isUndefined() |
Fault |
removeFault(String name)
Remove the specified fault message.
|
void |
setInput(Input input)
Set the input message specification for this operation.
|
void |
setName(String name)
Set the name of this operation.
|
void |
setOutput(Output output)
Set the output message specification for this operation.
|
void |
setParameterOrdering(List parameterOrder)
Set the parameter ordering for a request-response,
or solicit-response operation.
|
void |
setStyle(OperationType style)
Set the style for this operation (request-response,
one way, solicit-response or notification).
|
void |
setUndefined(boolean isUndefined) |
getDocumentationElement, setDocumentationElement
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
void setName(String name)
name
- the desired nameString getName()
void setInput(Input input)
input
- the new input messageInput getInput()
void setOutput(Output output)
output
- the new output messageOutput getOutput()
void addFault(Fault fault)
fault
- the new fault messageFault getFault(String name)
name
- the name of the desired fault message.Fault removeFault(String name)
name
- the name of the fault message to be removed.Map getFaults()
void setStyle(OperationType style)
style
- the new operation styleOperationType getStyle()
void setParameterOrdering(List parameterOrder)
parameterOrder
- a list of named parameters
containing the part names to reflect the desired
order of parameters for RPC-style operationsList getParameterOrdering()
void setUndefined(boolean isUndefined)
boolean isUndefined()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.