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: request
test_class.modifier: private
test_class.original_string: private RemoveDocumentSet request;
test_class.type: RemoveDocumentSet
test_class.var_name: request
test_class.file: commons/ihe/xds/src/test/java/org/openehealth/ipf/commons/ihe/xds/core/transform/requests/RemoveDocumentSetTransformerTest.java
test_class.identifier: RemoveDocumentSetTransformerTest
test_case.body: @Test
      public void testFromEbXML() {
          EbXMLRemoveObjectsRequest ebXML = transformer.toEbXML(request);
          RemoveDocumentSet result = transformer.fromEbXML(ebXML);
          
          assertEquals(request.toString(), result.toString());
      }
test_case.class_method_signature: RemoveDocumentSetTransformerTest.testFromEbXML()
test_case.full_signature: @Test public void testFromEbXML()
test_case.identifier: testFromEbXML
test_case.invocations: toEbXML fromEbXML assertEquals toString toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFromEbXML()
focal_class.declarator: factory = new EbXMLFactory30()
focal_class.modifier: private final
focal_class.original_string: private final EbXMLFactory factory = new EbXMLFactory30();
focal_class.type: EbXMLFactory
focal_class.var_name: factory
focal_class.file: commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/core/transform/requests/RemoveDocumentSetTransformer.java
focal_class.identifier: RemoveDocumentSetTransformer
focal_class.class_method_signature: RemoveDocumentSetTransformer.RemoveDocumentSetTransformer()
focal_class.full_signature: public  RemoveDocumentSetTransformer()
focal_class.identifier: RemoveDocumentSetTransformer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RemoveDocumentSetTransformer()
focal_class.class_method_signature: RemoveDocumentSetTransformer.toEbXML(RemoveDocumentSet request)
focal_class.full_signature: public EbXMLRemoveObjectsRequest toEbXML(RemoveDocumentSet request)
focal_class.identifier: toEbXML
focal_class.modifiers: public
focal_class.parameters: (RemoveDocumentSet request)
focal_class.return: EbXMLRemoveObjectsRequest
focal_class.signature: EbXMLRemoveObjectsRequest toEbXML(RemoveDocumentSet request)
focal_class.class_method_signature: RemoveDocumentSetTransformer.fromEbXML(EbXMLRemoveObjectsRequest ebXML)
focal_class.full_signature: public RemoveDocumentSet fromEbXML(EbXMLRemoveObjectsRequest ebXML)
focal_class.identifier: fromEbXML
focal_class.modifiers: public
focal_class.parameters: (EbXMLRemoveObjectsRequest ebXML)
focal_class.return: RemoveDocumentSet
focal_class.signature: RemoveDocumentSet fromEbXML(EbXMLRemoveObjectsRequest ebXML)
focal_class.class_method_signature: RemoveDocumentSetTransformer.createQuery(QueryType queryType)
focal_class.full_signature: private Query createQuery(QueryType queryType)
focal_class.identifier: createQuery
focal_class.modifiers: private
focal_class.parameters: (QueryType queryType)
focal_class.return: Query
focal_class.signature: Query createQuery(QueryType queryType)
focal_method.body: public RemoveDocumentSet fromEbXML(EbXMLRemoveObjectsRequest ebXML) {
          if (ebXML == null) {
              return null;
          }
  
          RemoveDocumentSet request = new RemoveDocumentSet();
          request.getReferences().addAll(ebXML.getReferences());
          request.setDeletionScope(ebXML.getDeletionScope());
  
          if (ebXML.getId() != null){
              String id = ebXML.getId();
              QueryType queryType = id == null ? QueryType.SQL : QueryType.valueOfId(id);
              if (queryType == null) {
                  return null;
              }
  
              Query query = createQuery(queryType);
              query.accept(new FromEbXMLVisitor(ebXML));
              request.setQuery(query);
          }
          return request;
      }
focal_method.class_method_signature: RemoveDocumentSetTransformer.fromEbXML(EbXMLRemoveObjectsRequest ebXML)
focal_method.full_signature: public RemoveDocumentSet fromEbXML(EbXMLRemoveObjectsRequest ebXML)
focal_method.identifier: fromEbXML
focal_method.invocations: addAll getReferences getReferences setDeletionScope getDeletionScope getId getId valueOfId createQuery accept setQuery
focal_method.modifiers: public
focal_method.parameters: (EbXMLRemoveObjectsRequest ebXML)
focal_method.return: RemoveDocumentSet
focal_method.signature: RemoveDocumentSet fromEbXML(EbXMLRemoveObjectsRequest ebXML)