Package nl.b3p.jdbc.util.converter
Class ColumnMetadata
java.lang.Object
nl.b3p.jdbc.util.converter.ColumnMetadata
- All Implemented Interfaces:
Comparable<ColumnMetadata>
- Author:
- Matthijs Laan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(ColumnMetadata rhs) int
getName()
int
int
getSize()
boolean
boolean
void
setAutoIncrement
(boolean autoIncrement) void
setCharOctetLength
(Integer charOctetLength) void
setDataType
(int dataType) void
setDecimalDigits
(Integer decimalDigits) void
void
setNullable
(boolean nullable) void
setPosition
(int position) void
setSize
(int size) void
setTypeName
(String typeName) toString()
toStringFixedWidth
(Collection<ColumnMetadata> allColumns)
-
Constructor Details
-
ColumnMetadata
- Throws:
SQLException
-
-
Method Details
-
getName
-
setName
-
getDataType
public int getDataType() -
setDataType
public void setDataType(int dataType) -
getTypeName
-
setTypeName
-
getSize
public int getSize() -
setSize
public void setSize(int size) -
getDecimalDigits
-
setDecimalDigits
-
getPosition
public int getPosition() -
setPosition
public void setPosition(int position) -
isNullable
public boolean isNullable() -
setNullable
public void setNullable(boolean nullable) -
getCharOctetLength
-
setCharOctetLength
-
isAutoIncrement
public boolean isAutoIncrement() -
setAutoIncrement
public void setAutoIncrement(boolean autoIncrement) -
toString
-
typeToString
-
toStringFixedWidth
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ColumnMetadata>
-