primaryKeyIndex
int primaryKeyIndex()
- Returns:
- this columns zero based index in the primary key, -1 if this column is not part of a primary key
T
- the underlying typeAttributeDefinition<T>
AuditColumnDefinition<T>
static interface
ColumnDefinition.Builder<T,B extends ColumnDefinition.Builder<T,B>>
ColumnDefinition
AttributeDefinition.ValueSupplier<T>
DATE_FORMAT, DATE_TIME_FORMAT, DECIMAL_ROUNDING_MODE, DECIMAL_SEPARATOR, DEFAULT_MAXIMUM_FRACTION_DIGITS, GROUPING_SEPARATOR, MAXIMUM_FRACTION_DIGITS, MNEMONIC_RESOURCE_SUFFIX, NUMBER_FORMAT_GROUPING, TIME_FORMAT, TRIM_STRINGS, USE_LEXICAL_STRING_COMPARATOR
boolean
Attribute
this definition is based on, should be unique within an Entity.boolean
<C> Column.Converter<C,T>
ResultSet
boolean
groupBy()
boolean
name()
boolean
int
boolean
readOnly()
boolean
boolean
selected()
void
set(PreparedStatement statement,
int index,
T value)
PreparedStatement
int
type()
boolean
caption, comparator, dateTimeFormatter, dateTimePattern, decimalRoundingMode, defaultValue, derived, description, entityType, format, hasDefaultValue, hidden, items, maximumFractionDigits, maximumLength, maximumValue, minimumValue, mnemonic, nullable, string, trim, validItem
AttributeDefinition
Attribute
this definition is based on, should be unique within an Entity.
By default, the Attribute.name()
serves as column name for database columns.attribute
in interface AttributeDefinition<T>
Types
.C
- the colum value typeColumn.Converter
for this column.ResultSet
resultSet
- the ResultSet
index
- this columns index in the resultResultSet
SQLException
- in case of an exceptionPreparedStatement
statement
- the statementindex
- the parameter indexvalue
- the value to set, may be nullSQLException
- in case of an exception