Package org.gedcomx.source

Examples of org.gedcomx.source.SourceDescription


    SourceDescriptionMapper mapper = new SourceDescriptionMapper();

    mapper.toSourceDescription(dqSource, result);
    assertNotNull(result.getSourceDescriptions());
    assertEquals(result.getSourceDescriptions().size(), 1);
    SourceDescription gedxSourceDescription = result.getSourceDescriptions().get(0);
    assertNotNull(gedxSourceDescription);
    assertEquals(gedxSourceDescription.getId(), "SOUR1");
    assertNotNull(gedxSourceDescription.getCitation());
    assertEquals(gedxSourceDescription.getCitation().getValue(), "Brugge (West Vlaanderen). Burgerlijke Stand, Registers van de Burgerlijke Stand, 1796-1900, Salt Lake City, Utah : Filmed by the Genealogical Society of Utah, 1981-1995, https://www.familysearch.org/search/catalog/show?uri=http%3A%2F%2Fcatalog-search-api%3A8080%2Fwww-catalogapi-webservice%2Fitem%2F21034.");
    assertEquals(gedxSourceDescription.getCitation().getCitationTemplate().getResource().toString(), "gedcom5:citation-template");
    assertNotNull(gedxSourceDescription.getCitation().getFields());
    assertEquals(gedxSourceDescription.getCitation().getFields().size(), 4);
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getName().toURI().toString(), "gedcom5:citation-template/author");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getValue(), "Brugge (West Vlaanderen). Burgerlijke Stand");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(1).getName().toURI().toString(), "gedcom5:citation-template/title");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(1).getValue(), "Registers van de Burgerlijke Stand, 1796-1900");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(2).getName().toURI().toString(), "gedcom5:citation-template/publication-facts");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(2).getValue(), "Salt Lake City, Utah : Filmed by the Genealogical Society of Utah, 1981-1995");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(3).getName().toURI().toString(), "gedcom5:citation-template/call-number");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(3).getValue(), "https://www.familysearch.org/search/catalog/show?uri=http%3A%2F%2Fcatalog-search-api%3A8080%2Fwww-catalogapi-webservice%2Fitem%2F21034");
    assertNull(gedxSourceDescription.getAbout());
    assertEquals(gedxSourceDescription.getMediator().getResource().toURI().toString(), "#REPO1");
    assertNull(gedxSourceDescription.getSources());
    assertNull(gedxSourceDescription.getComponentOf());
    assertEquals(gedxSourceDescription.getTitle().getValue(), "Civil Registration");
    assertNull(gedxSourceDescription.getAttribution());
    assertNull(gedxSourceDescription.getNotes());
//    assertNotNull(gedxSourceDescription.getNotes());
//    assertEquals(gedxSourceDescription.getNotes().size(), 1);
//    assertEquals(gedxSourceDescription.getNotes().get(0).getText().getValue()
//      , "Microfilm genomen van de originele in het Gerechtshof te Brugge.\n" +
//        "\n" +
//        "Tekst in het Frans voor 1815.\n" +
//        "\n" +
//        "Met index.\n" +
//        "\n" +
//        "Tienjarige tafels op geboorten, huwelijken en overlijdens 1803-1813 zie Film 1226168 item 2. 1803-1813 1226169 item 1-2 1813-1823 1226173 item 2 " +
//        "1823-1832 1226175 item 4. 1823-1832 1226176 item 1 1833-1842 1226179 item 1-2 1843-1850 1226182 item 3-4. 1850-1860 1226185 item 3. " +
//        "1850-1860 1226236 item 1 1860-1870 1226239 item 3. 1860-1870 1226240 item 1-2 1871-1880 1358895 item 2 1881-1890 1383016 item 3. " +
//        "Geboorten, huwelijken 1881-1890 1383017 item 1 Overlijdens 1891-1900 1383021 item 2\n" +
//        "\n" +
//        "Civil registration of births, marriages and deaths of Brugge, West Flanders, Belgium. Includes marriage proclamations, indexes, and supplements. Text in French before 1815.");
    assertNull(gedxSourceDescription.getExtensionElements());
  }
View Full Code Here


    SourceDescriptionMapper mapper = new SourceDescriptionMapper();

    mapper.toSourceDescription(dqSource, result);
    assertNotNull(result.getSourceDescriptions());
    assertEquals(result.getSourceDescriptions().size(), 1);
    SourceDescription gedxSourceDescription = result.getSourceDescriptions().get(0);
    assertNotNull(gedxSourceDescription);
    assertEquals(gedxSourceDescription.getId(), "SOUR2");
    assertNotNull(gedxSourceDescription.getCitation());
    assertEquals(gedxSourceDescription.getCitation().getValue(), "__callno__, __callno__specdeviation__.");
    assertEquals(gedxSourceDescription.getCitation().getCitationTemplate().getResource().toString(), "gedcom5:citation-template");
    assertNotNull(gedxSourceDescription.getCitation().getFields());
    assertEquals(gedxSourceDescription.getCitation().getFields().size(), 2);
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getName().toURI().toString(), "gedcom5:citation-template/call-number");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getValue(), "__callno__");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(1).getName().toURI().toString(), "gedcom5:citation-template/call-number");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(1).getValue(), "__callno__specdeviation__");
    assertNull(gedxSourceDescription.getAbout());
    assertEquals(gedxSourceDescription.getMediator().getResource().toURI().toString(), CommonMapper.getOrganizationReference(gedxSourceDescription.getId() + ".REPO"));
    assertNull(gedxSourceDescription.getSources());
    assertNull(gedxSourceDescription.getComponentOf());
    assertNull(gedxSourceDescription.getTitles());
    assertNull(gedxSourceDescription.getAttribution());
    assertNull(gedxSourceDescription.getNotes());
    assertNull(gedxSourceDescription.getExtensionElements());

    assertNotNull(result.getOrganizations());
    assertEquals(result.getOrganizations().size(), 1);
    Agent gedxOrganization = result.getOrganizations().get(0);
    assertNotNull(gedxOrganization);
    assertEquals(gedxOrganization.getId(), gedxSourceDescription.getId() + ".REPO");
    assertNotNull(gedxOrganization.findExtensionsOfType(Note.class));
    assertEquals(gedxOrganization.findExtensionsOfType(Note.class).size(), 1);
    assertEquals(gedxOrganization.findExtensionsOfType(Note.class).get(0).getText(), "__sour2_inline_2__");
  }
View Full Code Here

    SourceDescriptionMapper mapper = new SourceDescriptionMapper();

    mapper.toSourceDescription(dqSource, result);
    assertNotNull(result.getSourceDescriptions());
    assertEquals(result.getSourceDescriptions().size(), 1);
    SourceDescription gedxSourceDescription = result.getSourceDescriptions().get(0);
    assertNotNull(gedxSourceDescription);
    assertEquals(gedxSourceDescription.getId(), "SOUR18");
    assertNotNull(gedxSourceDescription.getCitation());
    assertEquals(gedxSourceDescription.getCitation().getValue(), "__sour18_titl__.");
    assertEquals(gedxSourceDescription.getCitation().getCitationTemplate().getResource().toURI().toString(), "gedcom5:citation-template");
    assertNotNull(gedxSourceDescription.getCitation().getFields());
    assertEquals(gedxSourceDescription.getCitation().getFields().size(), 1);
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getName().toURI().toString(), "gedcom5:citation-template/title");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getValue(), "__sour18_titl__");
    assertNull(gedxSourceDescription.getAbout());
    assertEquals(gedxSourceDescription.getMediator().getResource().toURI().toString(), "#REPO1");
    assertNull(gedxSourceDescription.getSources());
    assertNull(gedxSourceDescription.getComponentOf());
    assertEquals(gedxSourceDescription.getTitle().getValue(), "__sour18_titl__");
    assertNull(gedxSourceDescription.getAttribution());
    assertNull(gedxSourceDescription.getNotes());
    assertNull(gedxSourceDescription.getExtensionElements());
  }
View Full Code Here

    SourceDescriptionMapper mapper = new SourceDescriptionMapper();

    mapper.toSourceDescription(dqSource, result);
    assertNotNull(result.getSourceDescriptions());
    assertEquals(result.getSourceDescriptions().size(), 1);
    SourceDescription gedxSourceDescription = result.getSourceDescriptions().get(0);
    assertNotNull(gedxSourceDescription);
    assertEquals(gedxSourceDescription.getId(), "SOUR19");
    assertNotNull(gedxSourceDescription.getCitation());
    assertEquals(gedxSourceDescription.getCitation().getValue(), "__sour19_titl__.");
    assertEquals(gedxSourceDescription.getCitation().getCitationTemplate().getResource().toURI().toString(), "gedcom5:citation-template");
    assertNotNull(gedxSourceDescription.getCitation().getFields());
    assertEquals(gedxSourceDescription.getCitation().getFields().size(), 1);
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getName().toURI().toString(), "gedcom5:citation-template/title");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getValue(), "__sour19_titl__");
    assertNull(gedxSourceDescription.getAbout());
    assertNull(gedxSourceDescription.getMediator());
    assertNull(gedxSourceDescription.getSources());
    assertNull(gedxSourceDescription.getComponentOf());
    assertEquals(gedxSourceDescription.getTitle().getValue(), "__sour19_titl__");
    assertNull(gedxSourceDescription.getAttribution());
    assertNull(gedxSourceDescription.getNotes());
    assertNull(gedxSourceDescription.getExtensionElements());
  }
View Full Code Here

    SourceDescriptionMapper mapper = new SourceDescriptionMapper();

    mapper.toSourceDescription(dqSource, result);
    assertNotNull(result.getSourceDescriptions());
    assertEquals(result.getSourceDescriptions().size(), 1);
    SourceDescription gedxSourceDescription = result.getSourceDescriptions().get(0);
    assertNotNull(gedxSourceDescription);
    assertEquals(gedxSourceDescription.getId(), "SOUR20");
    assertNotNull(gedxSourceDescription.getCitation());
    assertEquals(gedxSourceDescription.getCitation().getValue(), "__sour20_titl__.");
    assertEquals(gedxSourceDescription.getCitation().getCitationTemplate().getResource().toString(), "gedcom5:citation-template");
    assertNotNull(gedxSourceDescription.getCitation().getFields());
    assertEquals(gedxSourceDescription.getCitation().getFields().size(), 1);
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getName().toURI().toString(), "gedcom5:citation-template/title");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getValue(), "__sour20_titl__");
    assertNull(gedxSourceDescription.getAbout());
    assertNull(gedxSourceDescription.getMediator());
    assertNull(gedxSourceDescription.getSources());
    assertNull(gedxSourceDescription.getComponentOf());
    assertEquals(gedxSourceDescription.getTitle().getValue(), "__sour20_titl__");
    assertNull(gedxSourceDescription.getAttribution());
    assertNull(gedxSourceDescription.getNotes());
    assertNull(gedxSourceDescription.getExtensionElements());
    // result of the CHAN tag
  }
View Full Code Here

        assertNull(gedxSourceReference.getExtensionElements());
      }
    }
    assertNotNull(result.getSourceDescriptions());
    assertEquals(result.getSourceDescriptions().size(), 1);
    SourceDescription gedxSourceDescription = result.getSourceDescriptions().get(0);
    assertNotNull(gedxSourceDescription);
    assertEquals(gedxSourceDescription.getId(), generatedId);
    assertNotNull(gedxSourceDescription.getCitation());
    assertEquals(gedxSourceDescription.getCitation().getValue(), "31 Jan 1820, FHL INTL Film 1226427, Geboorten, 1820, No. 143");
    assertEquals(gedxSourceDescription.getCitation().getCitationTemplate().getResource().toURI().toString(), "gedcom5:citation-template");
    assertNotNull(gedxSourceDescription.getCitation().getFields());
    assertEquals(gedxSourceDescription.getCitation().getFields().size(), 2);
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getName().toURI().toString(), "gedcom5:citation-template/date");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(0).getValue(), "31 Jan 1820");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(1).getName().toURI().toString(), "gedcom5:citation-template/page");
    assertEquals(gedxSourceDescription.getCitation().getFields().get(1).getValue(), "FHL INTL Film 1226427, Geboorten, 1820, No. 143");
    assertNull(gedxSourceDescription.getAbout());
    assertNull(gedxSourceDescription.getMediator());
    assertNull(gedxSourceDescription.getSources());
    assertEquals(gedxSourceDescription.getComponentOf().getDescriptionRef().toURI().toString(), "#SOUR1");
    assertNull(gedxSourceDescription.getTitle());
    assertNull(gedxSourceDescription.getAttribution());
    assertNull(gedxSourceDescription.getNotes());
    assertNull(gedxSourceDescription.getExtensionElements());
  }
View Full Code Here

        assertNull(gedxSourceReference.getAttribution());
      }
    }
    assertNotNull(result.getSourceDescriptions());
    assertEquals(result.getSourceDescriptions().size(), 1);
    SourceDescription gedxSourceDescription = result.getSourceDescriptions().get(0);
    assertNotNull(gedxSourceDescription);
    assertEquals(gedxSourceDescription.getId(), generatedId);
    assertNotNull(gedxSourceDescription.getCitation());
    assertEquals(gedxSourceDescription.getCitation().getValue(), "\"Germany, Births and Baptisms, 1558-1898,\" index, FamilySearch (https://familysearch.org/pal:/MM9.1.1/VHQB-CHW :accessed 22 May 2012), Joannes Baptista Louwart.");
    assertNull(gedxSourceDescription.getCitation().getCitationTemplate());
    assertNotNull(gedxSourceDescription.getCitation().getFields());
    assertEquals(gedxSourceDescription.getCitation().getFields().size(), 0);
    assertNull(gedxSourceDescription.getAbout());
    assertNull(gedxSourceDescription.getMediator());
    assertNull(gedxSourceDescription.getSources());
    assertNull(gedxSourceDescription.getComponentOf());
    assertNull(gedxSourceDescription.getTitles());
    assertNull(gedxSourceDescription.getAttribution());
    assertNull(gedxSourceDescription.getNotes());
    assertNull(gedxSourceDescription.getExtensionElements());
  }
View Full Code Here

    assertNull(gedxSourceReference.getAttribution());
    assertNull(gedxSourceReference.getExtensionElements());

    assertNotNull(result.getSourceDescriptions());
    assertEquals(result.getSourceDescriptions().size(), 1);
    SourceDescription gedxSourceDescription = result.getSourceDescriptions().get(0);
    assertNotNull(gedxSourceDescription);
    assertEquals(gedxSourceDescription.getId(), generatedId);
    assertNotNull(gedxSourceDescription.getCitation());
    assertEquals(gedxSourceDescription.getCitation().getValue(), "__SOUR_JoannesBaptistaLouwaert__");
    assertNull(gedxSourceDescription.getCitation().getCitationTemplate());
    assertNotNull(gedxSourceDescription.getCitation().getFields());
    assertEquals(gedxSourceDescription.getCitation().getFields().size(), 0);
    assertNull(gedxSourceDescription.getAbout());
    assertNull(gedxSourceDescription.getMediator());
    assertNull(gedxSourceDescription.getSources());
    assertNull(gedxSourceDescription.getComponentOf());
    assertNull(gedxSourceDescription.getTitles());
    assertNull(gedxSourceDescription.getAttribution());
    assertNull(gedxSourceDescription.getNotes());
    assertNull(gedxSourceDescription.getExtensionElements());
  }
View Full Code Here

  public void toSourceDescription(Source dqSource, GedcomxConversionResult result) throws IOException {
    Marker sourceContext = ConversionContext.getDetachedMarker(String.format("@%s@ SOUR", dqSource.getId()));
    ConversionContext.addReference(sourceContext);
    try {
      SourceDescription gedxSourceDescription = new SourceDescription();
      gedxSourceDescription.setId(dqSource.getId());

      if (dqSource.getAbbreviation() != null) {
        gedxSourceDescription.setTitles(Arrays.asList(new TextValue(dqSource.getAbbreviation())));
      }
      else if (dqSource.getTitle() != null) {
        gedxSourceDescription.setTitles(Arrays.asList(new TextValue(dqSource.getTitle())));
      }

      org.gedcomx.source.SourceCitation citation = new org.gedcomx.source.SourceCitation();
      citation.setCitationTemplate(new ResourceReference(URI.create("gedcom5:citation-template")));
      citation.setFields(new ArrayList<CitationField>());
      citation.setValue("");

      if (dqSource.getAuthor() != null) {
        CitationField field = new CitationField();
        field.setName(URI.create("gedcom5:citation-template/author"));
        field.setValue(dqSource.getAuthor());
        citation.getFields().add(field);
        citation.setValue(citation.getValue() + (citation.getValue().length() > 0 ? ", " + dqSource.getAuthor() : dqSource.getAuthor()));
      }

      if (dqSource.getTitle() != null) {
        CitationField field = new CitationField();
        field.setName(URI.create("gedcom5:citation-template/title"));
        field.setValue(dqSource.getTitle());
        citation.getFields().add(field);
        citation.setValue(citation.getValue() + (citation.getValue().length() > 0 ? ", " + dqSource.getTitle() : dqSource.getTitle()));
      }

      if (dqSource.getPublicationFacts() != null) {
        CitationField field = new CitationField();
        field.setName(URI.create("gedcom5:citation-template/publication-facts"));
        field.setValue(dqSource.getPublicationFacts());
        citation.getFields().add(field);
        citation.setValue(citation.getValue() + (citation.getValue().length() > 0 ? ", " + dqSource.getPublicationFacts() : dqSource.getPublicationFacts()));
      }

      if (dqSource.getText() != null) {
        logger.warn(ConversionContext.getContext(), "GEDCOM X does not currently support text extracted from a source.");
      }

      if (dqSource.getRepositoryRef() != null) {
        Marker repoContext = ConversionContext.getDetachedMarker("REPO");
        ConversionContext.addReference(repoContext);
        try {
          RepositoryRef dqRepositoryRef = dqSource.getRepositoryRef();
          if (dqRepositoryRef.getRef() != null) {
            gedxSourceDescription.setMediator(new ResourceReference(URI.create(CommonMapper.getOrganizationReference(dqRepositoryRef.getRef()))));
            // TODO: map NOTEs as another note associated with this SourceDescription
          }
          else {
            String inlineRepoId = dqSource.getId() + ".REPO";
            Agent gedxOrganization = new Agent();
            gedxOrganization.setId(inlineRepoId);
            for (Note dqNote : dqRepositoryRef.getNotes()) {
              org.gedcomx.common.Note gedxNote = new org.gedcomx.common.Note();
              gedxNote.setText(dqNote.getValue());
              gedxOrganization.addExtensionElement(gedxNote);
            }
            for (NoteRef dqNoteRef : dqRepositoryRef.getNoteRefs()) {
              logger.warn(ConversionContext.getContext(), "Unable to associate a note ({}) with the inline-defined organization ({})", dqNoteRef.getRef(), inlineRepoId);
            }
            result.addOrganization(gedxOrganization);
            gedxSourceDescription.setMediator(new ResourceReference(URI.create(CommonMapper.getOrganizationReference(inlineRepoId))));
          }

          if (dqRepositoryRef.getCallNumber() != null) {
            CitationField field = new CitationField();
            field.setName(URI.create("gedcom5:citation-template/call-number"));
            field.setValue(dqRepositoryRef.getCallNumber());
            citation.getFields().add(field);
            citation.setValue(citation.getValue() + (citation.getValue().length() > 0 ? ", " + dqRepositoryRef.getCallNumber() : dqRepositoryRef.getCallNumber()));
          }
        }
        finally {
          ConversionContext.removeReference(repoContext);
        }
      }

      if (dqSource.getCallNumber() != null) {
        CitationField field = new CitationField();
        field.setName(URI.create("gedcom5:citation-template/call-number"));
        field.setValue(dqSource.getCallNumber());
        citation.getFields().add(field);
        citation.setValue(citation.getValue() + (citation.getValue().length() > 0 ? ", " + dqSource.getCallNumber() : dqSource.getCallNumber()));
      }

      if (citation.getValue().length() > 0) {
        citation.setValue(citation.getValue() + '.');
        gedxSourceDescription.setCitations(Arrays.asList(citation));
      }

      // dqSource.getMediaType();  // nothing equivalent in the GEDCOM X model

      int cntNotes = dqSource.getNotes().size() + dqSource.getNoteRefs().size();
View Full Code Here

      Marker sourceContext = ConversionContext.getDetachedMarker("SOUR." + (++index));
      ConversionContext.addReference(sourceContext);
      try {
        boolean sourceDescriptionHasData = false;
        boolean sourceReferenceHasData = false;
        SourceDescription gedxSourceDescription = new SourceDescription();

        org.gedcomx.source.SourceCitation citation = new org.gedcomx.source.SourceCitation();
        citation.setCitationTemplate(new ResourceReference(URI.create("gedcom5:citation-template")));
        citation.setFields(new ArrayList<CitationField>());
        citation.setValue("");

        if (dqSource.getRef() != null) {
          gedxSourceDescription.setId(dqSource.getRef() + "-" + Long.toHexString(SequentialIdentifierGenerator.getNextId()));

          SourceReference componentOf = new SourceReference();
          componentOf.setDescriptionRef(URI.create(CommonMapper.getSourceDescriptionReference(dqSource.getRef())));
          gedxSourceDescription.setComponentOf(componentOf);
          sourceDescriptionHasData = true;

          if (dqSource.getDate() != null) {
            CitationField field = new CitationField();
            field.setName(URI.create("gedcom5:citation-template/date"));
            field.setValue(dqSource.getDate());
            citation.getFields().add(field);
            citation.setValue(citation.getValue() + (citation.getValue().length() > 0 ? ", " + dqSource.getDate() : dqSource.getDate()));
          }

          if (dqSource.getPage() != null) {
            CitationField field = new CitationField();
            field.setName(URI.create("gedcom5:citation-template/page"));
            field.setValue(dqSource.getPage());
            citation.getFields().add(field);
            citation.setValue(citation.getValue() + (citation.getValue().length() > 0 ? ", " + dqSource.getPage() : dqSource.getPage()));
          }
        } else if (dqSource.getValue() != null) {
          gedxSourceDescription.setId("SOUR-" + Long.toHexString(SequentialIdentifierGenerator.getNextId()));

          citation.setValue(dqSource.getValue());
          citation.setCitationTemplate(null);
          sourceDescriptionHasData = true;
        }

        String entryName = CommonMapper.getSourceDescriptionReference(gedxSourceDescription.getId());
        SourceReference gedxSourceReference = new SourceReference();
        gedxSourceReference.setDescriptionRef(URI.create(entryName));

        if (dqSource.getText() != null) {
          logger.warn(ConversionContext.getContext(), "GEDCOM X does not currently support text extracted from a source.");
          // dqSource.getText(); // see GEDCOM X issue 121 // TODO: address when the associated issue is resolved; log for now
          // sourceDescriptionHasData = true;
        }

        ConfidenceLevel gedxConfidenceLevel = toConfidenceLevel(dqSource.getQuality());
        if (gedxConfidenceLevel != null) {
          //todo: confidence level on source reference?
          sourceReferenceHasData = true;
        }

        int cntNotes = dqSource.getNotes().size() + dqSource.getNoteRefs().size();
        if (cntNotes > 0) {
          logger.warn(ConversionContext.getContext(), "Did not process {} notes or references to notes.", cntNotes);
        }

        int cntMedia = dqSource.getMedia().size() + dqSource.getMediaRefs().size();
        if (cntMedia > 0) {
          logger.warn(ConversionContext.getContext(), "Did not process {} media items or references to media items.", cntMedia);
        }

        if (sourceDescriptionHasData) {
          gedxSourceDescription.setCitations(Arrays.asList(citation));
          result.addSourceDescription(gedxSourceDescription);
          sourceReferenceHasData = true;
        }

        if (sourceReferenceHasData) {
View Full Code Here

TOP

Related Classes of org.gedcomx.source.SourceDescription

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.