/**
  * store
  *
  * @generated
  */
 public void store(EntityBean eb) throws Exception {
   Object objectTemp = null;
   TransactioncodeBean b = (TransactioncodeBean) eb;
   ie.ucd.srg.koa.kr.beans.TransactioncodeKey _primaryKey =
       new ie.ucd.srg.koa.kr.beans.TransactioncodeKey();
   _primaryKey.transactienummer = b.transactienummer;
   PreparedStatement pstmt;
   pstmt = getPreparedStatement(_storeString);
   try {
     if (_primaryKey.transactienummer == null) {
       pstmt.setNull(2, java.sql.Types.VARCHAR);
     } else {
       pstmt.setString(2, _primaryKey.transactienummer);
     }
     objectTemp =
         ie.ucd.srg.vap.converters.VapCharToBoolean.singleton()
             .dataFrom(new Boolean(b.alreadyused));
     if (objectTemp == null) {
       pstmt.setNull(1, java.sql.Types.CHAR);
     } else {
       pstmt.setString(1, (java.lang.String) objectTemp);
     }
     pstmt.executeUpdate();
   } finally {
     returnPreparedStatement(pstmt);
   }
 }
 /**
  * refresh
  *
  * @generated
  */
 public void refresh(EntityBean eb, boolean forUpdate) throws Exception {
   TransactioncodeBean b = (TransactioncodeBean) eb;
   ie.ucd.srg.koa.kr.beans.TransactioncodeKey _primaryKey =
       new ie.ucd.srg.koa.kr.beans.TransactioncodeKey();
   _primaryKey.transactienummer = b.transactienummer;
   load(b, _primaryKey, forUpdate);
 }
  /**
   * getPrimaryKey
   *
   * @generated
   */
  public Object getPrimaryKey(Object data) throws Exception {
    ie.ucd.srg.koa.kr.beans.TransactioncodeKey key =
        new ie.ucd.srg.koa.kr.beans.TransactioncodeKey();
    java.sql.ResultSet resultSet = (java.sql.ResultSet) data;

    if (resultSet != null) {
      Object objectTemp = null;
      key.transactienummer = resultSet.getString(1);
      return key;
    }
    return null;
  }
 /**
  * remove
  *
  * @generated
  */
 public void remove(EntityBean eb) throws Exception {
   Object objectTemp = null;
   TransactioncodeBean b = (TransactioncodeBean) eb;
   ie.ucd.srg.koa.kr.beans.TransactioncodeKey _primaryKey =
       new ie.ucd.srg.koa.kr.beans.TransactioncodeKey();
   _primaryKey.transactienummer = b.transactienummer;
   PreparedStatement pstmt;
   pstmt = getPreparedStatement(_removeString);
   try {
     if (_primaryKey.transactienummer == null) {
       pstmt.setNull(1, java.sql.Types.VARCHAR);
     } else {
       pstmt.setString(1, _primaryKey.transactienummer);
     }
     pstmt.executeUpdate();
   } finally {
     returnPreparedStatement(pstmt);
   }
 }