Project

General

Profile

Task #7833

Story #7832: migrate from JibX to JAXB for XML binding / codegen

compare JAXB generated class files to current classes

Added by Rob Nahf about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_common_java
Target version:
-
Start date:
2016-06-24
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Current classes were originally JibX generated, with added decorators, and most recently manual additions to support empty object handling (JibX was impropertly generating empty elements that are not universally accepted by other unmarshalling frameworks.

point of interest:
1. enums
2. list handling wrt/ empty lists & list initialization
3. nesting
4. equals / hash

History

#1 Updated by Rob Nahf about 6 years ago

  • Description updated (diff)

#2 Updated by Rob Nahf almost 6 years ago

  • Status changed from New to In Progress
  • Category set to d1_common_java
  • Assignee set to Rob Nahf
  • % Done changed from 0 to 30

using basic annotations seem to work for the named-value types: Identifier, Subject, NodeReference, ObjectFormatIdentifier.

renaming the list properties in the original classes from replicaList, for example, to replica (while leaving the get/set methods the same: getReplicaList, setReplicaList works for generating the right XML tags.

system metadata seemed to serialize fine.

#3 Updated by Rob Nahf almost 6 years ago

  • translation missing: en.field_remaining_hours set to 0.0
  • % Done changed from 30 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)