Package org.jibx.ws.wsdl.model
Class Operation
- java.lang.Object
-
- org.jibx.ws.wsdl.model.Operation
-
public class Operation extends java.lang.Object
WSDL object model component corresponding to an operation definition.- Author:
- Dennis M. Sosnoski
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List
m_documentation
Documentation as node list (null
if none).private java.util.ArrayList
m_messageRefs
Ordered message references for this operation.private java.lang.String
m_name
Actual operation name.private java.lang.String
m_soapAction
SOAP 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 void
addFaultMessage(Message msg)
Add reference to fault message.void
addInputMessage(Message msg)
Add reference to input message.void
addOutputMessage(Message msg)
Add reference to output message.java.util.List
getDocumentation()
Get documentation.java.util.ArrayList
getMessageReferences()
Get message references for operation.java.lang.String
getName()
Get operation name.java.lang.String
getSoapAction()
Get soapAction.void
setDocumentation(java.util.List nodes)
Set documentation.void
setSoapAction(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 (null
if 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
-
-