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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getFrom()
      Returns the source group of this conversion rule.
      java.lang.Class<?> getTo()
      Returns the target group of this conversion rule.
    • Method Detail

      • getFrom

        java.lang.Class<?> getFrom()
        Returns the source group of this conversion rule.
        Returns:
        the source group of this conversion rule
      • getTo

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