public class UpdatableColumnInformation extends ColumnInformation
Modifier and Type | Field and Description |
---|---|
private boolean |
autoIncrement |
private boolean |
canBeNull |
private boolean |
generated |
private boolean |
hasDefault |
private boolean |
primary |
Constructor and Description |
---|
UpdatableColumnInformation(ColumnInformation columnInformation,
boolean canBeNull,
boolean hasDefault,
boolean generated,
boolean primary,
boolean autoIncrement)
Constructor of Column metadata.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canBeNull() |
boolean |
hasDefault() |
boolean |
isAutoIncrement() |
boolean |
isGenerated() |
boolean |
isPrimary() |
create, getCharsetNumber, getColumnType, getDatabase, getDecimals, getDisplaySize, getFlags, getLength, getName, getOriginalName, getOriginalTable, getPrecision, getTable, isBinary, isBlob, isMultipleKey, isNotNull, isPrimaryKey, isSigned, isUniqueKey, isZeroFill
private final boolean canBeNull
private final boolean primary
private final boolean hasDefault
private final boolean generated
private final boolean autoIncrement
public UpdatableColumnInformation(ColumnInformation columnInformation, boolean canBeNull, boolean hasDefault, boolean generated, boolean primary, boolean autoIncrement)
columnInformation
- column meta informationcanBeNull
- can column be nullhasDefault
- has defaultgenerated
- is automatically generatedprimary
- is column part of primary keyautoIncrement
- column has AUTO_INCREMENT attribute