Class ValueStrategies


  • public class ValueStrategies
    extends Object
    Strategies for persistent value generation.
    Since:
    0.4.0
    Author:
    Abe White
    • Constructor Detail

      • ValueStrategies

        public ValueStrategies()
    • Method Detail

      • getName

        public static String getName​(int strategy)
        Convert the given strategy to a name.
      • getCode

        public static int getCode​(String val,
                                  Object context)
        Convert the given strategy name to its constant.
      • assertSupported

        public static void assertSupported​(int strategy,
                                           MetaDataContext context,
                                           String attributeName)
        Assert that the given strategy is supported by the current runtime.