org.hibernate.validator.internal.metadata.aggregated.rule
Class ParallelMethodsMustNotDefineGroupConversionForCascadedReturnValue

java.lang.Object
  extended by org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule
      extended by org.hibernate.validator.internal.metadata.aggregated.rule.ParallelMethodsMustNotDefineGroupConversionForCascadedReturnValue

public class ParallelMethodsMustNotDefineGroupConversionForCascadedReturnValue
extends MethodConfigurationRule

Rule that ensures that methods in parallel types don't define group conversions for methods marked as cascaded in one of the parallel types.

Author:
Gunnar Morling

Field Summary
 
Fields inherited from class org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule
log
 
Constructor Summary
ParallelMethodsMustNotDefineGroupConversionForCascadedReturnValue()
           
 
Method Summary
 void apply(ConstrainedExecutable method, ConstrainedExecutable otherMethod)
          Applies this rule.
 
Methods inherited from class org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule
isDefinedOnParallelType, isDefinedOnSubType, isStrictSubType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelMethodsMustNotDefineGroupConversionForCascadedReturnValue

public ParallelMethodsMustNotDefineGroupConversionForCascadedReturnValue()
Method Detail

apply

public void apply(ConstrainedExecutable method,
                  ConstrainedExecutable otherMethod)
Description copied from class: MethodConfigurationRule
Applies this rule. Invoked for each pair of methods collected by a given ExecutableMetaData.Builder.

Specified by:
apply in class MethodConfigurationRule
Parameters:
method - The first method to check.
otherMethod - The other method to check.


Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved