Class PersistentId


  • public final class PersistentId
    extends Object
    Simple utility class to transform persistent id from strings to longs and vice versa.
    Author:
    Hendrik Schreiber
    • Method Detail

      • idStringToLong

        public static Long idStringToLong​(String id)
      • longToIdString

        public static String longToIdString​(Long id)
      • ensure16Digits

        public static String ensure16Digits​(String id)
        Make sure the id is 16 digits.
        Parameters:
        id - id
        Returns:
        16 digit(chars) id