Why are the createRow(...) methods not in the ITable interface? [message #1429385] |
Tue, 23 September 2014 06:55 |
Patrick Baenziger Messages: 96 Registered: September 2011 |
Member |
|
|
Hi there
I noticed that in the ITable interface, there are plenty of methods to manipulate rows (delete, discard, move, ...).
However, the createRow of AbstractTable methods are not in this interface. I wondered if there is a design reason behind this omission?
Otherwise, I would suggest to add it to the interface - all known implementors of ITable that I can see (AbstractTable or its subclasses) seem to implement this method...
Context:
I noticed this while writing a generic handler that manipulates rows (delete, change, create&add) for arbitrary tables. I almost managed to use a generic parameter <T extends ITable> in the handler, except for the missing createRow methods.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02974 seconds