|
Change By:
|
Gail Badner
(09/Nov/12 5:57 PM)
|
Description:
|
The following interface methods should be deprecated
because they are left over from EntityMode.DOM4J (which is obsolete)
:
Type.isXMLElement(), Type.setToXMLNode(), Type.fromXMLNode() and AssociationType.isEmbeddedInXML() EntityType.isNotEmbedded()
Also, constructors for the following types take isEmbeddedInXML (or embedded) as an argument. Those constructors should be deprecated and new ones should be created without that argument:
ArrayType, BagType, CollectionType. CustomCollectionType, EntityType, IdentifierBagType, ListType, ManyToOneType, MapType, OneToOneType, OrderedMapType, OrderedSetType, SetType, SortedMapType, SortedSetType
The following TypeFactory methods take embedded as an argument. The methods should be deprecated and new ones should be created without that argument:
TypeFactory.array(), bag(), customCollection() idBag() list() sortedMap() orderedMap() map(), set(), orderedSet(), sortedSet(), oneToOne(), manyToOne().
In addition, EntityType.isNotEmbedded() always returns false and has no affect, so it should also be deprecated.
|
Assignee:
|
Gail Badner
|
Summary:
|
Deprecate obsolete Type, AssociationType, and TypeFactory methods
left over from EntityMode.DOM4J
|
|
|