atom feed1 message in org.oasis-open.lists.sdo[sdo] [SDO-13]: MetaData as Annotatio...
FromSent OnAttachments
Radu Preotiuc-PietroJan 28, 2008 3:29 pm 
Subject:[sdo] [SDO-13]: MetaData as Annotations in Java Interfaces
From:Radu Preotiuc-Pietro (rad@bea.com)
Date:Jan 28, 2008 3:29:09 pm
List:org.oasis-open.lists.sdo

Steve Brodsky:

The main additions needed for round trip of the basic Type and Property information (not yet addressing other XSD information) are:

For multi-valued properties that are not using generics (ie List<Customer>), and when the instance class is not enough to resolve the Type of the Property (primarily for new DataTypes), the Property Type should be indicated.

For bidirectional properties, the opposite Property needs to be indicated.

For containment properties, containment true/false needs to be indicated.

For types, open and sequenced needs to be indicated.

James Taylor:

We think that the scope of this is too big for 2.1 and that it should be considered for 3.0 instead. In addition, the solution should work for both statically generated and dynamic DataObject and it's unclear how an annotation approach would solve both of these cases.