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

Examples of org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.RequiredPropertyRule


      BeansValidationContextHelper requiredContext = new BeansValidationContextHelper(attribute, parent,
          contextElement, project, reporter, validator, QuickfixProcessorFactory.REQUIRED_PROPERTY, false,
          reportError, config);
      ruleDefinition = getValidationRule(project, RequiredPropertyRule.class);
      RequiredPropertyRule requiredRule = (RequiredPropertyRule) (ruleDefinition != null ? ruleDefinition
          .getRule() : null);
      if (requiredRule != null) {
        requiredContext.setCurrentRuleDefinition(ruleDefinition);
        requiredRule.validate(parentBean, classContext, null);
      }

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

TOP

Related Classes of org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.RequiredPropertyRule

Copyright © 2018 www.massapicom. 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.