Top Description Fields Constructors Methods
org.hibernate.validator.internal.metadata.aggregated

public Class ValidatableParametersMetaData

extends Object
implements Validatable
Class Inheritance
All Implemented Interfaces
org.hibernate.validator.internal.metadata.facets.Validatable
Imports
java.util.List, java.util.stream.Collectors, org.hibernate.validator.internal.metadata.facets.Cascadable, .Validatable, org.hibernate.validator.internal.util.CollectionHelper, org.hibernate.validator.internal.util.stereotypes.Immutable

Represents the constraint related meta data of the arguments of a method or constructor.
Author
Gunnar Morling

Field Summary

Modifier and TypeField and Description
private final List<Cascadable>
private final List<ParameterMetaData>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Iterable<Cascadable>
getCascadables()

Implements org.hibernate.validator.internal.metadata.facets.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()

Implements org.hibernate.validator.internal.metadata.facets.Validatable.hasCascadables.

Returns true if this validatable has at least one cascadable element, false otherwise.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cascadablesback to summary
private final List<Cascadable> cascadables
Annotations
@Immutable
parameterMetaDataback to summary
private final List<ParameterMetaData> parameterMetaData
Annotations
@Immutable

Constructor Detail

ValidatableParametersMetaDataback to summary
public ValidatableParametersMetaData(List<ParameterMetaData> parameterMetaData)

Method Detail

getCascadablesback to summary
public Iterable<Cascadable> getCascadables()

Implements org.hibernate.validator.internal.metadata.facets.Validatable.getCascadables.

Doc from org.hibernate.validator.internal.metadata.facets.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.

Returns:Iterable<Cascadable>

The cascaded elements of this validatable.

Annotations
@Override
hasCascadablesback to summary
public boolean hasCascadables()

Implements org.hibernate.validator.internal.metadata.facets.Validatable.hasCascadables.

Doc from org.hibernate.validator.internal.metadata.facets.Validatable.hasCascadables.

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

Annotations
@Override