test_class.declarator: transformer
test_class.modifier: private
test_class.original_string: private RecipientTransformer transformer;
test_class.type: RecipientTransformer
test_class.var_name: transformer
test_class.declarator: recipient
test_class.modifier: private
test_class.original_string: private Recipient recipient;
test_class.type: Recipient
test_class.var_name: recipient
test_class.file: commons/ihe/xds/src/test/java/org/openehealth/ipf/commons/ihe/xds/core/transform/ebxml/RecipientTransformerTest.java
test_class.identifier: RecipientTransformerTest
test_case.body: @Test
      public void testFromEbXMLEmpty() {
          assertNull(transformer.fromEbXML(""));
      }
test_case.class_method_signature: RecipientTransformerTest.testFromEbXMLEmpty()
test_case.full_signature: @Test public void testFromEbXMLEmpty()
test_case.identifier: testFromEbXMLEmpty
test_case.invocations: assertNull fromEbXML
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFromEbXMLEmpty()
focal_class.file: commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/core/transform/ebxml/RecipientTransformer.java
focal_class.identifier: RecipientTransformer
focal_class.class_method_signature: RecipientTransformer.toEbXML(Recipient recipient)
focal_class.full_signature: public String toEbXML(Recipient recipient)
focal_class.identifier: toEbXML
focal_class.modifiers: public
focal_class.parameters: (Recipient recipient)
focal_class.return: String
focal_class.signature: String toEbXML(Recipient recipient)
focal_class.class_method_signature: RecipientTransformer.fromEbXML(String slotValue)
focal_class.full_signature: public Recipient fromEbXML(String slotValue)
focal_class.identifier: fromEbXML
focal_class.modifiers: public
focal_class.parameters: (String slotValue)
focal_class.return: Recipient
focal_class.signature: Recipient fromEbXML(String slotValue)
focal_method.body: public Recipient fromEbXML(String slotValue) {
          if (slotValue == null || slotValue.isEmpty()) {
              return null;
          }
          
          Recipient recipient = new Recipient();
  
          String[] parts = slotValue.split("\\|");
          recipient.setOrganization(Hl7v2Based.parse(parts[0], Organization.class));
          if (parts.length > 1) {
              recipient.setPerson(Hl7v2Based.parse(parts[1], Person.class));
          }
          if (parts.length > 2) {
              recipient.setTelecom(Hl7v2Based.parse(parts[2], Telecom.class));
          }
  
          return recipient;
      }
focal_method.class_method_signature: RecipientTransformer.fromEbXML(String slotValue)
focal_method.full_signature: public Recipient fromEbXML(String slotValue)
focal_method.identifier: fromEbXML
focal_method.invocations: isEmpty split setOrganization parse setPerson parse setTelecom parse
focal_method.modifiers: public
focal_method.parameters: (String slotValue)
focal_method.return: Recipient
focal_method.signature: Recipient fromEbXML(String slotValue)