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>> ColumnDefinitionAttributeDefinition.ValueSupplier<T>DATE_FORMAT, DATE_TIME_FORMAT, DECIMAL_ROUNDING_MODE, DECIMAL_SEPARATOR, DEFAULT_MAXIMUM_FRACTION_DIGITS, GROUPING_SEPARATOR, MAXIMUM_FRACTION_DIGITS, NUMBER_FORMAT_GROUPING, TIME_FORMAT, USE_LEXICAL_STRING_COMPARATORbooleanAttribute this definition is based on, should be unique within an Entity.boolean<C> Column.Converter<C,T> booleangroupBy()booleanbooleanlazy()name()booleanintbooleanreadOnly()booleanbooleaninttype()booleancaption, comparator, dateTimeFormatter, dateTimePattern, decimalRoundingMode, defaultValue, derived, description, entityType, format, hasDefaultValue, hidden, items, maximumFractionDigits, maximumLength, maximumValue, minimumValue, mnemonic, nullable, prepareValue, string, validItemAttributeDefinitionAttribute 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 - the ResultSetindex - this columns index in the resultSQLException - in case of an exception