javax.validation.metadata
Interface PropertyDescriptor

All Superinterfaces:
CascadableDescriptor, ElementDescriptor

public interface PropertyDescriptor
extends ElementDescriptor, CascadableDescriptor

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 javax.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder
 
Method Summary
 String getPropertyName()
          Name of the property according to the Java Bean specification.
 
Methods inherited from interface javax.validation.metadata.ElementDescriptor
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
 
Methods inherited from interface javax.validation.metadata.CascadableDescriptor
getGroupConversions, isCascaded
 

Method Detail

getPropertyName

String getPropertyName()
Name of the property according to the Java Bean specification.

Returns:
property name


Copyright © 2007-2013 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0.