Class ValidatableParametersMetaData
- java.lang.Object
-
- org.hibernate.validator.internal.metadata.aggregated.ValidatableParametersMetaData
-
- All Implemented Interfaces:
Validatable
public class ValidatableParametersMetaData extends Object implements Validatable
Represents the constraint related meta data of the arguments of a method or constructor.- Author:
- Gunnar Morling
-
-
Constructor Summary
Constructors Constructor Description ValidatableParametersMetaData(List<ParameterMetaData> parameterMetaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<Cascadable>getCascadables()Returns the cascaded elements of this validatable, e.g.booleanhasCascadables()Returnstrueif this validatable has at least one cascadable element,falseotherwise.
-
-
-
Constructor Detail
-
ValidatableParametersMetaData
public ValidatableParametersMetaData(List<ParameterMetaData> parameterMetaData)
-
-
Method Detail
-
getCascadables
public Iterable<Cascadable> getCascadables()
Description copied from interface:ValidatableReturns the cascaded elements of this validatable, e.g. the properties of a bean or the parameters of a method annotated with@Valid.- Specified by:
getCascadablesin interfaceValidatable- Returns:
- The cascaded elements of this validatable.
-
hasCascadables
public boolean hasCascadables()
Description copied from interface:ValidatableReturnstrueif this validatable has at least one cascadable element,falseotherwise.- Specified by:
hasCascadablesin interfaceValidatable
-
-