History can be stored in two dimensions and the version-correction provides the key. The first historic dimension is the classic series of versions. Each new version is stored in such a manor that previous versions can be accessed. The second historic dimension is corrections. A correction occurs when it is realized that the original data stored was incorrect.
A fully versioned object in an OpenGamma installation will have a single state for any combination of version and correction. This state is assigned a version string which is used as the third component in a {@link UniqueId}, where all versions share the same {@link ObjectId}.
This class represents a single version-correction combination suitable for identifying a single state. It is typically used to obtain an object, while the version string is used in the response.
This class is immutable and thread-safe.
|
|