static byte getPrimitiveValue(final String statusName) {
        if (NullSafe.isBlankString(statusName)) {
            throw new IllegalArgumentException("No status name supplied");
        }
        try {
            final Status status = Status.valueOf(statusName.toUpperCase());
            return getPrimitiveValue(status);
        } catch (IllegalArgumentException e) {
            throw new RuntimeException(LogUtil.message("'{}' is not a valid status value. Valid values are: '{}'",
                    statusName,
                    Arrays.stream(Status.values())
                            .map(Objects::toString)
                            .collect(Collectors.joining(", "))), e);
        }
    }
<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