|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.wsdl.OperationImpl
This class represents a WSDL operation. It includes information on input, output and fault messages associated with usage of the operation.
| Field Summary | |
protected org.w3c.dom.Element |
docEl
|
protected java.util.Map |
extensionAttributes
|
protected java.util.Map |
faults
|
protected Input |
input
|
protected boolean |
isUndefined
|
protected java.lang.String |
name
|
protected java.util.List |
nativeAttributeNames
|
protected Output |
output
|
protected java.util.List |
parameterOrder
|
static long |
serialVersionUID
|
protected OperationType |
style
|
| Fields inherited from interface javax.wsdl.extensions.AttributeExtensible |
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE |
| Constructor Summary | |
OperationImpl()
|
|
| Method Summary | |
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.lang.Object |
getExtensionAttribute(QName name)
Retrieve an extension attribute from this element. |
java.util.Map |
getExtensionAttributes()
Get the map containing all the extension attributes defined on this element. |
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. |
java.util.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. |
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 |
setExtensionAttribute(QName name,
java.lang.Object value)
Set an extension attribute on this element. |
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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
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.Map extensionAttributes
protected java.util.List nativeAttributeNames
protected boolean isUndefined
public static final long serialVersionUID
| Constructor Detail |
public OperationImpl()
| Method Detail |
public void setName(java.lang.String name)
setName in interface Operationname - the desired namepublic java.lang.String getName()
getName in interface Operationpublic void setInput(Input input)
setInput in interface Operationinput - the new input messagepublic Input getInput()
getInput in interface Operationpublic void setOutput(Output output)
setOutput in interface Operationoutput - the new output messagepublic Output getOutput()
getOutput in interface Operationpublic void addFault(Fault fault)
addFault in interface Operationfault - the new fault messagepublic Fault getFault(java.lang.String name)
getFault in interface Operationname - the name of the desired fault message.
public java.util.Map getFaults()
getFaults in interface Operationpublic void setStyle(OperationType style)
setStyle in interface Operationstyle - the new operation stylepublic OperationType getStyle()
getStyle in interface Operationpublic void setParameterOrdering(java.util.List parameterOrder)
setParameterOrdering in interface Operationpublic java.util.List getParameterOrdering()
getParameterOrdering in interface Operationpublic void setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement in interface OperationdocEl - the documentation elementpublic org.w3c.dom.Element getDocumentationElement()
getDocumentationElement in interface Operation
public void setExtensionAttribute(QName name,
java.lang.Object value)
setExtensionAttribute in interface AttributeExtensiblename - the extension attribute namevalue - the extension attribute value. Can be a String, a QName, a
List of Strings, or a List of QNames.getExtensionAttribute(javax.xml.namespace.QName),
getExtensionAttributes(),
ExtensionRegistry#registerExtensionAttributeType,
ExtensionRegistry#queryExtensionAttributeTypepublic java.lang.Object getExtensionAttribute(QName name)
getExtensionAttribute in interface AttributeExtensiblename - the extension attribute name
setExtensionAttribute(javax.xml.namespace.QName, java.lang.Object),
getExtensionAttributes(),
ExtensionRegistry#registerExtensionAttributeType,
ExtensionRegistry#queryExtensionAttributeTypepublic java.util.Map getExtensionAttributes()
getExtensionAttributes in interface AttributeExtensiblesetExtensionAttribute(javax.xml.namespace.QName, java.lang.Object),
getExtensionAttribute(javax.xml.namespace.QName)public java.util.List getNativeAttributeNames()
getNativeAttributeNames in interface AttributeExtensiblepublic void setUndefined(boolean isUndefined)
setUndefined in interface Operationpublic boolean isUndefined()
isUndefined in interface Operationpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||