| java.lang.Object org.mockejb.jms.MessageImpl org.mockejb.jms.MapMessageImpl
MapMessageImpl | public class MapMessageImpl extends MessageImpl implements MapMessage(Code) | | MapMessage implementation.
author: Dimitar Gospodinov See Also: javax.jms.MapMessage |
Method Summary | |
public boolean | getBoolean(String name) | public byte | getByte(String name) | public byte[] | getBytes(String name) | public char | getChar(String name) | public double | getDouble(String name) | public float | getFloat(String name) | public int | getInt(String name) | public long | getLong(String name) | public Enumeration | getMapNames() | public Object | getObject(String name) | public short | getShort(String name) | public String | getString(String name) | public boolean | itemExists(String name) | void | resetBody() Sets message body in read-only mode. | public void | setBoolean(String name, boolean value) | public void | setByte(String name, byte value) | public void | setBytes(String name, byte[] value) | public void | setBytes(String name, byte[] value, int offset, int length) | public void | setChar(String name, char value) | public void | setDouble(String name, double value) | public void | setFloat(String name, float value) | public void | setInt(String name, int value) | public void | setLong(String name, long value) | public void | setObject(String name, Object value) | public void | setShort(String name, short value) | public void | setString(String name, String value) |
MapMessageImpl | public MapMessageImpl()(Code) | | Creates empty MapMessageImpl
|
MapMessageImpl | public MapMessageImpl(MapMessage msg) throws JMSException(Code) | | Creates MapMessageImpl and copies its header, properties and
body from msg
Parameters: msg - throws: JMSException - |
getBoolean | public boolean getBoolean(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getBoolean(java.lang.String) |
getByte | public byte getByte(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getByte(java.lang.String) |
getBytes | public byte[] getBytes(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getBytes(java.lang.String) |
getChar | public char getChar(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getChar(java.lang.String) |
getDouble | public double getDouble(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getDouble(java.lang.String) |
getFloat | public float getFloat(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getFloat(java.lang.String) |
getInt | public int getInt(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getInt(java.lang.String) |
getLong | public long getLong(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getLong(java.lang.String) |
getMapNames | public Enumeration getMapNames() throws JMSException(Code) | | See Also: javax.jms.MapMessage.getMapNames |
getObject | public Object getObject(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getObject(java.lang.String) |
getShort | public short getShort(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getShort(java.lang.String) |
getString | public String getString(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.getString(java.lang.String) |
itemExists | public boolean itemExists(String name) throws JMSException(Code) | | See Also: javax.jms.MapMessage.itemExists(java.lang.String) |
resetBody | void resetBody() throws JMSException(Code) | | Sets message body in read-only mode.
throws: JMSException - |
setBoolean | public void setBoolean(String name, boolean value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setBoolean(java.lang.Stringboolean) |
setByte | public void setByte(String name, byte value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setByte(java.lang.Stringbyte) |
setBytes | public void setBytes(String name, byte[] value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setBytes(java.lang.Stringbyte[]) |
setBytes | public void setBytes(String name, byte[] value, int offset, int length) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setBytes(java.lang.Stringbyte[]intint) |
setChar | public void setChar(String name, char value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setChar(java.lang.Stringchar) |
setDouble | public void setDouble(String name, double value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setDouble(java.lang.Stringdouble) |
setFloat | public void setFloat(String name, float value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setFloat(java.lang.Stringfloat) |
setInt | public void setInt(String name, int value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setInt(java.lang.Stringint) |
setLong | public void setLong(String name, long value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setLong(java.lang.Stringlong) |
setObject | public void setObject(String name, Object value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setObject(java.lang.Stringjava.lang.Object) |
setShort | public void setShort(String name, short value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setShort(java.lang.Stringshort) |
setString | public void setString(String name, String value) throws JMSException(Code) | | See Also: javax.jms.MapMessage.setString(java.lang.Stringjava.lang.String) |
|
|