Interface ContextAssembler

  • All Superinterfaces:
    ContextMapper

    public interface ContextAssembler
    extends ContextMapper
    Helper interface to be used by Dao implementations for assembling to and from context. Useful if we have assembler classes responsible for mapping to and from a specific entry.
    • Method Detail

      • mapToContext

        void mapToContext​(java.lang.Object obj,
                          java.lang.Object ctx)
        Map the supplied object to the specified context.
        Parameters:
        obj - the object to read data from.
        ctx - the context to map to.