Class PropertyValue

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

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

    • toBoolean

      public Boolean toBoolean()
      Converts the value to boolean.
      Returns:
      Boolean
    • toByte

      public Byte toByte()
      Converts the value to byte.
      Returns:
      Byte
    • toInteger

      public Integer toInteger()
      Converts the value to integer.
      Returns:
      Integer
    • toDouble

      public Double toDouble()
      Converts the value to double.
      Returns:
      Double
    • toFloat

      public Float toFloat()
      Converts the value to float.
      Returns:
      Float
    • toLong

      public Long toLong()
      Converts the value to long.
      Returns:
      Long
    • toObject

      public Object toObject()
      Returns the value as is.
      Returns:
      Object
    • toString

      public String toString()
      Converts the value to string.
      Overrides:
      toString in class Object
      Returns:
      String