test_class.declarator: validator
test_class.modifier: private
test_class.original_string: private RemoveObjectsRequestValidator validator;
test_class.type: RemoveObjectsRequestValidator
test_class.var_name: validator
test_class.declarator: request
test_class.modifier: private
test_class.original_string: private RemoveDocumentSet request;
test_class.type: RemoveDocumentSet
test_class.var_name: request
test_class.declarator: transformer
test_class.modifier: private
test_class.original_string: private RemoveDocumentSetTransformer transformer;
test_class.type: RemoveDocumentSetTransformer
test_class.var_name: transformer
test_class.declarator: profile = new ValidationProfile(IpfInteractionId.ITI_62)
test_class.modifier: private
test_class.original_string: private ValidationProfile profile = new ValidationProfile(IpfInteractionId.ITI_62);
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/requests/RemoveObjectsRequestValidatorTest.java
test_class.identifier: RemoveObjectsRequestValidatorTest
test_case.body: @Test
      public void testValidateGoodCase() {
          validator.validate(transformer.toEbXML(request), profile);
      }
test_case.class_method_signature: RemoveObjectsRequestValidatorTest.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.file: commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/core/validate/requests/RemoveObjectsRequestValidator.java
focal_class.identifier: RemoveObjectsRequestValidator
focal_class.interfaces: implements Validator<EbXMLRemoveObjectsRequest, ValidationProfile>
focal_class.class_method_signature: RemoveObjectsRequestValidator.validate(EbXMLRemoveObjectsRequest request, ValidationProfile profile)
focal_class.full_signature: @Override public void validate(EbXMLRemoveObjectsRequest request, ValidationProfile profile)
focal_class.identifier: validate
focal_class.modifiers: @Override public
focal_class.parameters: (EbXMLRemoveObjectsRequest request, ValidationProfile profile)
focal_class.return: void
focal_class.signature: void validate(EbXMLRemoveObjectsRequest request, ValidationProfile profile)
focal_method.body: @Override
      public void validate(EbXMLRemoveObjectsRequest request, ValidationProfile profile)  {
          if (profile.getInteractionId() == IpfInteractionId.ITI_62) {
              metaDataAssert(request.getReferences().size() > 0, EMPTY_REFERENCE_LIST, "RemoveObjectsRequest");
              metaDataAssert(request.getDeletionScope().equals(DEFAULT_DELETION_SCOPE),
                             WRONG_DELETION_SCOPE, DEFAULT_DELETION_SCOPE);
              metaDataAssert(request.getId() == null &&
                             request.getHome() == null &&
                             request.getSlots().size() == 0, OBJECT_SHALL_NOT_BE_SPECIFIED, "AdhocQuery");
          }
      }
focal_method.class_method_signature: RemoveObjectsRequestValidator.validate(EbXMLRemoveObjectsRequest request, ValidationProfile profile)
focal_method.full_signature: @Override public void validate(EbXMLRemoveObjectsRequest request, ValidationProfile profile)
focal_method.identifier: validate
focal_method.invocations: getInteractionId metaDataAssert size getReferences metaDataAssert equals getDeletionScope metaDataAssert getId getHome size getSlots
focal_method.modifiers: @Override public
focal_method.parameters: (EbXMLRemoveObjectsRequest request, ValidationProfile profile)
focal_method.return: void
focal_method.signature: void validate(EbXMLRemoveObjectsRequest request, ValidationProfile profile)