ENTITY
- the entity typeFK_ENTITY
- the foreign entity typepublic interface HasFinder<ENTITY,FK_ENTITY>
Modifier and Type | Method and Description |
---|---|
BackwardFinder<FK_ENTITY,ENTITY> |
backwardFinder(TableIdentifier<ENTITY> identifier,
Supplier<Stream<ENTITY>> streamSupplier)
Returns a function that can be used to find a stream of entities
referencing this entity using the specified manager.
|
FindFrom<ENTITY,FK_ENTITY> |
finder(TableIdentifier<FK_ENTITY> identifier,
Supplier<Stream<FK_ENTITY>> streamSupplier)
Returns a function that can be used to find referenced entities using the
specified manager.
|
Field<FK_ENTITY> |
getReferencedField()
Returns the field referenced by this finder.
|
Field<FK_ENTITY> getReferencedField()
FindFrom<ENTITY,FK_ENTITY> finder(TableIdentifier<FK_ENTITY> identifier, Supplier<Stream<FK_ENTITY>> streamSupplier)
identifier
- the table identifierstreamSupplier
- the stream supplierBackwardFinder<FK_ENTITY,ENTITY> backwardFinder(TableIdentifier<ENTITY> identifier, Supplier<Stream<ENTITY>> streamSupplier)
identifier
- the table identifierstreamSupplier
- the stream supplierCopyright © 2017 Speedment, Inc.. All rights reserved.