I write the long time needed backup program for a Jmix application.
When I read the entity ReportTemplate I need to get the Integer Value of the ReportOutputType as this value is stored in the database.
I do not see any chance to expose this value ( e.g. 20, notpdf ). Do I oversee something, or is there a method missing for extracting this Integer value ?
Every inheritor of io.jmix.core.metamodel.datatype.EnumClass has the getId method which returns the actual DB value. The ReportOutputType is not an exception: