public final class IntegerColumn extends Column<Integer>
ColumnMeta.Ordering
Modifier and Type | Field and Description |
---|---|
static String |
CELESTA_TYPE
Celesta type of the column data.
|
MAX_IDENTIFIER_LENGTH
Constructor and Description |
---|
IntegerColumn(TableElement table,
String name) |
Modifier and Type | Method and Description |
---|---|
String |
getCelestaDefault()
DEFAULT value of the field in CelestaSQL language.
|
String |
getCelestaType()
Celesta data type that corresponds to the field.
|
Integer |
getDefaultValue()
Returns default value.
|
Class<?> |
getJavaClass()
Returns corresponding Java data type.
|
SequenceElement |
getSequence()
Returns sequence of the column.
|
String |
jdbcGetterName()
Name of jdbcGetter that should be used for getting column data.
|
void |
setCelestaDoc(String celestaDoc)
Sets value of document string.
|
delete, getOptions, getParentTable, isNullable, setNullableAndDefault, toString
equals, getCelestaDoc, getName, getQuotedName, getQuotedNameIfNeeded, hashCode, limitName, limitName
asc, desc, getCelestaDoc, getName, ordering
public static final String CELESTA_TYPE
public IntegerColumn(TableElement table, String name) throws ParseException
ParseException
public Integer getDefaultValue()
Column
getDefaultValue
in class Column<Integer>
public SequenceElement getSequence()
public String jdbcGetterName()
ColumnMeta
public String getCelestaType()
ColumnMeta
public Class<?> getJavaClass()
ColumnMeta
public String getCelestaDefault()
Column
getCelestaDefault
in class Column<Integer>
public void setCelestaDoc(String celestaDoc) throws ParseException
NamedElement
setCelestaDoc
in class NamedElement
celestaDoc
- new valueParseException
- incorrect CelestaDocCopyright © 2022 CURS. All rights reserved.