Public:BWmeta service/Transformers
From YaddaWiki
(Difference between revisions)
Line 1: | Line 1: | ||
{{Infobox BWmeta service}} | {{Infobox BWmeta service}} | ||
- | As of 2010Q4, three versions of BWmeta format are used in YADDA | + | == Background and motivation == |
+ | |||
+ | As of 2010Q4, three versions of BWmeta format and at least three Java models of metadata are used in YADDA. | ||
+ | [[BWmeta service/Java mapping|See here]] for details. | ||
+ | Serialization and deserialization is implemented for the following pairs: | ||
{| class="bluetable" | {| class="bluetable" | ||
- | ! | + | ! !! Repo !! DL !! Y !! … |
|- | |- | ||
| 1.0.5 || [[Image:Tick.png]] || [[Image:Tick.png]] || || | | 1.0.5 || [[Image:Tick.png]] || [[Image:Tick.png]] || || | ||
Line 12: | Line 16: | ||
| 2.0.0 || || || [[Image:Tick.png]] || | | 2.0.0 || || || [[Image:Tick.png]] || | ||
|} | |} | ||
+ | |||
+ | There are also converters between the different models: | ||
+ | * Y → DL | ||
+ | * DL → Y | ||
+ | |||
+ | Serialization of Y model to BWmeta 1.0.5 is therefore possible through the following chain of transformations: | ||
+ | * Y model → DL model → BWmeta 1.0.5 | ||
+ | Conversion from DL model to Repo model is possible through: | ||
+ | * DL model → BWmeta 1.0.5 → Repo model | ||
+ | |||
+ | Unfortunately, many mutually-incompatible transformation interfaces are present. |
Revision as of 15:20, 18 November 2010
Service details | |
---|---|
Name | BWmeta |
Code location (relative to SVN root) | projects/dir/bwmeta-core |
Javadoc | |
Contact person | Jakub Jurkiewicz |
Background and motivation
As of 2010Q4, three versions of BWmeta format and at least three Java models of metadata are used in YADDA. See here for details. Serialization and deserialization is implemented for the following pairs:
Repo | DL | Y | … | |
---|---|---|---|---|
1.0.5 | ||||
1.2.0 | ||||
2.0.0 |
There are also converters between the different models:
- Y → DL
- DL → Y
Serialization of Y model to BWmeta 1.0.5 is therefore possible through the following chain of transformations:
- Y model → DL model → BWmeta 1.0.5
Conversion from DL model to Repo model is possible through:
- DL model → BWmeta 1.0.5 → Repo model
Unfortunately, many mutually-incompatible transformation interfaces are present.