/**
  * hydrate
  *
  * @generated
  */
 public void hydrate(EntityBean eb, Object data, Object pKey) throws Exception {
   Object objectTemp = null;
   TransactioncodeBean b = (TransactioncodeBean) eb;
   ie.ucd.srg.koa.kr.beans.TransactioncodeKey _primaryKey =
       (ie.ucd.srg.koa.kr.beans.TransactioncodeKey) pKey;
   java.sql.ResultSet resultSet = (java.sql.ResultSet) data;
   b.transactienummer = _primaryKey.transactienummer;
   objectTemp =
       ie.ucd.srg.vap.converters.VapCharToBoolean.singleton().objectFrom(resultSet.getString(2));
   b.alreadyused = (objectTemp == null) ? false : ((Boolean) objectTemp).booleanValue();
 }
  /**
   * 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;
  }