javax.validation.metadata
Interface GroupConversionDescriptor


public interface GroupConversionDescriptor

A group conversion rule to be applied during cascaded validation. Two group conversion descriptors are considered equal if they have the same from and to group respectively.

Since:
1.1
Author:
Gunnar Morling
See Also:
ConvertGroup

Method Summary
 Class<?> getFrom()
          Returns the source group of this conversion rule.
 Class<?> getTo()
          Returns the target group of this conversion rule.
 

Method Detail

getFrom

Class<?> getFrom()
Returns the source group of this conversion rule.

Returns:
the source group of this conversion rule

getTo

Class<?> getTo()
Returns the target group of this conversion rule.

Returns:
the target group of this conversion rule


Copyright © 2007-2013 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0.