Skip to content
Fabio Simeoni edited this page Aug 19, 2014 · 1 revision

to adapt.


Codelists and codebags are Versioned DOs, i.e. are associated with versions at the time of their creation.

Versions implement the Version interface, which defines the defaults and syntactic rules of a versioning scheme. At the time of writing, a single DefaultVersion scheme applies to all Versioned DOs, and it is not possible to use different schemes for different VOs. The default scheme defines a default version of 1.

Versioning is a process that creates exact copies of existing DOs, except that they have no identifiers and have different versions. Unidentified objects can be versioned. The versioned copies live an independent life thereafter.

New version values must comply with the versioning scheme, and the default scheme requires only that they follow the existing version in lexicographic order.

The versioning process is supported by the private API of codelists and codebags and can be performed only by a dedicated Versioning Service.

Clone this wiki locally