Package io.github.torand.fastersql.model
Interface TableFactory<ENTITY>
- Type Parameters:
ENTITY
- the table model class.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines a factory to create instances of a database
Table
model.-
Method Summary
Modifier and TypeMethodDescriptionnewInstance
(String alias) Creates a new instance of a databaseTable
model.
-
Method Details
-
newInstance
Creates a new instance of a databaseTable
model.- Parameters:
alias
- the table alias.- Returns:
- the new table model instance.
-