Package org.apache.bval.jsr.descriptor
Class ElementD<E extends AnnotatedElement,R extends MetadataReader.ForElement<E,?>>
- java.lang.Object
-
- org.apache.bval.jsr.descriptor.ElementD<E,R>
-
- All Implemented Interfaces:
jakarta.validation.metadata.ElementDescriptor
- Direct Known Subclasses:
BeanD
,ElementD.NonRoot
public abstract class ElementD<E extends AnnotatedElement,R extends MetadataReader.ForElement<E,?>> extends Object implements jakarta.validation.metadata.ElementDescriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ElementD.NonRoot<P extends ElementD<?,?>,E extends AnnotatedElement,R extends MetadataReader.ForElement<E,?>>
-
Field Summary
Fields Modifier and Type Field Description protected Type
genericType
(package private) GroupsComputer
groupsComputer
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
findConstraints()
protected abstract BeanD<?>
getBean()
Set<jakarta.validation.metadata.ConstraintDescriptor<?>>
getConstraintDescriptors()
Class<?>
getDeclaringClass()
ElementType
getElementType()
abstract Type
getGenericType()
abstract GroupStrategy
getGroupStrategy()
E
getTarget()
boolean
hasConstraints()
String
toString()
-
-
-
Field Detail
-
genericType
protected final Type genericType
-
groupsComputer
final GroupsComputer groupsComputer
-
-
Constructor Detail
-
ElementD
protected ElementD(R reader)
-
-
Method Detail
-
hasConstraints
public boolean hasConstraints()
- Specified by:
hasConstraints
in interfacejakarta.validation.metadata.ElementDescriptor
-
getConstraintDescriptors
public Set<jakarta.validation.metadata.ConstraintDescriptor<?>> getConstraintDescriptors()
- Specified by:
getConstraintDescriptors
in interfacejakarta.validation.metadata.ElementDescriptor
-
findConstraints
public final jakarta.validation.metadata.ElementDescriptor.ConstraintFinder findConstraints()
- Specified by:
findConstraints
in interfacejakarta.validation.metadata.ElementDescriptor
-
getElementType
public final ElementType getElementType()
-
getTarget
public final E getTarget()
-
getDeclaringClass
public final Class<?> getDeclaringClass()
-
getGenericType
public abstract Type getGenericType()
-
getGroupStrategy
public abstract GroupStrategy getGroupStrategy()
-
getBean
protected abstract BeanD<?> getBean()
-
-