org.mule.providers.dq
Class DQMessage

java.lang.Object
  extended byorg.mule.providers.dq.DQMessage
All Implemented Interfaces:
Serializable

public class DQMessage
extends Object
implements Serializable

DQMessage is an encapsulation of a DataQueue message.

See Also:
Serialized Form

Field Summary
static String XML_ENTRY
           
static String XML_NAME
           
static String XML_ROOT
           
 
Constructor Summary
DQMessage()
          Constructor
DQMessage(DQMessage pMessage)
          The constructor
 
Method Summary
 void addEntry(String name, Object value)
          Add an entry
 boolean equals(Object o)
           
 Iterator getEntries()
           
 Object getEntry(String name)
          Returns a value entry by name
 List getEntryNames()
           
 String getSenderInformation()
           
 int hashCode()
           
 void setSenderInformation(String pSenderInformation)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_ROOT

public static final String XML_ROOT
See Also:
Constant Field Values

XML_ENTRY

public static final String XML_ENTRY
See Also:
Constant Field Values

XML_NAME

public static final String XML_NAME
See Also:
Constant Field Values
Constructor Detail

DQMessage

public DQMessage()
Constructor


DQMessage

public DQMessage(DQMessage pMessage)
The constructor

Parameters:
pMessage - The message
Method Detail

getSenderInformation

public final String getSenderInformation()
Returns:
Returns the senderInformation.

setSenderInformation

public final void setSenderInformation(String pSenderInformation)
Parameters:
pSenderInformation - The senderInformation to set.

addEntry

public final void addEntry(String name,
                           Object value)
Add an entry

Parameters:
name - The name
value - The value

getEntry

public final Object getEntry(String name)
Returns a value entry by name

Parameters:
name - The name
Returns:
The value

getEntries

public final Iterator getEntries()
Returns:
The entries

getEntryNames

public final List getEntryNames()
Returns:
The entry names

equals

public boolean equals(Object o)

hashCode

public int hashCode()


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.