org.hibernate.validator.cfg.context

## Interface Unwrapable<U extends Unwrapable<U>>

- All Known Subinterfaces:
    ParameterConstraintMappingContext, PropertyConstraintMappingContext, ReturnValueConstraintMappingContext
  All Known Implementing Classes:
    CascadableConstraintMappingContextImplBase, ParameterConstraintMappingContextImpl, PropertyConstraintMappingContextImpl, ReturnValueConstraintMappingContextImpl

      public interface Unwrapable<U extends Unwrapable<U>>

  Facet of a constraint mapping creational context which allows to mark the underlying element as to be unwrapped prior to validation.
  Author:
    Gunnar Morling
  Experimental
    This API is considered experimental and may change in future revisions

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `U` | `unwrapValidatedValue()` Marks the current element (property, parameter etc.) as unwrapable.

- - ### Method Detail

    - #### unwrapValidatedValue

          U unwrapValidatedValue()

      Marks the current element (property, parameter etc.) as unwrapable. Equivalent to annotating this element with `UnwrapValidatedValue`.
      Returns:
        The current creational context following the method chaining pattern.

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved