The purpose of the Stored class is to make stored and non-stored DTOs distinguishable via the type system. E.g.
void update(final Collection<Stored<Record>> records) {
...
}
void insert(final Collection<Record> records) {
...
}
The Stored class contains the primary key and the actual row values.
The purpose of the
Storedclass is to make stored and non-stored DTOs distinguishable via the type system. E.g.The
Storedclass contains the primary key and the actual row values.