Correct Arity

A real life AbstractModelClassFactory

Sometimes I read "actually modern java is great now bla bla bla" and idk maybe, I don't do anything with java so I assumed people were making up "AbstractModelClassFactory" complaints. But it seems like AbstractModelClassFactory is still out there...

Abstract base class for ModelClassFactory implementations that read event maps from the file system.

The directory can be set using setEventMapDirectory(String) and defaults to ca/uhn/hl7v2/parser/eventmap/. The file itself is a property file named after the HL7 version (e.g. 2.4.properties).

The funny thing is, I would be extremely scared to make fun of this code, well a) because in general we should be nice and not mean but also b) the possibility that it solves a problem driven by real complexity in the hl7v2 standard, which if I tried to do hl7v2 lib I would at first be totally ignorant of and then take great effort or realistically never figure out. Of course maybe for whatever event map stuff they could do, you could replace the AbstractModelClassFactory with just data and functions, which might even be better. But somewhere along the way you'd probably say ohhh I see why they reached for all this java gobbledygook it kind of makes sense... (or not idk)