Package org.springframework.ide.eclipse.beans.core.internal.model.validation.rules

Examples of org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.BeanConstructorArgumentRule.validate()


      ruleDefinition = getValidationRule(project, BeanConstructorArgumentRule.class);
      BeanConstructorArgumentRule argRule = (BeanConstructorArgumentRule) (ruleDefinition != null ? ruleDefinition
          .getRule() : null);
      if (argRule != null) {
        constructorArgContext.setCurrentRuleDefinition(ruleDefinition);
        argRule.validate(parentBean, constructorArgContext, null);
      }

      BeansValidationContextHelper requiredContext = new BeansValidationContextHelper(attribute, parent,
          contextElement, project, reporter, validator, QuickfixProcessorFactory.REQUIRED_PROPERTY, false,
          reportError, config);
View Full Code Here


        // }
        // }
        // }
        // }

        argRule.validate(parentBean, constructorArgContext, null);
      }

      return constructorArgContext.getErrorFound();
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.