コード例 #1
0
 /**
  * INTERNAL: Verify that setter parameterType is correct for the indirection policy. If it is
  * incorrect, add an exception to the integrity checker. In this case, the parameter type CANNOT
  * be ValueHolderInterface.
  */
 public void validateSetMethodParameterType(Class parameterType, IntegrityChecker checker)
     throws DescriptorException {
   super.validateSetMethodParameterType(parameterType, checker);
   if (!this.typeIsValid(parameterType)) {
     checker.handleError(
         DescriptorException.parameterAndMappingWithoutIndirectionMismatch(this.mapping));
   }
 }