org.jibx.ws.wsdl.model
Class Operation

java.lang.Object
  extended by 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
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
Operation(java.lang.String name)
          Constructor from operation name.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Constructor Detail

Operation

public Operation(java.lang.String name)
Constructor from operation name.

Parameters:
name - operation name
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


Project Web Site