Would it be possible to have 2 new, read only functions something like:
- entity\attributeEnumDisplayName(ATTRIBUTE) - that would return the external name of an ENUM field
- entity\attributeEnumOrder(ATTRIBUTE) - that would return the order from entity manager of the given value