Skip to content

The generated documentVersion in Java should be a constant #40

@bjornandre

Description

@bjornandre

The model version is set correctly as a literal in the Python generated classes, e.g:
https://github.com/statisticsnorway/ssb-datadoc-model/blob/main/generated/python/datadoc_model/datadoc_model/model.py#L162

However, the corresponding Java version is an Object, not a constant:
https://github.com/statisticsnorway/ssb-datadoc-model/blob/main/generated/java/datadoc-model/src/main/java/no/ssb/dapla/metadata/PseudonymizationMetadata.java#L43

So there is no way to tell which schema version the Java object is generated from.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions