Interface IdentityKeyTranslator

  • All Superinterfaces:

    public interface IdentityKeyTranslator
    extends Serializable
    Translator for object identities where the user wants to input identities that are not strict key forms, so this returns a valid identity.
    • Method Detail

      • getKey

        Object getKey​(ExecutionContext ec,
                      Class cls,
                      Object key)
        Method to translate the object into the identity.
        ec - ExecutionContext
        cls - Class of the persistent object
        key - The passed in key
        The valid key for this class