https://redmine.dataone.org/https://redmine.dataone.org/favicon.ico2016-07-16T17:44:09ZDataONE TasksInfrastructure - Task #7846: set up types to use JAXB, add JAXB logic to TypeMarshallerhttps://redmine.dataone.org/issues/7846?journal_id=278922016-07-16T17:44:09ZRob Nahfrnahf@epscor.unm.edu
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>30</i></li></ul><p>used xjc to generate template class files<br>
copied annotations into existing class files in d1_common_java</p>
<p>Copied over the generated ObjectFactory and package-info classes into the d1_common_java.</p>
<p>The v1_1 types were generated in the v1 package, but I kept our existing structure (types.v1, types.v1_1, types.v2). This meant that I had to create a v1_1 ObjectFactory by extracting methods related to v1_1 classes from the v1.ObjectFactory.</p>
<p>The autogenerated classes did not create annotations for @XmlRootElement for most classes, which will have to be addressed for cloning.<br>
Also, ObjectFormatIdentifier was coded as a string, so needs some extra annotations to have it serialize properly.</p>
<p>XML dates were also mapped to XmlGregorianCalendar Java class, which I simplified to java.util.Date.<br>
Some special test will need to be made to make sure it was legit to do this without an adapter.</p>
Infrastructure - Task #7846: set up types to use JAXB, add JAXB logic to TypeMarshallerhttps://redmine.dataone.org/issues/7846?journal_id=280082016-08-18T21:43:19ZRob Nahfrnahf@epscor.unm.edu
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>30</i> to <i>100</i></li><li><strong>translation missing: en.field_remaining_hours</strong> set to <i>0.0</i></li></ul>