org.hibernate.validator.internal.cfg.context

## Class GroupConversionTargetContextImpl<C>

- java.lang.Object
- - org.hibernate.validator.internal.cfg.context.GroupConversionTargetContextImpl<C>

- All Implemented Interfaces:
    GroupConversionTargetContext<C>

      public class GroupConversionTargetContextImpl<C>
      extends Object
      implements GroupConversionTargetContext<C>

  Context allowing to set the target of a group conversion.
  Author:
    Gunnar Morling

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GroupConversionTargetContextImpl(Class<?> from, C cascadableContext, CascadableConstraintMappingContextImplBase<?> target)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `C` | `to(Class<?> to)` Sets the target group of the conversion to be configured.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GroupConversionTargetContextImpl

          public GroupConversionTargetContextImpl(Class<?> from,
                                          C cascadableContext,
                                          CascadableConstraintMappingContextImplBase<?> target)

  - ### Method Detail

    - #### to

          public C to(Class<?> to)

      Description copied from interface: `GroupConversionTargetContext`
      Sets the target group of the conversion to be configured.
      Specified by:
        `to` in interface `GroupConversionTargetContext<C>`
      Parameters:
        `to` - the target group of the conversion
      Returns:
        The current creational context following the method chaining pattern.

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