Class ReturnValueMetaData

    • 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
      • asDescriptor

        public ReturnValueDescriptor asDescriptor​(boolean defaultGroupSequenceRedefined,
                                                  List<Class<?>> defaultGroupSequence)
        Description copied from interface: ConstraintMetaData
        Returns this meta data object's corresponding representation in the descriptor model.
        Specified by:
        asDescriptor in interface ConstraintMetaData
        Parameters:
        defaultGroupSequenceRedefined - Whether the bean hosting the represented element has a redefined default group sequence or not.
        defaultGroupSequence - The default group sequence of the bean hosting the represented element.
        Returns:
        This meta data object's corresponding descriptor model representation. Implementations should return a specific sub type of ElementDescriptor.
      • getValue

        public Object getValue​(Object parent)
        Description copied from interface: Cascadable
        Returns the value of this cacadable from the given parent.
        Specified by:
        getValue in interface Cascadable
      • getCascadableType

        public Type getCascadableType()
        Description copied from interface: Cascadable
        Returns the data type of this cascadable, e.g. the type of a bean property or the return type of a method.
        Specified by:
        getCascadableType in interface Cascadable
        Returns:
        This cascadable type.
      • appendTo

        public void appendTo​(PathImpl path)
        Description copied from interface: Cascadable
        Appends this cascadable element to the given path.
        Specified by:
        appendTo in interface Cascadable
      • getCascadingMetaData

        public CascadingMetaData getCascadingMetaData()
        Description copied from interface: Cascadable
        Returns cascading metadata of this cascadable element. Also contains the cascading metadata of the potential container element types.
        Specified by:
        getCascadingMetaData in interface Cascadable