Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

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.

Author:
Emmanuel Bernard

Nested Class Summary
Nested classes/interfaces inherited from interface javax.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder
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.
Methods inherited from interface javax.validation.metadata.ElementDescriptor
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints

Method Detail

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.

Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.

AltStyle によって変換されたページ (->オリジナル) /