TableCoecoclassCalculations.java [src/soils/db/tables] Revision: default  Date:
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package soils.db.tables;

import java.util.ArrayList;

/**
 *
 * @author <a href="mailto:shaun.case@colostate.edu">Shaun Case</a>
 */
public class TableCoecoclassCalculations extends Table {

  public static final String ES_EDIT_URL = "es_edit_url";

  static final String[] ES_EDIT_URL_DATA = {ES_EDIT_URL, "EDIT service URL link for description of this EcoClass.  If present ecoclassname came from the EDIT servie, not SDM."};

  @Override
  protected ArrayList<String> getMandatoryColumns() {
    return null;
  }

  public TableCoecoclassCalculations() {
    addDataColumn(ES_EDIT_URL, new TableColumnString(ES_EDIT_URL_DATA));
  }

  public String editurl() {
    return ((String) columns.get(TableCoecoclassCalculations.ES_EDIT_URL).getValue());
  }

  public void editurl(String value) {
    columns.get(TableCoecoclassCalculations.ES_EDIT_URL).setValue(value);
  }
}