コード例 #1
0
  /**
   * 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);
  }
コード例 #2
0
  /**
   * 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;
    }

    IDictionaryKindValueObject valueObject = (IDictionaryKindValueObject) 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.getDictionaryKindID(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getKind(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getSuperKind(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getDetail(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getSource(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getMask(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getNote(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getDictSize(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getFrequencyInUse(), 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.getDownloadFlag(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getReservation01(), bIn), numKeys++);
    v.insertElementAt(AppUtility.getAppParameter(valueObject.getReservation02(), bIn), numKeys++);
    // ~AIB Generated

    return (v);
  }