org.hibernate.validator.internal.metadata.facets
Interface Validatable
- All Known Subinterfaces:
- BeanMetaData<T>
- All Known Implementing Classes:
- BeanMetaDataImpl, ReturnValueMetaData, ValidatableParametersMetaData
public interface Validatable
Provides a unified view on validatable elements of all kinds, be it Java
beans, the arguments passed to a method or the value returned from a method.
Allows a unified handling of these elements in the validation routine.
- Author:
- Gunnar Morling
getCascadables
Iterable<Cascadable> getCascadables()
- Returns the cascaded elements of this validatable, e.g. the properties of
a bean or the parameters of a method annotated with
@Valid.
- Returns:
- The cascaded elements of this validatable.
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved