test_class.declarator: londonAddress = new Address("812 Maiden Lane", "", "London", "", "", "UK", null)
test_class.modifier: private
test_class.original_string: private Address londonAddress = new Address("812 Maiden Lane", "", "London", "", "", "UK", null);
test_class.type: Address
test_class.var_name: londonAddress
test_class.declarator: noStateAddress = new Address("893 Presidential Ave", "Suite 800", "Washington", "", "92342", "USA", null)
test_class.modifier: private
test_class.original_string: private Address noStateAddress = new Address("893 Presidential Ave", "Suite 800", "Washington", "", "92342", "USA", null);
test_class.type: Address
test_class.var_name: noStateAddress
test_class.file: rice-framework/krad-web-framework/src/test/java/org/kuali/rice/krad/datadictionary/validation/processor/CaseConstraintProcessorTest.java
test_class.identifier: CaseConstraintProcessorTest
test_class.superclass: extends BaseConstraintProcessorTest<CaseConstraintProcessor>
test_case.body: @Test
  	public void testCaseConstraintInvoked() {
  		ProcessorResult processorResult = processRaw(noStateAddress, "country", countryIsUSACaseConstraint);
  
  		List<Constraint> constraints = processorResult.getConstraints();
  
  		Assert.assertNotNull(constraints);
  		Assert.assertEquals(1, constraints.size());
  
  		Constraint constraint = constraints.get(0);
  
  		Assert.assertTrue(constraint instanceof PrerequisiteConstraint);
  
  		PrerequisiteConstraint prerequisiteConstraint = (PrerequisiteConstraint)constraint;
  
  		Assert.assertEquals("state", prerequisiteConstraint.getPropertyName());
  
  		ConstraintValidationResult result = processorResult.getFirstConstraintValidationResult();
  		Assert.assertEquals(0, dictionaryValidationResult.getNumberOfWarnings());
  		Assert.assertEquals(0, dictionaryValidationResult.getNumberOfErrors());
  		Assert.assertEquals(ErrorLevel.OK, result.getStatus());
  		Assert.assertEquals(new CaseConstraintProcessor().getName(), result.getConstraintName());
  	}
test_case.class_method_signature: CaseConstraintProcessorTest.testCaseConstraintInvoked()
test_case.full_signature: @Test public void testCaseConstraintInvoked()
test_case.identifier: testCaseConstraintInvoked
test_case.invocations: processRaw getConstraints assertNotNull assertEquals size get assertTrue assertEquals getPropertyName getFirstConstraintValidationResult assertEquals getNumberOfWarnings assertEquals getNumberOfErrors assertEquals getStatus assertEquals getName getConstraintName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCaseConstraintInvoked()
focal_class.declarator: CONSTRAINT_NAME = "case constraint"
focal_class.modifier: private static final
focal_class.original_string: private static final String CONSTRAINT_NAME = "case constraint";
focal_class.type: String
focal_class.var_name: CONSTRAINT_NAME
focal_class.file: rice-framework/krad-web-framework/src/main/java/org/kuali/rice/krad/datadictionary/validation/processor/CaseConstraintProcessor.java
focal_class.identifier: CaseConstraintProcessor
focal_class.class_method_signature: CaseConstraintProcessor.process(DictionaryValidationResult result, Object value, CaseConstraint caseConstraint,
              AttributeValueReader attributeValueReader)
focal_class.full_signature: @Override public ProcessorResult process(DictionaryValidationResult result, Object value, CaseConstraint caseConstraint,
              AttributeValueReader attributeValueReader)
focal_class.identifier: process
focal_class.modifiers: @Override public
focal_class.parameters: (DictionaryValidationResult result, Object value, CaseConstraint caseConstraint,
              AttributeValueReader attributeValueReader)
focal_class.return: ProcessorResult
focal_class.signature: ProcessorResult process(DictionaryValidationResult result, Object value, CaseConstraint caseConstraint,
              AttributeValueReader attributeValueReader)
focal_class.class_method_signature: CaseConstraintProcessor.evaluateWhenConstraint(Object fieldValue, DataType fieldDataType, String operator,
              CaseConstraint caseConstraint, WhenConstraint wc, AttributeValueReader attributeValueReader,
              List<Constraint> constraints)
focal_class.full_signature: private void evaluateWhenConstraint(Object fieldValue, DataType fieldDataType, String operator,
              CaseConstraint caseConstraint, WhenConstraint wc, AttributeValueReader attributeValueReader,
              List<Constraint> constraints)
focal_class.identifier: evaluateWhenConstraint
focal_class.modifiers: private
focal_class.parameters: (Object fieldValue, DataType fieldDataType, String operator,
              CaseConstraint caseConstraint, WhenConstraint wc, AttributeValueReader attributeValueReader,
              List<Constraint> constraints)
focal_class.return: void
focal_class.signature: void evaluateWhenConstraint(Object fieldValue, DataType fieldDataType, String operator,
              CaseConstraint caseConstraint, WhenConstraint wc, AttributeValueReader attributeValueReader,
              List<Constraint> constraints)
focal_class.class_method_signature: CaseConstraintProcessor.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: CaseConstraintProcessor.getConstraintType()
focal_class.full_signature: @Override public Class<? extends Constraint> getConstraintType()
focal_class.identifier: getConstraintType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Class<? extends Constraint>
focal_class.signature: Class<? extends Constraint> getConstraintType()
focal_class.class_method_signature: CaseConstraintProcessor.getChildAttributeValueReader(String key,
              AttributeValueReader attributeValueReader)
focal_class.full_signature: private AttributeValueReader getChildAttributeValueReader(String key,
              AttributeValueReader attributeValueReader)
focal_class.identifier: getChildAttributeValueReader
focal_class.modifiers: private
focal_class.parameters: (String key,
              AttributeValueReader attributeValueReader)
focal_class.return: AttributeValueReader
focal_class.signature: AttributeValueReader getChildAttributeValueReader(String key,
              AttributeValueReader attributeValueReader)
focal_class.superclass: extends MandatoryElementConstraintProcessor<CaseConstraint>
focal_method.body: @Override
      public String getName() {
          return CONSTRAINT_NAME;
      }
focal_method.class_method_signature: CaseConstraintProcessor.getName()
focal_method.full_signature: @Override public String getName()
focal_method.identifier: getName
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getName()