public class OperationImpl extends java.lang.Object implements Operation
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element |
docEl |
protected java.util.List |
extElements |
protected java.util.Map |
faults |
protected Input |
input |
protected boolean |
isUndefined |
protected java.lang.String |
name |
protected Output |
output |
protected java.util.List |
parameterOrder |
static long |
serialVersionUID |
protected OperationType |
style |
Constructor and Description |
---|
OperationImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
|
void |
addFault(Fault fault)
Add a fault message that must be associated with this
operation.
|
org.w3c.dom.Element |
getDocumentationElement()
Get the documentation element.
|
java.util.List |
getExtensibilityElements()
Get all the extensibility elements defined here.
|
Fault |
getFault(java.lang.String name)
Get the specified fault message.
|
java.util.Map |
getFaults()
Get all the fault messages associated with this operation.
|
Input |
getInput()
Get the input message specification for this operation.
|
java.lang.String |
getName()
Get the name of this operation.
|
Output |
getOutput()
Get the output message specification for this operation.
|
java.util.List |
getParameterOrdering()
Get the parameter ordering for this operation.
|
OperationType |
getStyle()
Get the operation type.
|
boolean |
isUndefined() |
void |
setDocumentationElement(org.w3c.dom.Element docEl)
Set the documentation element for this document.
|
void |
setInput(Input input)
Set the input message specification for this operation.
|
void |
setName(java.lang.String name)
Set the name of this operation.
|
void |
setOutput(Output output)
Set the output message specification for this operation.
|
void |
setParameterOrdering(java.util.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) |
java.lang.String |
toString() |
protected java.lang.String name
protected Input input
protected Output output
protected java.util.Map faults
protected OperationType style
protected java.util.List parameterOrder
protected org.w3c.dom.Element docEl
protected java.util.List extElements
protected boolean isUndefined
public static final long serialVersionUID
public void setName(java.lang.String name)
public java.lang.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 getFault(java.lang.String name)
public java.util.Map getFaults()
public void addExtensibilityElement(ExtensibilityElement extElement)
addExtensibilityElement
in interface ElementExtensible
extElement
- the extensibility element to be addedpublic java.util.List getExtensibilityElements()
getExtensibilityElements
in interface ElementExtensible
public void setStyle(OperationType style)
public OperationType getStyle()
public void setParameterOrdering(java.util.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 java.util.List getParameterOrdering()
getParameterOrdering
in interface Operation
public void setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement
in interface Operation
docEl
- the documentation elementpublic org.w3c.dom.Element getDocumentationElement()
getDocumentationElement
in interface Operation
public void setUndefined(boolean isUndefined)
setUndefined
in interface Operation
public boolean isUndefined()
isUndefined
in interface Operation
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2003,2005 IBM. All Rights Reserved.