Interface ContainerElementTypeDescriptor

All Superinterfaces:
CascadableDescriptor, ContainerDescriptor, ElementDescriptor

public interface ContainerElementTypeDescriptor extends ElementDescriptor, CascadableDescriptor, ContainerDescriptor
Describes a validated container element type, e.g. the element type of List if it hosts at least one constraint or is marked with Valid.
Since:
2.0
Author:
Guillaume Smet
  • Method Details

    • getTypeArgumentIndex

      Integer getTypeArgumentIndex()
      Returns the index of the type argument corresponding to this container element type.
      Returns:
      the index of the type argument corresponding to this container element type
    • getContainerClass

      Class<?> getContainerClass()
      Returns the container class hosting this container element type.
      Returns:
      the container class hosting this container element type