IrrigationSchema.java [src/java/database/ipat] 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 database.ipat;

import sql.table.TableFactory;

/**
 *
 * @author <a href="mailto:shaun.case@colostate.edu">Shaun Case</a>
 */
public class IrrigationSchema {
    public static final String D_CROP_STATE_APP_RATE = "d_crop_state_app_rate";
    public static final String D_CLIGEN_STATIONS_DATA = "d_cligen_stations_data";

    private static IrrigationSchema _instance = new IrrigationSchema();
    private static final String SCHEMA_NAME = "irrigation";

    static {
        TableFactory.registerTable(SCHEMA_NAME, D_CROP_STATE_APP_RATE, D_Crop_State_App_Rate.class.getName());
        //TableFactory.registerTable(SCHEMA_NAME, D_CLIGEN_STATIONS_DATA, D_Cligen_Stations_Data_Table.class.getName());        
    }

    public static IrrigationSchema getInstance() {
        return _instance;
    }

    public String getSchemaName() {
        return SCHEMA_NAME;
    }    
}