com.bankframe.fe.statemachine.ext.apploaders.bean
Class Process

java.lang.Object
  extended bycom.bankframe.fe.statemachine.ext.apploaders.bean.Process
All Implemented Interfaces:
IProcess, java.io.Serializable

public class Process
extends java.lang.Object
implements IProcess, java.io.Serializable

See Also:
Serialized Form

Field Summary
static java.lang.String MULTIPLE
           
static java.lang.String SINGLE
           
 
Constructor Summary
Process()
          Constructor for Process.
 
Method Summary
 void addDataPacketDefinition(IDataPacketDefinition definition)
          This method adds a DataPacketDefinition to this Process.
static java.util.Vector addMultipleDPRequestData(boolean removeFirstDP, java.util.Vector requestDPs, Inputs inputs)
           
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void addPropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
           
static java.util.Vector addSingleDPRequestData(java.util.Vector requestDPs, Inputs inputs)
           
 java.lang.String getBeanName()
          This method returns the name of the EJB that implements this process.
 java.util.Iterator getDataPacketDefinitions()
          This method returns an Iterator over all the IDataPacketDefinitions required to call this process.
 java.lang.String getDataPacketName()
          This method returns the DataPacket name that is required to call this process.
 java.util.Vector getDataPackets(Inputs inputs, IInputRequirements inputRequirements)
          This method attempts to construct the DataPackets required to call this process.
 java.lang.String getDescriptiveName()
          Returns the descriptiveName.
 java.lang.String getMethodName()
          This method returns the name of the method on the EJB that impements this process.
 java.lang.String getRequestId()
          This method returns the DataPacket requestId for the EJB that implements this process.
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void removePropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
           
 void setBeanName(java.lang.String beanName)
          Sets the beanName.
 void setDataPacketName(java.lang.String dataPacketName)
          Sets the dataPacketName.
 void setDescriptiveName(java.lang.String descriptiveName)
          Sets the descriptiveName.
 void setMethodName(java.lang.String methodName)
          Sets the methodName.
 void setRequestId(java.lang.String requestId)
          Sets the requestId.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLE

public static final java.lang.String SINGLE
See Also:
Constant Field Values

MULTIPLE

public static final java.lang.String MULTIPLE
See Also:
Constant Field Values
Constructor Detail

Process

public Process()
Constructor for Process.

Method Detail

getBeanName

public java.lang.String getBeanName()
Description copied from interface: IProcess
This method returns the name of the EJB that implements this process.

Specified by:
getBeanName in interface IProcess
Returns:
beanName
See Also:
IProcess.getBeanName()

getMethodName

public java.lang.String getMethodName()
Description copied from interface: IProcess
This method returns the name of the method on the EJB that impements this process.

Specified by:
getMethodName in interface IProcess
Returns:
methodName
See Also:
IProcess.getMethodName()

getDataPacketName

public java.lang.String getDataPacketName()
Description copied from interface: IProcess
This method returns the DataPacket name that is required to call this process.

Specified by:
getDataPacketName in interface IProcess
Returns:
dataPacketName
See Also:
IProcess.getDataPacketName()

getRequestId

public java.lang.String getRequestId()
Description copied from interface: IProcess
This method returns the DataPacket requestId for the EJB that implements this process.

Specified by:
getRequestId in interface IProcess
Returns:
requestId
See Also:
IProcess.getRequestId()

getDataPacketDefinitions

public java.util.Iterator getDataPacketDefinitions()
Description copied from interface: IProcess
This method returns an Iterator over all the IDataPacketDefinitions required to call this process.

Specified by:
getDataPacketDefinitions in interface IProcess
Returns:
dataPacketDefinitions
See Also:
IProcess.getDataPacketDefinitions()

getDataPackets

public java.util.Vector getDataPackets(Inputs inputs,
                                       IInputRequirements inputRequirements)
Description copied from interface: IProcess
This method attempts to construct the DataPackets required to call this process.
This method makes use of the DataPacketDefinitions to build the DataPacket. For each DataPacketDefinition it will try and locate all the required values from the given Inputs and InputRequirements.

The InputDefinition.getRequirement method is called to determine where to get the values for the DataPacket, according to the following rules:

Specified by:
getDataPackets in interface IProcess
See Also:
IProcess.getDataPackets(Inputs, IInputRequirements)

addSingleDPRequestData

public static java.util.Vector addSingleDPRequestData(java.util.Vector requestDPs,
                                                      Inputs inputs)

addMultipleDPRequestData

public static java.util.Vector addMultipleDPRequestData(boolean removeFirstDP,
                                                        java.util.Vector requestDPs,
                                                        Inputs inputs)

setBeanName

public void setBeanName(java.lang.String beanName)
Sets the beanName.

Parameters:
beanName - The beanName to set

setDataPacketName

public void setDataPacketName(java.lang.String dataPacketName)
Sets the dataPacketName.

Parameters:
dataPacketName - The dataPacketName to set

setMethodName

public void setMethodName(java.lang.String methodName)
Sets the methodName.

Parameters:
methodName - The methodName to set

setRequestId

public void setRequestId(java.lang.String requestId)
Sets the requestId.

Parameters:
requestId - The requestId to set

addDataPacketDefinition

public void addDataPacketDefinition(IDataPacketDefinition definition)
This method adds a DataPacketDefinition to this Process.
If this is the first DataPacketDefinition to be added, and the dataPacketName attribute has not previously been set, the dataPacketName and requestId attributes will be set from the given DataPacketDefinition.


getDescriptiveName

public java.lang.String getDescriptiveName()
Returns the descriptiveName.

Specified by:
getDescriptiveName in interface IProcess
Returns:
String

setDescriptiveName

public void setDescriptiveName(java.lang.String descriptiveName)
Sets the descriptiveName.

Parameters:
descriptiveName - The descriptiveName to set

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

addPropertyChangeListener

public void addPropertyChangeListener(java.lang.String name,
                                      java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.lang.String name,
                                         java.beans.PropertyChangeListener listener)


Copyright © 2004 Siebel Systems, Inc. All rights reserved.