KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > jms > MapMessage

javax.jms
Interface MapMessage

All Superinterfaces:
Message
See Also:
Top Examples, Source Code, Session.createMapMessage(), BytesMessage, ObjectMessage, StreamMessage, TextMessage

public boolean getBoolean(String name)
                   throws JMSException
See Also:
MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public byte getByte(String name)
             throws JMSException
See Also:
MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public byte[] getBytes(String name)
                throws JMSException
See Also:
MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public char getChar(String name)
             throws JMSException
See Also:
MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public double getDouble(String name)
                 throws JMSException
See Also:
MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float getFloat(String name)
               throws JMSException
See Also:
MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getInt(String name)
           throws JMSException
See Also:
MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public long getLong(String name)
             throws JMSException
See Also:
MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Enumeration getMapNames()
                        throws JMSException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getObject(String name)
                 throws JMSException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public short getShort(String name)
               throws JMSException
See Also:
MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getString(String name)
                 throws JMSException
See Also:
MessageFormatException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean itemExists(String name)
                   throws JMSException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBoolean(String name,
                       boolean value)
                throws JMSException
See Also:
MessageNotWriteableException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[820]Call store procedure using CallableStatement
By Vinay on 2004/06/24 09:02:44  Rate
private static final String addSMPService = " {  call OLN_Schedule.Add_Service ( ?,?,?,?,?,?,?,?,? )   } "; 
  
  
         String userID = requestContext.getUserID (  ) ; 
         String p_Request_ID = form.getRequestID (  ) ; 
         String p_S_D_ID_I = request.getParameter ( "p_S_D_ID_I" ) ; 
         String p_Start_Date = request.getParameter ( "p_Start_Date_I" ) ; 
         String p_End_Date = request.getParameter ( "p_End_Date_I" ) ; 
         String p_Studio_ID = request.getParameter ( "p_Studio_ID_I" ) ; 
         String p_Resource_ID = request.getParameter ( "p_Resource_I" ) ; 
         int p_Check = 0; 
         boolean p_Commit = false; 
  
  
         CallableStatement cs = dbmsSession.prepareCall ( addSMPService ) ; 
  
  
         cs.setString ( 1,userID ) ; 
         cs.setString ( 2,p_Request_ID ) ; 
         cs.setString ( 3,p_S_D_ID_I ) ; 
         cs.setString ( 4,p_Start_Date ) ; 
         cs.setString ( 5,p_End_Date ) ; 
         cs.setString ( 6,p_Studio_ID ) ; 
         cs.setString ( 7,p_Resource_ID ) ; 
         cs.setInt ( 8,p_Check ) ; 
         cs.registerOutParameter ( 8,Types.INTEGER ) ; 
         cs.setBoolean ( 9,p_Commit ) ; 
  
  
         cs.executeUpdate (  ) ; 
         p_Check = cs.getInt ( 8 ) ; 
 


public void setByte(String name,
                    byte value)
             throws JMSException
See Also:
MessageNotWriteableException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBytes(String name,
                     byte[] value)
              throws JMSException
See Also:
MessageNotWriteableException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setBytes(String name,
                     byte[] value,
                     int offset,
                     int length)
              throws JMSException
See Also:
MessageNotWriteableException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setChar(String name,
                    char value)
             throws JMSException
See Also:
MessageNotWriteableException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDouble(String name,
                      double value)
               throws JMSException
See Also:
MessageNotWriteableException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setFloat(String name,
                     float value)
              throws JMSException
See Also:
MessageNotWriteableException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setInt(String name,
                   int value)
            throws JMSException
See Also:
MessageNotWriteableException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLong(String name,
                    long value)
             throws JMSException
See Also:
MessageNotWriteableException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setObject(String name,
                      Object value)
               throws JMSException
See Also:
MessageNotWriteableException, MessageFormatException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setShort(String name,
                     short value)
              throws JMSException
See Also:
MessageNotWriteableException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setString(String name,
                      String value)
               throws JMSException
See Also:
MessageNotWriteableException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags