Class WmMapMessageImpl

    • Constructor Detail

      • WmMapMessageImpl

        public WmMapMessageImpl()
                         throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • WmMapMessageImpl

        protected WmMapMessageImpl​(javax.jms.MapMessage sourceMsg)
                            throws javax.jms.JMSException

        this constructor is used for Message interoperability

        Throws:
        javax.jms.JMSException
      • WmMapMessageImpl

        protected WmMapMessageImpl​(WmMapMessageImpl sourceMsg)
                            throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
    • Method Detail

      • getBoolean

        public boolean getBoolean​(java.lang.String name)
                           throws javax.jms.JMSException
        Specified by:
        getBoolean in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getByte

        public byte getByte​(java.lang.String name)
                     throws javax.jms.JMSException
        Specified by:
        getByte in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getShort

        public short getShort​(java.lang.String name)
                       throws javax.jms.JMSException
        Specified by:
        getShort in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getChar

        public char getChar​(java.lang.String name)
                     throws javax.jms.JMSException
        Specified by:
        getChar in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getInt

        public int getInt​(java.lang.String name)
                   throws javax.jms.JMSException
        Specified by:
        getInt in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getLong

        public long getLong​(java.lang.String name)
                     throws javax.jms.JMSException
        Specified by:
        getLong in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getFloat

        public float getFloat​(java.lang.String name)
                       throws javax.jms.JMSException
        Specified by:
        getFloat in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getDouble

        public double getDouble​(java.lang.String name)
                         throws javax.jms.JMSException
        Specified by:
        getDouble in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getString

        public java.lang.String getString​(java.lang.String name)
                                   throws javax.jms.JMSException
        Specified by:
        getString in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getBytes

        public byte[] getBytes​(java.lang.String name)
                        throws javax.jms.JMSException
        Specified by:
        getBytes in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getObject

        public java.lang.Object getObject​(java.lang.String name)
                                   throws javax.jms.JMSException
        Specified by:
        getObject in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • getMapNames

        public java.util.Enumeration<java.lang.String> getMapNames()
                                                            throws javax.jms.JMSException
        Specified by:
        getMapNames in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setBoolean

        public void setBoolean​(java.lang.String name,
                               boolean value)
                        throws javax.jms.JMSException
        Specified by:
        setBoolean in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setByte

        public void setByte​(java.lang.String name,
                            byte value)
                     throws javax.jms.JMSException
        Specified by:
        setByte in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setShort

        public void setShort​(java.lang.String name,
                             short value)
                      throws javax.jms.JMSException
        Specified by:
        setShort in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setChar

        public void setChar​(java.lang.String name,
                            char value)
                     throws javax.jms.JMSException
        Specified by:
        setChar in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setInt

        public void setInt​(java.lang.String name,
                           int value)
                    throws javax.jms.JMSException
        Specified by:
        setInt in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setLong

        public void setLong​(java.lang.String name,
                            long value)
                     throws javax.jms.JMSException
        Specified by:
        setLong in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setFloat

        public void setFloat​(java.lang.String name,
                             float value)
                      throws javax.jms.JMSException
        Specified by:
        setFloat in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setDouble

        public void setDouble​(java.lang.String name,
                              double value)
                       throws javax.jms.JMSException
        Specified by:
        setDouble in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setString

        public void setString​(java.lang.String name,
                              java.lang.String value)
                       throws javax.jms.JMSException
        Specified by:
        setString in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setBytes

        public void setBytes​(java.lang.String name,
                             byte[] value)
                      throws javax.jms.JMSException
        Specified by:
        setBytes in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setBytes

        public void setBytes​(java.lang.String name,
                             byte[] value,
                             int offset,
                             int length)
                      throws javax.jms.JMSException
        Specified by:
        setBytes in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • setObject

        public void setObject​(java.lang.String name,
                              java.lang.Object value)
                       throws javax.jms.JMSException
        Specified by:
        setObject in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • itemExists

        public boolean itemExists​(java.lang.String name)
                           throws javax.jms.JMSException
        Specified by:
        itemExists in interface javax.jms.MapMessage
        Throws:
        javax.jms.JMSException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Overrides:
        writeExternal in class WmMessageImpl
        Throws:
        java.io.IOException
        See Also:
        Externalizable.writeExternal(java.io.ObjectOutput)
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Overrides:
        readExternal in class WmMessageImpl
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
        See Also:
        Externalizable.readExternal(java.io.ObjectInput)
      • equals

        public boolean equals​(java.lang.Object obj)
        Checks if two Messages are equal
        Overrides:
        equals in class WmMessageImpl
        See Also:
        Object.equals(Object)
      • hashCode

        public int hashCode()
        Calculates hash code for this object.
        Overrides:
        hashCode in class WmMessageImpl
        See Also:
        Object.hashCode()