View Javadoc

1   /*******************************************************************************
2    *  Copyright (c) 2005, 2006 Imola Informatica.
3    *  All rights reserved. This program and the accompanying materials
4    *  are made available under the terms of the LGPL License v2.1
5    *  which accompanies this distribution, and is available at
6    *  http://www.gnu.org/licenses/lgpl.html
7    *******************************************************************************/
8   /**
9    * 
10   */
11  package it.imolinfo.jbi4cics.messageformat.jdbc;
12  
13  import it.imolinfo.jbi4cics.connection.jdbc.util.DisconnectedStatement;
14  
15  import java.sql.ResultSet;
16  
17  /**
18   * @author raffaele
19   *
20   */
21  public class JdbcOutputMessage {
22    private DisconnectedStatement disconnectedSatetement;
23    private ResultSet resultSet;
24    
25    public JdbcOutputMessage() {
26    }
27    
28    public JdbcOutputMessage(DisconnectedStatement disconnectedSatetement, ResultSet cacheRowSet) {
29      this.disconnectedSatetement = disconnectedSatetement;
30      this.resultSet = cacheRowSet;
31    }
32    /**
33     * @return Returns the resultSet.
34     */
35    public ResultSet getResultSet() {
36      return resultSet;
37    }
38    /**
39     * @param resultSet The resultSet to set.
40     */
41    public void setResultSet(ResultSet cacheRowSet) {
42      this.resultSet = cacheRowSet;
43    }
44    /**
45     * @return Returns the disconnectedSatetement.
46     */
47    public DisconnectedStatement getDisconnectedSatetement() {
48      return disconnectedSatetement;
49    }
50    /**
51     * @param disconnectedSatetement The disconnectedSatetement to set.
52     */
53    public void setDisconnectedSatetement(DisconnectedStatement disconnectedSatetement) {
54      this.disconnectedSatetement = disconnectedSatetement;
55    }
56  
57  
58  }