Class CStatementVO

java.lang.Object
org.compiere.util.CStatementVO
All Implemented Interfaces:
Serializable

public class CStatementVO extends Object implements Serializable
Statement Value Object for statement proxy.
Version:
$Id: CStatementVO.java,v 1.2 2006/07/30 00:54:35 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • CStatementVO

      public CStatementVO(int resultSetType, int resultSetConcurrency)
      VO Constructor
      Parameters:
      resultSetType - - ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.TYPE_SCROLL_SENSITIVE
      resultSetConcurrency - - ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE
    • CStatementVO

      public CStatementVO(int resultSetType, int resultSetConcurrency, String sql)
      VO Constructor
      Parameters:
      resultSetType - - ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.TYPE_SCROLL_SENSITIVE
      resultSetConcurrency - - ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE
      sql - sql
  • Method Details

    • toString

      public String toString()
      String representation
      Overrides:
      toString in class Object
      Returns:
      info
    • getSql

      public String getSql()
      Get SQL
      Returns:
      sql
    • setSql

      public void setSql(String sql)
      Set SQL.
      Parameters:
      sql - sql
    • getResultSetConcurrency

      public int getResultSetConcurrency()
      Get ResultSet Concurrency
      Returns:
      rs concurrency
    • getResultSetType

      public int getResultSetType()
      Get ResultSet Type
      Returns:
      rs type
    • setResultSetType

      public void setResultSetType(int resultSetType)
      Set ResultSet Type
      Parameters:
      resultSetType - type
    • setResultSetConcurrency

      public void setResultSetConcurrency(int resultSetConcurrency)
      Set ResultSet Concurrency
      Parameters:
      resultSetConcurrency - concurrency
    • getTrxName

      public String getTrxName()
      Get transaction name
      Returns:
      transaction name
    • setTrxName

      public void setTrxName(String trxName)
      Set transaction name
      Parameters:
      trxName -