- All Known Implementing Classes:
RefFactoryImpl
public interface RefFactory
Interface for creating ref instances for records.
- Since:
- 1.3
-
Method Summary
-
Method Details
-
create
Creates a ref instance for the specified recordtypeandpk. This method can be used to generate ref instances for entities, projections and regular records.- Type Parameters:
T- record type.ID- primary key type.- Parameters:
type- record type.pk- primary key.- Returns:
- ref instance.
-
create
Creates a ref instance for the specifiedrecordandpk. This method can be used to generate ref instances for entities, projections and regular records. The object returned by this method already contains the fetched record.- Type Parameters:
T- record type.ID- primary key type.- Parameters:
pk- primary key.- Returns:
- ref instance.
-