Class JMSProperty

    • Constructor Detail

      • JMSProperty

        public JMSProperty()
        Create a new JmsProperty without a name, value, or metadata.
      • JMSProperty

        public JMSProperty​(String name,
                           String value)
        Create a new JmsProperty with the specified name and value, and String type.
        Parameters:
        name - the prop name
        value - the prop value
      • JMSProperty

        public JMSProperty​(String name,
                           String value,
                           String type)
        Create a new JmsProperty with the specified name and value, and String type.
        Parameters:
        name - the prop name
        value - the prop value
        type - the type type
    • Method Detail

      • setValue

        public void setValue​(String newValue)
        Sets the value of the JmsProperty.
        Parameters:
        newValue - the new value
      • getValue

        public String getValue()
        Gets the value of the JmsProperty object.
        Returns:
        the attribute's value
      • setType

        public void setType​(String type)
        Sets the Meta Data attribute of the JmsProperty.
        Parameters:
        type - the new type
      • getType

        public String getType()
        Gets the Meta Data attribute of the JmsProperty.
        Returns:
        the MetaData value
      • getValueAsObject

        public Object getValueAsObject()