refined API for OrdinalValue/OrdinalDomain handling
reverted fix for findbugs (nullability), there will be no error ever