Interface CascadingMetaData

    • Method Detail

      • isCascading

        boolean isCascading()
      • isMarkedForCascadingOnAnnotatedObjectOrContainerElements

        boolean isMarkedForCascadingOnAnnotatedObjectOrContainerElements()
      • convertGroup

        Class<?> convertGroup​(Class<?> originalGroup)
      • isContainer

        boolean isContainer()
      • addRuntimeContainerSupport

        CascadingMetaData addRuntimeContainerSupport​(ValueExtractorManager valueExtractorManager,
                                                     Class<?> valueClass)
        Add additional cascading metadata when:
        • the element is marked with @Valid,
        • the runtime type of the element is container based (e.g. collections, maps or arrays),
        • and there are ValueExtractors present for such container,
        • and the declared type isn't container based.

        An example of this particular situation is: @Valid private Object element = new ArrayList<String>().

        Note that if the declared type is container based, the cascading information is directly included at bootstrap time.