Interface PojoElementAccessor<T>


  • @Incubating
    public interface PojoElementAccessor<T>
    An accessor allowing the retrieval of an element, for example a property, from a POJO.

    Accessors are created by PojoModelCompositeElement instances.

    • Method Detail

      • read

        T read​(Object parentElement)
        Reads the element from the given parent element.
        Parameters:
        parentElement - An object compatible with this accessor, i.e. with the right type.
        Returns:
        The element pointed to by this accessor, extracted from the given parent element.