|
DRAFT | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TraversableResolver
Contract determining if a property can be accessed by the Bean Validation provider This contract is called for each property either validated or traversed. A traversable resolver implementation must me thread-safe.
Method Summary | |
---|---|
boolean |
isTraversable(java.lang.Object traversableObject,
java.lang.String traversableProperty,
java.lang.Class<?> rootBeanType,
java.lang.String pathToTraversableObject,
java.lang.annotation.ElementType elementType)
Determine if a property can be traversed by Bean Validation. |
Method Detail |
---|
boolean isTraversable(java.lang.Object traversableObject, java.lang.String traversableProperty, java.lang.Class<?> rootBeanType, java.lang.String pathToTraversableObject, java.lang.annotation.ElementType elementType)
traversableObject
- object hosting traversableProperty
.traversableProperty
- name of the traversable property.rootBeanType
- type of the root object passed to the Validator.pathToTraversableObject
- path from the root object to
the traversableProperty
(using the path specification defined by Bean Validator).elementType
- either FIELD
or METHOD
.
true
if the property is traversable by Bean Validation,
false
otherwise.
|
DRAFT | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.