| java.lang.Object com.mockrunner.mock.jms.MockMessage com.mockrunner.mock.jms.MockMapMessage
MockMapMessage | public class MockMapMessage extends MockMessage implements MapMessage(Code) | | Mock implementation of JMS MapMessage .
|
Method Summary | |
public void | clearBody() | public Object | clone() | public boolean | equals(Object otherObject) Compares the underlying map data. | 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 Map | getMap() Returns a copy of the underlying data as a Map
regardless if the message is in read or write mode. | public Enumeration | getMapNames() | public Object | getObject(String name) | public short | getShort(String name) | public String | getString(String name) | public int | hashCode() | public boolean | itemExists(String name) | public void | setBoolean(String name, boolean value) | public void | setByte(String name, byte value) | public void | setBytes(String name, byte[] byteData) | public void | setBytes(String name, byte[] byteData, 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 object) | public void | setShort(String name, short value) | public void | setString(String name, String value) | public String | toString() |
MockMapMessage | public MockMapMessage()(Code) | | |
clearBody | public void clearBody() throws JMSException(Code) | | |
equals | public boolean equals(Object otherObject)(Code) | | Compares the underlying map data.
|
getBoolean | public boolean getBoolean(String name) throws JMSException(Code) | | |
getByte | public byte getByte(String name) throws JMSException(Code) | | |
getBytes | public byte[] getBytes(String name) throws JMSException(Code) | | |
getChar | public char getChar(String name) throws JMSException(Code) | | |
getDouble | public double getDouble(String name) throws JMSException(Code) | | |
getFloat | public float getFloat(String name) throws JMSException(Code) | | |
getInt | public int getInt(String name) throws JMSException(Code) | | |
getLong | public long getLong(String name) throws JMSException(Code) | | |
getMap | public Map getMap()(Code) | | Returns a copy of the underlying data as a Map
regardless if the message is in read or write mode. Primitives
are wrapped into their corresponding type.
the Map data |
getShort | public short getShort(String name) throws JMSException(Code) | | |
hashCode | public int hashCode()(Code) | | |
itemExists | public boolean itemExists(String name) throws JMSException(Code) | | |
setBoolean | public void setBoolean(String name, boolean value) throws JMSException(Code) | | |
setByte | public void setByte(String name, byte value) throws JMSException(Code) | | |
setBytes | public void setBytes(String name, byte[] byteData) throws JMSException(Code) | | |
setBytes | public void setBytes(String name, byte[] byteData, int offset, int length) throws JMSException(Code) | | |
setChar | public void setChar(String name, char value) throws JMSException(Code) | | |
setDouble | public void setDouble(String name, double value) throws JMSException(Code) | | |
setFloat | public void setFloat(String name, float value) throws JMSException(Code) | | |
setInt | public void setInt(String name, int value) throws JMSException(Code) | | |
setLong | public void setLong(String name, long value) throws JMSException(Code) | | |
setShort | public void setShort(String name, short value) throws JMSException(Code) | | |
|
|