String getColRemark(int i) {

    String key;
    StringBuffer sb;

    sb = new StringBuffer();
    key = sb.append(getSignature()).append(getColName(i)).toString();

    return BundleHandler.getString(hnd_remarks, key);
  }
예제 #2
0
  /**
   * Retrieves the remarks, if any, recorded against the specified column.
   *
   * <p>
   *
   * @param i zero-based column index
   * @return the remarks recorded against the specified column.
   */
  String getColRemarks(int i) {

    String key;

    if (table.getTableType() != TableBase.INFO_SCHEMA_TABLE) {
      return table.getColumn(i).getName().comment;
    }

    key = getName() + "_" + getColName(i);

    return BundleHandler.getString(hnd_column_remarks, key);
  }
예제 #3
0
  /**
   * Retrieves the remarks (if any) recorded against the Table.
   *
   * <p>
   *
   * @return the remarks recorded against the Table
   */
  String getRemark() {

    return (table.getTableType() == TableBase.INFO_SCHEMA_TABLE)
        ? BundleHandler.getString(hnd_table_remarks, getName())
        : table.getName().comment;
  }
예제 #4
0
  private static String getResourceString(int code) {

    String key = StringUtil.toZeroPaddedString(code, SQL_CODE_DIGITS, SQL_CODE_DIGITS);

    return BundleHandler.getString(bundleHandle, key);
  }
 String getRemark() {
   return BundleHandler.getString(hnd_remarks, getSignature());
 }