org.ikasan.framework.web.command
Class PayloadCommand

java.lang.Object
  extended by org.ikasan.framework.web.command.PayloadCommand

public class PayloadCommand
extends Object

A Wrapper class that can contain a payload along with the module name and initiator name to deliver that payload to.

Author:
Ikasan Development Team

Constructor Summary
PayloadCommand(String moduleName, String initiatorName)
          Constructor
 
Method Summary
 String getInitiatorName()
          Get the initiator name
 String getModuleName()
          Get the module name
 String getPayloadContent()
          Get the payload content
 void setInitiatorName(String initiatorName)
          Set the initiator name
 void setModuleName(String moduleName)
          Set the module name
 void setPayloadContent(String payloadContent)
          Set the payload content name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PayloadCommand

public PayloadCommand(String moduleName,
                      String initiatorName)
Constructor

Parameters:
moduleName - - The name of the module
initiatorName - - The name of the initiator
Method Detail

getInitiatorName

public String getInitiatorName()
Get the initiator name

Returns:
the initiator name

getModuleName

public String getModuleName()
Get the module name

Returns:
the module name

getPayloadContent

public String getPayloadContent()
Get the payload content

Returns:
the payload content

setInitiatorName

public void setInitiatorName(String initiatorName)
Set the initiator name

Parameters:
initiatorName - - the initiator name

setModuleName

public void setModuleName(String moduleName)
Set the module name

Parameters:
moduleName - - the module name

setPayloadContent

public void setPayloadContent(String payloadContent)
Set the payload content name

Parameters:
payloadContent - - the payload content


Copyright © 2007-2011 Ikasan. All Rights Reserved.