Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336247 - Extension point for registering java object serialization through one EDataType
Summary: Extension point for registering java object serialization through one EDataType
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 10:42 EST by Fabien Giquel CLA
Modified: 2020-05-01 11:26 EDT (History)
2 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien Giquel CLA 2011-02-03 10:42:51 EST
Here is a entry for a feature needed in MoDisco context, but which could be reusable in another context.

The need is to declare one EDataType which maps java.lang.Object, and for which the serialization (methods convert..ToString/..FromString), can be extended to some specific java types (default behavior in EFactoryImpl manages one predefined java types list).
Comment 1 Nicolas Bros CLA 2011-02-04 11:44:15 EST
Done in revision 282.
I added mainly:
- org.eclipse.emf.facet.util.emf.core.ISerializationRegistry
- /org.eclipse.emf.facet.util.emf.core/schema/serialization.exsd
- org.eclipse.emf.facet.util.emf.core.ISerializer<T>
- some default serializers in org.eclipse.emf.facet.util.emf.core.serialization
- unit tests in org.eclipse.emf.facet.infra.common.core.tests
Comment 2 Nicolas Bros CLA 2011-02-07 03:11:46 EST
The EDataType "ValueDataType" used in the org.eclipse.modisco.infra.discovery metamodel should be moved to org.eclipse.emf.facet.util.emf.core for maximum reusability.
Comment 3 Nicolas Bros CLA 2011-02-07 08:09:51 EST
(In reply to comment #2)
> The EDataType "ValueDataType" used in the org.eclipse.modisco.infra.discovery
> metamodel should be moved to org.eclipse.emf.facet.util.emf.core for maximum
> reusability.

Done in revision 283.
Comment 4 Nicolas Bros CLA 2011-03-04 06:01:03 EST
Committed revision 337 :
- marked org.eclipse.emf.facet.util.emf.core.serialization.model.serialization.impl as internal
- moved serialization interfaces to org.eclipse.emf.facet.util.emf.core.serialization
- moved default serializers to org.eclipse.emf.facet.util.emf.core.internal.serialization.serializers
Comment 5 Fabien Giquel CLA 2011-06-07 10:23:14 EDT
This bug has been resolved.