Interface PojoModelCompositeElement

    • Method Detail

      • createAccessor

        <T> PojoElementAccessor<T> createAccessor​(Class<T> type)
        Type Parameters:
        T - The expected type of values returned by the accessor.
        Parameters:
        type - The expected type of values returned by the accessor.
        Returns:
        An accessor able to retrieve this element from an object, provided it has the right type.
        Throws:
        SearchException - If this element is not assignable to the given type.
      • createAccessor

        PojoElementAccessor<?> createAccessor()
        Returns:
        An accessor able to retrieve this element from an object, provided it has the right type.
      • property

        PojoModelProperty property​(String name)
        Parameters:
        name - The name of a property.
        Returns:
        A element representing the given property on the current element.