/**
   * Creates an associated valueObject and populates it with data from the ResultSet.
   *
   * @param ResultSet rs
   * @return IFrameworkValueObject
   */
  protected IFrameworkValueObject createValueObject(ResultSet rs) {
    IS_Framework_Entry_UIValueObject valueObject = null;

    try {
      // use the ResultSet to get data related to this class

      valueObject = getS_Framework_Entry_UIValueObject();

      if (valueObject == null) // create one
      {
        valueObject = new S_Framework_Entry_UIValueObject();
      }

      // **********************************************************
      // Step #1
      // assign the S_Framework_Entry_UI primary key using the provided ResultSet
      // **********************************************************
      // v 2.3 - in order to effectively handle inheritance, now assign the pk fields directly
      // to the valueobject as attribute(s)
      //            S_Framework_Entry_UIPrimaryKey pk = new S_Framework_Entry_UIPrimaryKey(
      // assignSafeLong( rs.getString( 1 ) ) );
      //            valueObject.setFrameworkPrimaryKey( pk );

      // **********************************************************
      // Step #2
      // assign the remaining attributes to the value object
      // **********************************************************
      // AIB Generated Section - Do Not Modify Within
      valueObject.setEntryUIID(rs.getString("entryUIID"));
      valueObject.setSystemid(rs.getString("systemid"));
      valueObject.setName(rs.getString("name"));
      valueObject.setDetailName(rs.getString("detailName"));
      valueObject.setHelp(rs.getString("help"));
      valueObject.setIsWorkFlow(rs.getString("isWorkFlow"));
      valueObject.setInWorkFlow(rs.getString("inWorkFlow"));
      valueObject.setExt1(rs.getString("ext1"));
      valueObject.setExt2(rs.getString("ext2"));
      valueObject.setExt3(rs.getString("ext3"));
      valueObject.setExt4(rs.getString("ext4"));
      valueObject.setExt5(rs.getString("ext5"));
      valueObject.setExt6(rs.getString("ext6"));
      valueObject.setExt7(rs.getString("ext7"));
      valueObject.setExt8(rs.getString("ext8"));
      valueObject.setExt9(rs.getString("ext9"));
      valueObject.setExt10(rs.getString("ext10"));
      valueObject.setExt11(rs.getString("ext11"));
      valueObject.setExt12(rs.getString("ext12"));
      valueObject.setExt13(rs.getString("ext13"));
      valueObject.setExt14(rs.getString("ext14"));
      valueObject.setExt15(rs.getString("ext15"));
      valueObject.setExt16(rs.getString("ext16"));
      valueObject.setExt17(rs.getString("ext17"));
      valueObject.setExt18(rs.getString("ext18"));
      valueObject.setExt19(rs.getString("ext19"));
      valueObject.setExt20(rs.getString("ext20"));
      valueObject.setCreator(rs.getString("creator"));
      valueObject.setCreatedTime(rs.getTimestamp("createdTime"));
      valueObject.setLastUpdatedBy(rs.getString("lastUpdatedBy"));
      valueObject.setLastUpdatedTime(rs.getTimestamp("lastUpdatedTime"));
      valueObject.setRefreshTime(rs.getTimestamp("refreshTime"));
      valueObject.setUploadFlag(rs.getString("uploadFlag"));
      valueObject.setDownloadFlag(rs.getString("downloadFlag"));
      valueObject.setDeleteFlag(rs.getString("deleteFlag"));
      valueObject.setVersion(rs.getString("version"));

      // ~AIB Generated
      // apply the valueObject so it may be referred to by the base class
      // in its implementation of this method
      setS_Framework_Entry_UIValueObject(valueObject);

      // if there is a base class, let it get its attributes from the Resultset
      super.createValueObject(rs);

    } catch (Exception exc) {
      printMessage("S_Framework_Entry_UIDAO:createValueObject()-" + exc);
    }

    return (valueObject);
  }
  /**
   * returns a vector of input and/or output parameters for the execution of the store stored
   * procedure.
   *
   * @param boolean load or store indicator
   */
  protected Vector getDatabaseArgs(boolean bLoad) throws Exception {
    boolean bIn = true;

    // **************************************************************
    // Finally, delegate to the base class in order to acquire
    // parameters in a top down order
    // **************************************************************
    //        Vector v = super.getDatabaseArgs( bLoad );
    Vector v = new Vector();

    // if loading, make the in parameters into out parameters
    if (bLoad == true) {
      // output parameters
      bIn = false;
    }

    IS_Framework_Entry_UIValueObject valueObject =
        (IS_Framework_Entry_UIValueObject) getValueObject();
    int numKeys = 0;

    // **************************************************************
    // Add the valueObjects attributes to the Vector using the
    // Frameworks database parameter classes.
    // **************************************************************
    // AIB Generated Section - Do Not Modify Within

    v.insertElementAt(AppUtility.getAppParameter(valueObject.getEntryUIID(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getSystemid(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getName(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getDetailName(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getHelp(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getIsWorkFlow(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getInWorkFlow(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt1(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt2(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt3(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt4(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt5(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt6(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt7(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt8(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt9(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt10(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt11(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt12(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt13(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt14(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt15(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt16(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt17(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt18(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt19(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getExt20(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getCreator(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getCreatedTime(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getLastUpdatedBy(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getLastUpdatedTime(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getRefreshTime(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getUploadFlag(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getDownloadFlag(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getDeleteFlag(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getVersion(), bIn), numKeys++);
    // ~AIB Generated

    return (v);
  }