Class 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 Detail

      • ValidatableParametersMetaData

        public ValidatableParametersMetaData​(List<ParameterMetaData> parameterMetaData)
    • Method Detail

      • getCascadables

        public Iterable<Cascadable> getCascadables()
        Description copied from interface: Validatable
        Returns the cascaded elements of this validatable, e.g. the properties of a bean or the parameters of a method annotated with @Valid.
        Specified by:
        getCascadables in interface Validatable
        Returns:
        The cascaded elements of this validatable.
      • hasCascadables

        public boolean hasCascadables()
        Description copied from interface: Validatable
        Returns true if this validatable has at least one cascadable element, false otherwise.
        Specified by:
        hasCascadables in interface Validatable