Top Description Methods
jakarta.validation.metadata

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

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

property name
getPropertyName
()

Name of the property according to the Java Bean specification.

Inherited from jakarta.validation.metadata.CascadableDescriptor:
getGroupConversionsisCascaded
Inherited from jakarta.validation.metadata.ContainerDescriptor:
getConstrainedContainerElementTypes
Inherited from jakarta.validation.metadata.ElementDescriptor:
findConstraintsgetConstraintDescriptorsgetElementClasshasConstraints

Method Detail

getPropertyNameback to summary
public String getPropertyName()

Name of the property according to the Java Bean specification.

Returns:String

property name