org.simpleflatmapper.reflect.meta.Table Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sfm-reflect Show documentation
Show all versions of sfm-reflect Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.simpleflatmapper.reflect.meta;
public class Table {
public static final Table NULL = new Table(null, null, null);
private final String catalog;
private final String schema;
private final String table;
public Table(String catalog, String schema, String table) {
this.catalog = catalog;
this.schema = schema;
this.table = table;
}
public String schema() {
return schema;
}
public String table() {
return table;
}
public String catalog() {
return catalog;
}
public static boolean isNull(Table table) {
return table == null || table == NULL;
}
}