FileDocCategorySizeDatePackage
JmsMapMessage.javaAPI DocJBoss 4.2.14814Fri Jul 13 21:01:16 BST 2007org.jboss.resource.adapter.jms

JmsMapMessage

public class JmsMapMessage extends JmsMessage implements javax.jms.MapMessage
A wrapper for a message
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
Constructors Summary
public JmsMapMessage(javax.jms.MapMessage message, JmsSession session)
Create a new wrapper

param
message the message
param
session the session

      super(message, session);
   
Methods Summary
public booleangetBoolean(java.lang.String name)

      return ((MapMessage) message).getBoolean(name);
   
public bytegetByte(java.lang.String name)

      return ((MapMessage) message).getByte(name);
   
public byte[]getBytes(java.lang.String name)

      return ((MapMessage) message).getBytes(name);
   
public chargetChar(java.lang.String name)

      return ((MapMessage) message).getChar(name);
   
public doublegetDouble(java.lang.String name)

      return ((MapMessage) message).getDouble(name);
   
public floatgetFloat(java.lang.String name)

      return ((MapMessage) message).getFloat(name);
   
public intgetInt(java.lang.String name)

      return ((MapMessage) message).getInt(name);
   
public longgetLong(java.lang.String name)

      return ((MapMessage) message).getLong(name);
   
public java.util.EnumerationgetMapNames()

      return ((MapMessage) message).getMapNames();
   
public java.lang.ObjectgetObject(java.lang.String name)

      return ((MapMessage) message).getObject(name);
   
public shortgetShort(java.lang.String name)

      return ((MapMessage) message).getShort(name);
   
public java.lang.StringgetString(java.lang.String name)

      return ((MapMessage) message).getString(name);
   
public booleanitemExists(java.lang.String name)

      return ((MapMessage) message).itemExists(name);
   
public voidsetBoolean(java.lang.String name, boolean value)

      ((MapMessage) message).setBoolean(name, value);
   
public voidsetByte(java.lang.String name, byte value)

      ((MapMessage) message).setByte(name, value);
   
public voidsetBytes(java.lang.String name, byte[] value, int offset, int length)

      ((MapMessage) message).setBytes(name, value, offset, length);
   
public voidsetBytes(java.lang.String name, byte[] value)

      ((MapMessage) message).setBytes(name, value);
   
public voidsetChar(java.lang.String name, char value)

      ((MapMessage) message).setChar(name, value);
   
public voidsetDouble(java.lang.String name, double value)

      ((MapMessage) message).setDouble(name, value);
   
public voidsetFloat(java.lang.String name, float value)

      ((MapMessage) message).setFloat(name, value);
   
public voidsetInt(java.lang.String name, int value)

      ((MapMessage) message).setInt(name, value);
   
public voidsetLong(java.lang.String name, long value)

      ((MapMessage) message).setLong(name, value);
   
public voidsetObject(java.lang.String name, java.lang.Object value)

      ((MapMessage) message).setObject(name, value);
   
public voidsetShort(java.lang.String name, short value)

      ((MapMessage) message).setShort(name, value);
   
public voidsetString(java.lang.String name, java.lang.String value)

      ((MapMessage) message).setString(name, value);