Sounds good to me. And probably also sublass them from an interface "FromFactory<CLassOfFactory>" that we can automatically get the factory class from a POJO (and need less reflection + String voodoo).
Julian Am 22.01.20, 10:57 schrieb "Christofer Dutz" <christofer.d...@c-ware.de>: Hi all, I have recently worked a lot on drivers that have internal structures which are defined by the protocol: * BACnet/IP * KNCnet/IP * That other protocol I worked on as a paid gig In all of these there I had to manually build lengthy “PlcStruct” constructs and pass them on. Now I think I’ll try adding a “toPlcValue” to all generated pojos … this way I can eliminate all of this boilerplate code. What do you think? Chris