test_class.declarator: transformer
test_class.modifier: private
test_class.original_string: private QueryRegistryTransformer transformer;
test_class.type: QueryRegistryTransformer
test_class.var_name: transformer
test_class.file: commons/ihe/xds/src/test/java/org/openehealth/ipf/commons/ihe/xds/core/transform/requests/QueryRegistryTransformerTest.java
test_class.identifier: QueryRegistryTransformerTest
test_case.body: @Test
      public void testFromEbXMLNull() {
          assertNull(transformer.fromEbXML(null));
      }
test_case.class_method_signature: QueryRegistryTransformerTest.testFromEbXMLNull()
test_case.full_signature: @Test public void testFromEbXMLNull()
test_case.identifier: testFromEbXMLNull
test_case.invocations: assertNull fromEbXML
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFromEbXMLNull()
focal_class.declarator: factory30 = new EbXMLFactory30()
focal_class.modifier: private final
focal_class.original_string: private final EbXMLFactory factory30 = new EbXMLFactory30();
focal_class.type: EbXMLFactory
focal_class.var_name: factory30
focal_class.declarator: factory21 = new EbXMLFactory21()
focal_class.modifier: private final
focal_class.original_string: private final EbXMLFactory factory21 = new EbXMLFactory21();
focal_class.type: EbXMLFactory
focal_class.var_name: factory21
focal_class.file: commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/core/transform/requests/QueryRegistryTransformer.java
focal_class.identifier: QueryRegistryTransformer
focal_class.class_method_signature: QueryRegistryTransformer.toEbXML(QueryRegistry request)
focal_class.full_signature: public EbXMLAdhocQueryRequest toEbXML(QueryRegistry request)
focal_class.identifier: toEbXML
focal_class.modifiers: public
focal_class.parameters: (QueryRegistry request)
focal_class.return: EbXMLAdhocQueryRequest
focal_class.signature: EbXMLAdhocQueryRequest toEbXML(QueryRegistry request)
focal_class.class_method_signature: QueryRegistryTransformer.fromEbXML(EbXMLAdhocQueryRequest ebXML)
focal_class.full_signature: public QueryRegistry fromEbXML(EbXMLAdhocQueryRequest ebXML)
focal_class.identifier: fromEbXML
focal_class.modifiers: public
focal_class.parameters: (EbXMLAdhocQueryRequest ebXML)
focal_class.return: QueryRegistry
focal_class.signature: QueryRegistry fromEbXML(EbXMLAdhocQueryRequest ebXML)
focal_class.class_method_signature: QueryRegistryTransformer.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_class.class_method_signature: QueryRegistryTransformer.createAdhocQueryRequest(Query query)
focal_class.full_signature: private EbXMLAdhocQueryRequest createAdhocQueryRequest(Query query)
focal_class.identifier: createAdhocQueryRequest
focal_class.modifiers: private
focal_class.parameters: (Query query)
focal_class.return: EbXMLAdhocQueryRequest
focal_class.signature: EbXMLAdhocQueryRequest createAdhocQueryRequest(Query query)
focal_method.body: public QueryRegistry fromEbXML(EbXMLAdhocQueryRequest ebXML) {
          if (ebXML == null) {
              return 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));
          
          QueryRegistry queryRegistry = new QueryRegistry(query);
          queryRegistry.setReturnType(QueryReturnType.valueOfCode(ebXML.getReturnType()));
  
          return queryRegistry;
      }
focal_method.class_method_signature: QueryRegistryTransformer.fromEbXML(EbXMLAdhocQueryRequest ebXML)
focal_method.full_signature: public QueryRegistry fromEbXML(EbXMLAdhocQueryRequest ebXML)
focal_method.identifier: fromEbXML
focal_method.invocations: getId valueOfId createQuery accept setReturnType valueOfCode getReturnType
focal_method.modifiers: public
focal_method.parameters: (EbXMLAdhocQueryRequest ebXML)
focal_method.return: QueryRegistry
focal_method.signature: QueryRegistry fromEbXML(EbXMLAdhocQueryRequest ebXML)