FOREIGN KEY's owner table record
KEY's owner table record
ForeignKey is an object referencing a UniqueKey. It
represents a FOREIGN KEY relationship between two tables.
Instances of this type cannot be created directly. They are available from generated code.
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull Table | children(O record)
Get a table expression representing the children of a record, given this foreign key. |
| public @NotNull Table | children(O... records)
Get a table expression representing the children of a record, given this foreign key. |
| public @NotNull Table | children(Collection<? extends O> records)
Get a table expression representing the children of a record, given this foreign key. |
| public @NotNull Result | fetchChildren(O record)
Fetch child records of a given record through this foreign key
This returns childs record referencing a given record through this
foreign key, as if fetching from |
| public @NotNull Result | fetchChildren(O... records)
Fetch child records of a given set of records through this foreign key
This returns childs record referencing any record in a given set of
records through this foreign key, as if fetching from
|
| public @NotNull Result | fetchChildren(Collection<? extends O> records)
Fetch child records of a given set of records through this foreign key
This returns childs record referencing any record in a given set of
records through this foreign key, as if fetching from
|
| public O | fetchParent(R record)
Fetch a parent record of a given record through this foreign key
This returns a parent record referenced by a given record through this
foreign key, as if fetching from |
| public @NotNull Result | fetchParents(R... records)
Fetch parent records of a given set of record through this foreign key
This returns parent records referenced by any record in a given set of
records through this foreign key, as if fetching from
|
| public @NotNull Result | fetchParents(Collection<? extends R> records)
Fetch parent records of a given set of record through this foreign key
This returns parent records referenced by any record in a given set of
records through this foreign key, as if fetching from
|
| public @NotNull UniqueKey | |
| public @NotNull List | |
| public @NotNull @NotNull TableField | getKeyFieldsArray()
Deprecated
as a consequence of
The fields that make up the referenced TableField being deprecated.
UniqueKey.
|
| public @NotNull Table | |
| public @NotNull Table | parents(R... records)
Get a table expression representing the parents of a record, given this foreign key. |
| public @NotNull Table | parents(Collection<? extends R> records)
Get a table expression representing the parents of a record, given this foreign key. |
| children | back to summary |
|---|---|
| public @NotNull Table Get a table expression representing the children of a record, given this foreign key.
| |
| children | back to summary |
|---|---|
| public @NotNull Table Get a table expression representing the children of a record, given this foreign key.
| |
| children | back to summary |
|---|---|
| public @NotNull Table Get a table expression representing the children of a record, given this foreign key.
| |
| fetchChildren | back to summary |
|---|---|
| public @NotNull Result Fetch child records of a given record through this foreign key
This returns childs record referencing a given record through this
foreign key, as if fetching from
| |
| fetchChildren | back to summary |
|---|---|
| public @NotNull Result Fetch child records of a given set of records through this foreign key
This returns childs record referencing any record in a given set of
records through this foreign key, as if fetching from
| |
| fetchChildren | back to summary |
|---|---|
| public @NotNull Result Fetch child records of a given set of records through this foreign key
This returns childs record referencing any record in a given set of
records through this foreign key, as if fetching from
| |
| fetchParent | back to summary |
|---|---|
| public O fetchParent(R record) throws DataAccessException Fetch a parent record of a given record through this foreign key
This returns a parent record referenced by a given record through this
foreign key, as if fetching from
| |
| fetchParents | back to summary |
|---|---|
| public @NotNull Result Fetch parent records of a given set of record through this foreign key
This returns parent records referenced by any record in a given set of
records through this foreign key, as if fetching from
| |
| fetchParents | back to summary |
|---|---|
| public @NotNull Result Fetch parent records of a given set of record through this foreign key
This returns parent records referenced by any record in a given set of
records through this foreign key, as if fetching from
| |
| getKey | back to summary |
|---|---|
| public @NotNull UniqueKey The referenced
| |
| getKeyFields | back to summary |
|---|---|
| public @NotNull List The fields that make up the referenced
This returns the order in which the fields of
| |
| getKeyFieldsArray | back to summary |
|---|---|
| public @NotNull @NotNull TableField Deprecated as a consequence of The fields that make up the referenced
This returns the order in which the fields of
| |
| parent | back to summary |
|---|---|
| public @NotNull Table Get a table expression representing the parent of a record, given this foreign key.
| |
| parents | back to summary |
|---|---|
| public @NotNull Table Get a table expression representing the parents of a record, given this foreign key.
| |
| parents | back to summary |
|---|---|
| public @NotNull Table Get a table expression representing the parents of a record, given this foreign key.
| |