Class MapValue
java.lang.Object
com.swiftmq.impl.streams.comp.message.MapValue
Facade to wrap the Value of a Map Body
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
-
Method Summary
Modifier and TypeMethodDescriptiontoByte()Converts the value to Byte.byte[]toBytes()Converts the value to byte[].toDouble()Converts the value to Double.toFloat()Converts the value to Float.Converts the value to Integer.toLong()Converts the value to Long.toShort()Converts the value to Short.Converts the value to String.value()Returns the value as Object.
-
Method Details
-
value
Returns the value as Object.- Returns:
- Object
- Throws:
JMSException
-
toByte
Converts the value to Byte.- Returns:
- Byte
- Throws:
JMSException
-
toBytes
public byte[] toBytes() throws JMSExceptionConverts the value to byte[].- Returns:
- byte[]
- Throws:
JMSException
-
toShort
Converts the value to Short.- Returns:
- Short
- Throws:
JMSException
-
toInteger
Converts the value to Integer.- Returns:
- Integer
- Throws:
JMSException
-
toDouble
Converts the value to Double.- Returns:
- Double
- Throws:
JMSException
-
toFloat
Converts the value to Float.- Returns:
- Float
- Throws:
JMSException
-
toLong
Converts the value to Long.- Returns:
- Long
- Throws:
JMSException
-
toStringValue
Converts the value to String.- Returns:
- String
- Throws:
JMSException
-