primaryKey
Returns the value of the
primaryKey record component.- Returns:
- the value of the
primaryKeyrecord component
foreignKeyColumns - the columns that make up the foreign keyprimaryKey - the primary key that this foreign key referencesPrimaryKey of
another.
This is the edge that drives the fill engine's topological ordering — the referenced (parent)
table must be populated before the table that depends on it, so DatabaseFiller builds its
dependency graph from these relationships. It also lets TableFiller seed a foreign-key
column from its associated primary-key column so the generated values line up. Like a primary key,
a foreign key may span several columns, paired in order with the primary-key columns they
reference.
ForeignKey(List<KeyColumn> foreignKeyColumns,
PrimaryKey primaryKey) ForeignKey record class.final booleanforeignKeyColumns record component.final inthashCode()primaryKey record component.final StringtoString()ForeignKey record class.foreignKeyColumns - the value for the foreignKeyColumns record componentprimaryKey - the value for the primaryKey record componentObjects::equals(Object,Object).foreignKeyColumns record component.foreignKeyColumns record componentprimaryKey record component.primaryKey record component