Top Description Fields Constructors Methods
org.hibernate.validator.internal.cfg.context

pack-priv Class GroupConversionTargetContextImpl<C>

extends Object
implements GroupConversionTargetContext<C>
Class Inheritance
All Implemented Interfaces
org.hibernate.validator.cfg.context.GroupConversionTargetContext
Imports
org.hibernate.validator.cfg.context.GroupConversionTargetContext

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

Field Summary

Modifier and TypeField and Description
private final C
private final Class<?>
private final CascadableConstraintMappingContextImplBase<?>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public C
to(Class<?>
the target group of the conversion
to
)

Implements org.hibernate.validator.cfg.context.GroupConversionTargetContext.to.

Sets the target group of the conversion to be configured.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cascadableContextback to summary
private final C cascadableContext
fromback to summary
private final Class<?> from
targetback to summary
private final CascadableConstraintMappingContextImplBase<?> target

Constructor Detail

GroupConversionTargetContextImplback to summary
pack-priv GroupConversionTargetContextImpl(Class<?> from, C cascadableContext, CascadableConstraintMappingContextImplBase<?> target)

Method Detail

toback to summary
public C to(Class<?> to)

Implements org.hibernate.validator.cfg.context.GroupConversionTargetContext.to.

Doc from org.hibernate.validator.cfg.context.GroupConversionTargetContext.to.

Sets the target group of the conversion to be configured.

Parameters
to:Class<?>

the target group of the conversion

Returns:C

The current creational context following the method chaining pattern.

Annotations
@Override