test_class.declarator: validator
test_class.modifier: private
test_class.original_string: private QueryResponseValidator validator;
test_class.type: QueryResponseValidator
test_class.var_name: validator
test_class.declarator: response
test_class.modifier: private
test_class.original_string: private QueryResponse response;
test_class.type: QueryResponse
test_class.var_name: response
test_class.declarator: transformer
test_class.modifier: private
test_class.original_string: private QueryResponseTransformer transformer;
test_class.type: QueryResponseTransformer
test_class.var_name: transformer
test_class.declarator: docEntry
test_class.modifier: private
test_class.original_string: private DocumentEntry docEntry;
test_class.type: DocumentEntry
test_class.var_name: docEntry
test_class.declarator: profile = new ValidationProfile(IpfInteractionId.ITI_18)
test_class.modifier: private
test_class.original_string: private ValidationProfile profile = new ValidationProfile(IpfInteractionId.ITI_18);
test_class.type: ValidationProfile
test_class.var_name: profile
test_class.file: commons/ihe/xds/src/test/java/org/openehealth/ipf/commons/ihe/xds/core/validate/responses/QueryResponseValidatorTest.java
test_class.identifier: QueryResponseValidatorTest
test_case.body: @Test
      public void testValidateGoodCase() {
          validator.validate(transformer.toEbXML(response), profile);
      }
test_case.class_method_signature: QueryResponseValidatorTest.testValidateGoodCase()
test_case.full_signature: @Test public void testValidateGoodCase()
test_case.identifier: testValidateGoodCase
test_case.invocations: validate toEbXML
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValidateGoodCase()
focal_class.declarator: regResponseValidator = new RegistryResponseValidator()
focal_class.modifier: private final
focal_class.original_string: private final RegistryResponseValidator regResponseValidator = new RegistryResponseValidator();
focal_class.type: RegistryResponseValidator
focal_class.var_name: regResponseValidator
focal_class.declarator: objectContainerValidator = new ObjectContainerValidator()
focal_class.modifier: private final
focal_class.original_string: private final ObjectContainerValidator objectContainerValidator = new ObjectContainerValidator();
focal_class.type: ObjectContainerValidator
focal_class.var_name: objectContainerValidator
focal_class.file: commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/core/validate/responses/QueryResponseValidator.java
focal_class.identifier: QueryResponseValidator
focal_class.interfaces: implements Validator<EbXMLQueryResponse, ValidationProfile>
focal_class.class_method_signature: QueryResponseValidator.validate(EbXMLQueryResponse response, ValidationProfile profile)
focal_class.full_signature: @Override public void validate(EbXMLQueryResponse response, ValidationProfile profile)
focal_class.identifier: validate
focal_class.modifiers: @Override public
focal_class.parameters: (EbXMLQueryResponse response, ValidationProfile profile)
focal_class.return: void
focal_class.signature: void validate(EbXMLQueryResponse response, ValidationProfile profile)
focal_class.class_method_signature: QueryResponseValidator.validatePatientIdsAreIdentical(EbXMLObjectContainer container)
focal_class.full_signature: private void validatePatientIdsAreIdentical(EbXMLObjectContainer container)
focal_class.identifier: validatePatientIdsAreIdentical
focal_class.modifiers: private
focal_class.parameters: (EbXMLObjectContainer container)
focal_class.return: void
focal_class.signature: void validatePatientIdsAreIdentical(EbXMLObjectContainer container)
focal_class.class_method_signature: QueryResponseValidator.checkForMultiplePatientIds(String patientId, String id, List<? extends EbXMLRegistryObject> entries)
focal_class.full_signature: private String checkForMultiplePatientIds(String patientId, String id, List<? extends EbXMLRegistryObject> entries)
focal_class.identifier: checkForMultiplePatientIds
focal_class.modifiers: private
focal_class.parameters: (String patientId, String id, List<? extends EbXMLRegistryObject> entries)
focal_class.return: String
focal_class.signature: String checkForMultiplePatientIds(String patientId, String id, List<? extends EbXMLRegistryObject> entries)
focal_method.body: @Override
      public void validate(EbXMLQueryResponse response, ValidationProfile profile) {
          notNull(response, "response cannot be null");
          
          regResponseValidator.validate(response, profile);
          objectContainerValidator.validate(response, profile);
  
          List<ObjectReference> references = response.getReferences();
          for (ObjectReference objRef : references) {
              metaDataAssert(objRef.getId() != null, MISSING_OBJ_REF);
          }
  
          validatePatientIdsAreIdentical(response);
      }
focal_method.class_method_signature: QueryResponseValidator.validate(EbXMLQueryResponse response, ValidationProfile profile)
focal_method.full_signature: @Override public void validate(EbXMLQueryResponse response, ValidationProfile profile)
focal_method.identifier: validate
focal_method.invocations: notNull validate validate getReferences metaDataAssert getId validatePatientIdsAreIdentical
focal_method.modifiers: @Override public
focal_method.parameters: (EbXMLQueryResponse response, ValidationProfile profile)
focal_method.return: void
focal_method.signature: void validate(EbXMLQueryResponse response, ValidationProfile profile)