public interface ContainerDescriptor
Modifier and Type | Method and Description |
---|---|
Set<ContainerElementTypeDescriptor> |
getConstrainedContainerElementTypes()
If this element is of a container type, e.g.
|
Set<ContainerElementTypeDescriptor> getConstrainedContainerElementTypes()
List
or Map
, a set of
descriptors of those container element types is returned, which are constrained or
marked with Valid
. A container element type is constrained, if it hosts at
least one constraint.
In the context of properties and method return values, container element types of super-types are considered.
Valid
. An empty set will be returned if this
element is not of a container type or is of a container type but there are no
container element types hosting constraints or marked with Valid
.Comments to: bean-validation-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to EFSL; this spec is based on material that is licensed under the Apache License, version 2.0.