|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jms4spread.Message | +--jms4spread.MapMessage
Map Message is used to send name-value pairs values using JMS4Spread
Fields inherited from class jms4spread.Message |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Method Summary | |
boolean |
getBoolean(java.lang.String name)
Gets a Boolean value corresposding specified name |
byte |
getByte(java.lang.String name)
Gets a Byte value corresposding specified name |
byte[] |
getBytes(java.lang.String name)
Gets a Byte array corresposding specified name |
char |
getChar(java.lang.String name)
Gets a char value corresposding specified name |
double |
getDouble(java.lang.String name)
Gets a double value corresposding specified name |
float |
getFloat(java.lang.String name)
Gets a float value corresposding specified name |
int |
getInt(java.lang.String name)
Gets an int value corresposding specified name |
long |
getLong(java.lang.String name)
Gets a long value corresposding specified name |
java.util.Enumeration |
getMapNames()
Gets an Enumeration of the Name in the MapMessage Object |
java.lang.Object |
getObject(java.lang.String name)
Gets a Object corresposding specified name |
short |
getShort(java.lang.String name)
Gets a short value corresposding specified name |
java.lang.String |
getString(java.lang.String name)
Gets a string value corresposding specified name |
boolean |
itemExists(java.lang.String name)
Indicated whether item with name exists in MapMessage |
void |
setBoolean(java.lang.String name,
boolean value)
Sets a boolean with specified name in the Map message |
void |
setByte(java.lang.String name,
byte value)
Sets a byte with specified name in the Map message |
void |
setBytes(java.lang.String name,
byte[] value)
Sets an array byte with specified name in the Map message |
void |
setBytes(java.lang.String name,
byte[] value,
int offset,
int length)
Sets an array byte with specified name in the Map message |
void |
setChar(java.lang.String name,
char value)
Sets a char with specified name in the Map message |
void |
setDouble(java.lang.String name,
double value)
Sets a double with specified name in the Map message |
void |
setFloat(java.lang.String name,
float value)
Sets a float with specified name in the Map message |
void |
setInt(java.lang.String name,
int value)
Sets an int with specified name in the Map message |
void |
setLong(java.lang.String name,
long value)
Sets a long with specified name in the Map message |
void |
setObject(java.lang.String name,
java.lang.Object value)
Sets an Object with specified name in the Map message |
void |
setShort(java.lang.String name,
short value)
Sets a short with specified name in the Map message |
void |
setString(java.lang.String name,
java.lang.String value)
Sets a String specified name in the Map message |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean getBoolean(java.lang.String name) throws JMSException
name
- the name of the booleanJMSException
- in case of internal errorpublic byte getByte(java.lang.String name) throws JMSException
name
- the name of the ByteJMSException
- in case of internal errorpublic byte[] getBytes(java.lang.String name) throws JMSException
name
- the name of the Byte arrayJMSException
- in case of internal errorpublic char getChar(java.lang.String name) throws JMSException
name
- the name of the charJMSException
- in case of internal errorpublic double getDouble(java.lang.String name) throws JMSException
name
- the name of the doubleJMSException
- in case of internal errorpublic float getFloat(java.lang.String name) throws JMSException
name
- the name of the floatJMSException
- in case of internal errorpublic int getInt(java.lang.String name) throws JMSException
name
- the name of the intJMSException
- in case of internal errorpublic long getLong(java.lang.String name) throws JMSException
name
- the name of the longJMSException
- in case of internal errorpublic java.util.Enumeration getMapNames() throws JMSException
JMSException
- in case of internal errorpublic java.lang.Object getObject(java.lang.String name) throws JMSException
name
- the name of the ObjectJMSException
- in case of internal errorpublic short getShort(java.lang.String name) throws JMSException
name
- the name of the shortJMSException
- in case of internal errorpublic java.lang.String getString(java.lang.String name) throws JMSException
name
- the name of the stringJMSException
- in case of internal errorpublic boolean itemExists(java.lang.String name) throws JMSException
name
- the name of the itemJMSException
- in case of internal errorpublic void setBoolean(java.lang.String name, boolean value) throws JMSException
name
- the name of the booleanvalue
- the value of the booleanJMSException
- in case of internal errorpublic void setByte(java.lang.String name, byte value) throws JMSException
name
- the name of the booleanvalue
- the value of the byteJMSException
- in case of internal errorpublic void setBytes(java.lang.String name, byte[] value) throws JMSException
name
- the name of the array of bytesvalue
- the array of the bytesJMSException
- in case of internal errorpublic void setBytes(java.lang.String name, byte[] value, int offset, int length) throws JMSException
name
- the name of the array of bytesvalue
- the array of the bytesoffset
- the offset in the array of bytesthe
- length of the array of bytesJMSException
- in case of internal errorpublic void setChar(java.lang.String name, char value) throws JMSException
name
- the name of the charvalue
- the value of the charJMSException
- in case of internal errorpublic void setDouble(java.lang.String name, double value) throws JMSException
name
- the name of the doublevalue
- the value of the doubleJMSException
- in case of internal errorpublic void setFloat(java.lang.String name, float value) throws JMSException
name
- the name of the floatvalue
- the value of the floatJMSException
- in case of internal errorpublic void setInt(java.lang.String name, int value) throws JMSException
name
- the name of the intvalue
- the value of the intJMSException
- in case of internal errorpublic void setLong(java.lang.String name, long value) throws JMSException
name
- the name of the longvalue
- the value of the longJMSException
- in case of internal errorpublic void setObject(java.lang.String name, java.lang.Object value) throws JMSException
name
- the name of the Objectvalue
- the value of the ObjectJMSException
- in case of internal errorpublic void setShort(java.lang.String name, short value) throws JMSException
name
- the name of the shortvalue
- the value of the shortJMSException
- in case of internal errorpublic void setString(java.lang.String name, java.lang.String value) throws JMSException
name
- the name of the Stringvalue
- the value of the StringJMSException
- in case of internal error
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |