Package org.jibx.ws.wsdl.model
Class Operation
- java.lang.Object
-
- org.jibx.ws.wsdl.model.Operation
-
public class Operation extends java.lang.ObjectWSDL object model component corresponding to an operation definition.- Author:
- Dennis M. Sosnoski
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Listm_documentationDocumentation as node list (nullif none).private java.util.ArrayListm_messageRefsOrdered message references for this operation.private java.lang.Stringm_nameActual operation name.private java.lang.Stringm_soapActionSOAP action.
-
Constructor Summary
Constructors Constructor Description Operation(java.lang.String name)Constructor from operation name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFaultMessage(Message msg)Add reference to fault message.voidaddInputMessage(Message msg)Add reference to input message.voidaddOutputMessage(Message msg)Add reference to output message.java.util.ListgetDocumentation()Get documentation.java.util.ArrayListgetMessageReferences()Get message references for operation.java.lang.StringgetName()Get operation name.java.lang.StringgetSoapAction()Get soapAction.voidsetDocumentation(java.util.List nodes)Set documentation.voidsetSoapAction(java.lang.String action)Set soapAction.
-
-
-
Field Detail
-
m_name
private java.lang.String m_name
Actual operation name.
-
m_soapAction
private java.lang.String m_soapAction
SOAP action.
-
m_documentation
private java.util.List m_documentation
Documentation as node list (nullif none).
-
m_messageRefs
private java.util.ArrayList m_messageRefs
Ordered message references for this operation.
-
-
Method Detail
-
addInputMessage
public void addInputMessage(Message msg)
Add reference to input message. All input message(s) must be set before any output or fault messages are set.- Parameters:
msg- input message
-
addOutputMessage
public void addOutputMessage(Message msg)
Add reference to output message. All output message(s) must be set after any input messages and before any fault messages are set.- Parameters:
msg- output message
-
addFaultMessage
public void addFaultMessage(Message msg)
Add reference to fault message. All fault message(s) must be set after any input or output messages are set.- Parameters:
msg- fault message
-
getName
public java.lang.String getName()
Get operation name.- Returns:
- operation name
-
getSoapAction
public java.lang.String getSoapAction()
Get soapAction.- Returns:
- soapAction
-
setSoapAction
public void setSoapAction(java.lang.String action)
Set soapAction.- Parameters:
action-
-
getDocumentation
public java.util.List getDocumentation()
Get documentation.- Returns:
- list of nodes
-
setDocumentation
public void setDocumentation(java.util.List nodes)
Set documentation.- Parameters:
nodes- list of nodes
-
getMessageReferences
public java.util.ArrayList getMessageReferences()
Get message references for operation. The returned list is live, but should not be modified by the caller.- Returns:
- list of parts
-
-