Package jakarta.validation.metadata
Interface PropertyDescriptor
-
- All Superinterfaces:
CascadableDescriptor
,ContainerDescriptor
,ElementDescriptor
public interface PropertyDescriptor extends ElementDescriptor, CascadableDescriptor, ContainerDescriptor
Describes a Java Bean property hosting validation constraints. Constraints placed on the attribute and the getter of a given property are all referenced.- Author:
- Emmanuel Bernard
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPropertyName()
Name of the property according to the Java Bean specification.-
Methods inherited from interface jakarta.validation.metadata.CascadableDescriptor
getGroupConversions, isCascaded
-
Methods inherited from interface jakarta.validation.metadata.ContainerDescriptor
getConstrainedContainerElementTypes
-
Methods inherited from interface jakarta.validation.metadata.ElementDescriptor
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
-
-
-
-
Method Detail
-
getPropertyName
String getPropertyName()
Name of the property according to the Java Bean specification.- Returns:
- property name
-
-