Top Description Methods
org.hibernate.validator.internal.metadata.facets

public Interface Validatable

Known Direct Subinterfaces
org.hibernate.validator.internal.metadata.aggregated.BeanMetaData
Known Direct Implementers
org.hibernate.validator.internal.metadata.aggregated.ReturnValueMetaData, org.hibernate.validator.internal.metadata.aggregated.ValidatableParametersMetaData

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

Method Summary

Modifier and TypeMethod and Description
public Iterable<Cascadable>

Returns:

The cascaded elements of this validatable.
getCascadables
()

Returns the cascaded elements of this validatable, e.g. the properties of a bean or the parameters of a method annotated with @Valid.

public boolean
hasCascadables()

Returns true if this validatable has at least one cascadable element, false otherwise.

Method Detail

getCascadablesback to summary
public 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:Iterable<Cascadable>

The cascaded elements of this validatable.

hasCascadablesback to summary
public boolean hasCascadables()

Returns true if this validatable has at least one cascadable element, false otherwise.