Beispiel #1
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);
  }
Beispiel #2
0
 /**
  * Retrieves the simple name of the specified column.
  *
  * <p>
  *
  * @param i zero-based column index
  * @return the simple name of the specified column.
  */
 String getColName(int i) {
   return table.getColumn(i).getName().name;
 }