Interface ColumnMetaData
-
- All Superinterfaces:
Comparable<ColumnMetaData>
,Serializable
- All Known Subinterfaces:
InternalColumnMetaData
- All Known Implementing Classes:
ColumnMetaDataImpl
public interface ColumnMetaData extends Comparable<ColumnMetaData>, Serializable
Information about a table column.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getColumnClassName()
String
getColumnName()
int
getColumnType()
String
getColumnTypeName()
int
getPrecision()
Map<String,List<ColumnMetaData>>
getReferencedColumns()
Map<String,List<ColumnMetaData>>
getReferencingColumns()
int
getScale()
TableMetaData
getTableMetaData()
boolean
isAutoIncrement()
boolean
isNullable()
boolean
isPrimaryKey()
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getColumnType
int getColumnType()
-
getColumnName
String getColumnName()
-
getColumnTypeName
String getColumnTypeName()
-
getColumnClassName
String getColumnClassName()
-
getTableMetaData
TableMetaData getTableMetaData()
- Returns:
- containing table
-
isNullable
boolean isNullable()
-
isAutoIncrement
boolean isAutoIncrement()
-
getPrecision
int getPrecision()
-
getScale
int getScale()
-
isPrimaryKey
boolean isPrimaryKey()
-
getReferencedColumns
Map<String,List<ColumnMetaData>> getReferencedColumns()
- Returns:
- referenced columns for each foreign key constraint
-
getReferencingColumns
Map<String,List<ColumnMetaData>> getReferencingColumns()
- Returns:
- list of referencing columns for each foreign key constraint
-
-