de.akquinet.jbosscc.guttenbase.meta.ColumnMetaData Maven / Gradle / Ivy
The newest version!
package de.akquinet.jbosscc.guttenbase.meta;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* Information about a table column.
*
*
* © 2012-2034 akquinet tech@spree
*
*
* @author M. Dahm
*/
public interface ColumnMetaData extends Comparable, Serializable
{
int getColumnType();
String getColumnName();
String getColumnTypeName();
String getColumnClassName();
/**
* @return containing table
*/
TableMetaData getTableMetaData();
boolean isNullable();
boolean isAutoIncrement();
int getPrecision();
int getScale();
boolean isPrimaryKey();
/**
* @return referenced columns for each foreign key constraint
*/
Map> getReferencedColumns();
/**
* @return list of referencing columns for each foreign key constraint
*/
Map> getReferencingColumns();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy