javax.validation.metadata
Interface PropertyDescriptor
- All Superinterfaces:
- ElementDescriptor
public interface PropertyDescriptor
- extends ElementDescriptor
Describes a Java Bean property hosting validation constraints.
Constraints placed on the attribute and the getter of a given property
are all referenced.
Method Summary |
java.lang.String |
getPropertyName()
Name of the property acording to the Java Bean specification. |
boolean |
isCascaded()
Is the property marked by the @Valid annotation. |
isCascaded
boolean isCascaded()
- Is the property marked by the
@Valid
annotation.
- Returns:
true
if the annotation is present, false
otherwise.
getPropertyName
java.lang.String getPropertyName()
- Name of the property acording to the Java Bean specification.
- Returns:
- property name.