public class OperationImpl extends AbstractWSDLElement implements Operation
Modifier and Type | Field and Description |
---|---|
protected Map |
faults |
protected Input |
input |
protected boolean |
isUndefined |
protected String |
name |
protected List |
nativeAttributeNames |
protected Output |
output |
protected List |
parameterOrder |
static long |
serialVersionUID |
protected OperationType |
style |
docEl, extElements, extensionAttributes
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
Constructor and Description |
---|
OperationImpl() |
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.
|
List |
getNativeAttributeNames()
Get the list of local attribute names defined for this element in
the WSDL specification.
|
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) |
String |
toString() |
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDocumentationElement, setDocumentationElement
getExtensionAttribute, getExtensionAttributes, setExtensionAttribute
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
protected String name
protected Input input
protected Output output
protected Map faults
protected OperationType style
protected List parameterOrder
protected List nativeAttributeNames
protected boolean isUndefined
public static final long serialVersionUID
public void setName(String name)
public String getName()
public void setInput(Input input)
public Input getInput()
public void setOutput(Output output)
public Output getOutput()
public void addFault(Fault fault)
public Fault removeFault(String name)
removeFault
in interface Operation
name
- the name of the fault message to be removedpublic Map getFaults()
public void setStyle(OperationType style)
public OperationType getStyle()
public void setParameterOrdering(List parameterOrder)
setParameterOrdering
in interface Operation
parameterOrder
- a list of named parameters
containing the part names to reflect the desired
order of parameters for RPC-style operationspublic List getParameterOrdering()
getParameterOrdering
in interface Operation
public void setUndefined(boolean isUndefined)
setUndefined
in interface Operation
public boolean isUndefined()
isUndefined
in interface Operation
public String toString()
toString
in class AbstractWSDLElement
public List getNativeAttributeNames()
getNativeAttributeNames
in interface AttributeExtensible
Copyright © 2019 JBoss by Red Hat. All rights reserved.