public class QpidRAMapMessage extends QpidRAMessage implements javax.jms.MapMessage
_message, _session
Constructor and Description |
---|
QpidRAMapMessage(javax.jms.MapMessage message,
QpidRASessionImpl session)
Create a new wrapper
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(String name)
Get
|
byte |
getByte(String name)
Get
|
byte[] |
getBytes(String name)
Get
|
char |
getChar(String name)
Get
|
double |
getDouble(String name)
Get
|
float |
getFloat(String name)
Get
|
int |
getInt(String name)
Get
|
long |
getLong(String name)
Get
|
Enumeration<?> |
getMapNames()
Get the map names
|
Object |
getObject(String name)
Get
|
short |
getShort(String name)
Get
|
String |
getString(String name)
Get
|
boolean |
itemExists(String name)
Does the item exist
|
void |
setBoolean(String name,
boolean value)
Set
|
void |
setByte(String name,
byte value)
Set
|
void |
setBytes(String name,
byte[] value)
Set
|
void |
setBytes(String name,
byte[] value,
int offset,
int length)
Set
|
void |
setChar(String name,
char value)
Set
|
void |
setDouble(String name,
double value)
Set
|
void |
setFloat(String name,
float value)
Set
|
void |
setInt(String name,
int value)
Set
|
void |
setLong(String name,
long value)
Set
|
void |
setObject(String name,
Object value)
Set
|
void |
setShort(String name,
short value)
Set
|
void |
setString(String name,
String value)
Set
|
acknowledge, clearBody, clearProperties, equals, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
public QpidRAMapMessage(javax.jms.MapMessage message, QpidRASessionImpl session)
message
- the messagesession
- the sessionpublic boolean getBoolean(String name) throws javax.jms.JMSException
getBoolean
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic byte getByte(String name) throws javax.jms.JMSException
getByte
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic byte[] getBytes(String name) throws javax.jms.JMSException
getBytes
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic char getChar(String name) throws javax.jms.JMSException
getChar
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic double getDouble(String name) throws javax.jms.JMSException
getDouble
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic float getFloat(String name) throws javax.jms.JMSException
getFloat
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic int getInt(String name) throws javax.jms.JMSException
getInt
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic long getLong(String name) throws javax.jms.JMSException
getLong
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic Enumeration<?> getMapNames() throws javax.jms.JMSException
getMapNames
in interface javax.jms.MapMessage
javax.jms.JMSException
- Thrown if an error occurspublic Object getObject(String name) throws javax.jms.JMSException
getObject
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic short getShort(String name) throws javax.jms.JMSException
getShort
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic String getString(String name) throws javax.jms.JMSException
getString
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic boolean itemExists(String name) throws javax.jms.JMSException
itemExists
in interface javax.jms.MapMessage
name
- The namejavax.jms.JMSException
- Thrown if an error occurspublic void setBoolean(String name, boolean value) throws javax.jms.JMSException
setBoolean
in interface javax.jms.MapMessage
name
- The namevalue
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void setByte(String name, byte value) throws javax.jms.JMSException
setByte
in interface javax.jms.MapMessage
name
- The namevalue
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void setBytes(String name, byte[] value, int offset, int length) throws javax.jms.JMSException
setBytes
in interface javax.jms.MapMessage
name
- The namevalue
- The valueoffset
- The offsetlength
- The lengthjavax.jms.JMSException
- Thrown if an error occurspublic void setBytes(String name, byte[] value) throws javax.jms.JMSException
setBytes
in interface javax.jms.MapMessage
name
- The namevalue
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void setChar(String name, char value) throws javax.jms.JMSException
setChar
in interface javax.jms.MapMessage
name
- The namevalue
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void setDouble(String name, double value) throws javax.jms.JMSException
setDouble
in interface javax.jms.MapMessage
name
- The namevalue
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void setFloat(String name, float value) throws javax.jms.JMSException
setFloat
in interface javax.jms.MapMessage
name
- The namevalue
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void setInt(String name, int value) throws javax.jms.JMSException
setInt
in interface javax.jms.MapMessage
name
- The namevalue
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void setLong(String name, long value) throws javax.jms.JMSException
setLong
in interface javax.jms.MapMessage
name
- The namevalue
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void setObject(String name, Object value) throws javax.jms.JMSException
setObject
in interface javax.jms.MapMessage
name
- The namevalue
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void setShort(String name, short value) throws javax.jms.JMSException
setShort
in interface javax.jms.MapMessage
name
- The namevalue
- The valuejavax.jms.JMSException
- Thrown if an error occursCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.