Class HintValueConverter.OpenJPAEnumToInteger

    • Constructor Detail

      • OpenJPAEnumToInteger

        public OpenJPAEnumToInteger​(OpenJPAEnum<?> prototype)
    • Method Detail

      • convert

        public Object convert​(Object e)
        Description copied from interface: HintValueConverter
        Convert the user-specified value to a kernel consumable value.
        Specified by:
        convert in interface HintValueConverter
        Parameters:
        e - the user-specified value
        Returns:
        an equivalent value consumable by a kernel construct.