static byte getPrimitiveValue(final Status status) {
        return switch (status) {
            case UNLOCKED -> 0;
            case LOCKED -> 1;
            case DELETED -> 99;
        };
    }
<p>
The type of lock held on the data. For the moment this is just simple lock
and unlocked.
</p>
stroom-meta/stroom-meta-impl-db/src/main/java/stroom/meta/impl/db/MetaStatusId.java