Table.java [src/m/utils] 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 m.utils;

import m.utils.Feature;
import m.utils.Database;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.codehaus.jettison.json.JSONException;
import org.codehaus.jettison.json.JSONObject;

/**
 *
 * @author ktraff
 */
public class Table {
    
    protected final Logger LOG = Logger.getLogger(getClass().getSimpleName());
    
    public String schema;
    public String table;
    
    public Database db;
    
    public Table(String schema, String table, Database db) {
        this.schema = schema;
        this.table = table;
        this.db = db;
    }
    
    public String getSchemaTable() {
        return this.schema + ".\"" + this.table + "\"";
    }
    
    public String toString() {
        return getSchemaTable();
    }
    
}