Class MapValue

java.lang.Object
com.swiftmq.impl.streams.comp.message.MapValue

public class MapValue extends Object
Facade to wrap the Value of a Map Body
Author:
IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
  • Method Details

    • value

      public Object value() throws JMSException
      Returns the value as Object.
      Returns:
      Object
      Throws:
      JMSException
    • toByte

      public Byte toByte() throws JMSException
      Converts the value to Byte.
      Returns:
      Byte
      Throws:
      JMSException
    • toBytes

      public byte[] toBytes() throws JMSException
      Converts the value to byte[].
      Returns:
      byte[]
      Throws:
      JMSException
    • toShort

      public Short toShort() throws JMSException
      Converts the value to Short.
      Returns:
      Short
      Throws:
      JMSException
    • toInteger

      public Integer toInteger() throws JMSException
      Converts the value to Integer.
      Returns:
      Integer
      Throws:
      JMSException
    • toDouble

      public Double toDouble() throws JMSException
      Converts the value to Double.
      Returns:
      Double
      Throws:
      JMSException
    • toFloat

      public Float toFloat() throws JMSException
      Converts the value to Float.
      Returns:
      Float
      Throws:
      JMSException
    • toLong

      public Long toLong() throws JMSException
      Converts the value to Long.
      Returns:
      Long
      Throws:
      JMSException
    • toStringValue

      public String toStringValue() throws JMSException
      Converts the value to String.
      Returns:
      String
      Throws:
      JMSException