|Why are the createRow(...) methods not in the ITable interface? [message #1429385]
||Tue, 23 September 2014 06:55
| Patrick Bänziger
Registered: September 2011
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...
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.02076 seconds