primaryKey
public boolean primaryKey()
Returns the value of the
primaryKey record component.- Returns:
- the value of the
primaryKeyrecord component
name - Column namedisplayType - Display type labelnullable - Nullable labelprimaryKey - Whether the column is part of the primary keyforeignKey - Whether the column is part of a foreign keyunique - Whether the column has a unique constraintnoKeys - Whether no key badges should be renderedDataSourceControllerColumnDetail(String name,
String displayType,
String nullable,
boolean primaryKey,
boolean foreignKey,
boolean unique,
boolean noKeys) ColumnDetail record class.displayType record component.final booleanbooleanforeignKey record component.final inthashCode()name()name record component.booleannoKeys()noKeys record component.nullable()nullable record component.booleanprimaryKey record component.final StringtoString()booleanunique()unique record component.ColumnDetail record class.name - the value for the name record componentdisplayType - the value for the displayType record componentnullable - the value for the nullable record componentprimaryKey - the value for the primaryKey record componentforeignKey - the value for the foreignKey record componentunique - the value for the unique record componentnoKeys - the value for the noKeys record componentObjects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.displayType record component.displayType record componentprimaryKey record component.primaryKey record componentforeignKey record component.foreignKey record component