de.akquinet.jbosscc.guttenbase.meta.ColumnMetaData Maven / Gradle / Ivy
package de.akquinet.jbosscc.guttenbase.meta;
import java.io.Serializable;
import java.util.List;
/**
* Information about a table column.
*
*
* © 2012-2020 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 column (Foreign key constraint) or null
*/
ColumnMetaData getReferencedColumn();
/**
* @return list of referencing columns (Foreign key constraint)
*/
List getReferencedByColumn();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy