Interface ManagedId

    • Method Detail

      • recreateManagedIds

        long recreateManagedIds​(IdGroupingToken tokenId)
        recreate the internal id(s) and set them including the Idable id
        Parameters:
        tokenId - to use (may be null in case managed id entity does not rely on token to recreate its managed id(s))
        Returns:
        the updated internal id
      • getIdClass

        Class<? extends IdAble> getIdClass()
        Each managed id class is expected to generate its ids based on its class signature. To be able to generate the correct id the class used for id generation is to be provided via this method call.
        Returns:
        idClass to use for generating ids for instances of this idable derived class
      • resetChildManagedIdEntities

        default void resetChildManagedIdEntities()
        Each class that has a managed id, should be able to reset any children that themselves are managedIdEntity containers. This ensures that when resetting such a container any child containers are also reset