com.ibm.workflow.upes
Class InvokeProgramData

java.lang.Object
  |
  +--com.ibm.workflow.upes.InvokeProgramData

public class InvokeProgramData
extends java.lang.Object

The InvokeProgramData class represents the InvokeProgram XML message from MQSeries Workflow as a Java class. For each possible entry in the XML message there is a data memeber of this class.

It has the ability to traverse a given DOM Tree (i.e. a given rootElement of type Element) and to fill out all given information during the traversal.


Field Summary
 java.lang.String _ActImplCorrelID
           
 ImplementationData[] _ImplData
           
 java.lang.String _ProcTemplID
           
 Container _ProgramInputData
           
 java.lang.String _ProgramName
           
 Container _ProgramOutputDataDefaults
           
 java.lang.String _ProgramParameters
           
 java.lang.String _ResponseQueueManagerName
          _ResponseQueueManagerName is the queue manager name of the queue to which a response may be sent.
 java.lang.String _ResponseQueueName
          _ResponseQueueName is the queue name of the queue to which a response may be sent.
 boolean _ResponseRequired
          _ResponseRequired contains whether a response is required.
 java.lang.String _Starter
           
 java.lang.String _UserContext
          _UserContext contains the user context given with the message header.
 
Constructor Summary
InvokeProgramData(org.w3c.dom.Element rootElement, java.lang.String responseQ, java.lang.String responseQMgr)
          InvokeProgramData the constructor of the class, which parses the given root element of the DOM tree which represents the message.
 
Method Summary
private  void ExtractMainData(org.w3c.dom.Element ActInvokeElement)
          ExtractMainData extracts the main invoke program data like implementation data program name etc.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

_ResponseQueueName

public java.lang.String _ResponseQueueName
_ResponseQueueName is the queue name of the queue to which a response may be sent.

_ResponseQueueManagerName

public java.lang.String _ResponseQueueManagerName
_ResponseQueueManagerName is the queue manager name of the queue to which a response may be sent.

_ResponseRequired

public boolean _ResponseRequired
_ResponseRequired contains whether a response is required.

_UserContext

public java.lang.String _UserContext
_UserContext contains the user context given with the message header.

_ActImplCorrelID

public java.lang.String _ActImplCorrelID

_Starter

public java.lang.String _Starter

_ProgramName

public java.lang.String _ProgramName

_ProcTemplID

public java.lang.String _ProcTemplID

_ProgramParameters

public java.lang.String _ProgramParameters

_ImplData

public ImplementationData[] _ImplData

_ProgramInputData

public Container _ProgramInputData

_ProgramOutputDataDefaults

public Container _ProgramOutputDataDefaults
Constructor Detail

InvokeProgramData

public InvokeProgramData(org.w3c.dom.Element rootElement,
                         java.lang.String responseQ,
                         java.lang.String responseQMgr)
InvokeProgramData the constructor of the class, which parses the given root element of the DOM tree which represents the message.
Method Detail

ExtractMainData

private void ExtractMainData(org.w3c.dom.Element ActInvokeElement)
ExtractMainData extracts the main invoke program data like implementation data program name etc. out of the DOM subtree. For each implementation data a new entry is appended into _ImplData.