-
Notifications
You must be signed in to change notification settings - Fork 71
Description
The argouml uml model doesn't match (at all) the current gedcom-x media types as shown at https://familysearch.org/developers/docs/api/gx_xml, it looks like an earlier gedcom-x version? I usually work in UML2 and wanted to generate the Java objects and services from a model (I use AndroMDA), before I realized there was already a Java project that has these objects. I converted the model from UML14 argouml to UML2 (.uml which can be opened in any modern UML editor, i.e. Eclipse Papyrus which is free). I started fixing the Classes to make them look like the referenced Media Types, but thought I should ask if I can contribute this work back to gedcom-x, if it will ever be used. Also (an argouml / netbeans bug I think in this specific model) when I try to import the .xmi model into another UML14 or UML2 editor I get either a NullPointerException or 'String Index out of range', I think because it references an argouml namespace/version of the standard UML datatypes, pointing those references to non-argouml datatypes fixed that problem.
On the model/API - typically we pluralize the associations (properties) pointing to * Collections, to avoid confusion among developers/clients about the multiplicity and avoid problems with some software (JAXB2 simpleBindingMode, etc) which pluralizes these relationships. I know that would be a change to the API though.
I usually use Apache CXF for webservices, I'm currently helping the WikiTree project implement some REST APIs which we intend to pattern off the gedcom-x and FamilySearch designs, reuse as much of that work as possible, and would like to participate in these github projects.