Package org.gedcomx.agent

Examples of org.gedcomx.agent.Agent


  public void toOrganization(Repository dqRepository, GedcomxConversionResult result) throws IOException {
    Marker repositoryContext = ConversionContext.getDetachedMarker(String.format("@%s@ REPO", dqRepository.getId()));
    ConversionContext.addReference(repositoryContext);
    try {
      Agent gedxOrganization = new Agent();

      CommonMapper.populateAgent(gedxOrganization
        , dqRepository.getId()
        , dqRepository.getName()
        , dqRepository.getAddress()
View Full Code Here


  public void toContributor(Submitter dqSubmitter, GedcomxConversionResult result) throws IOException {
    Marker submitterContext = ConversionContext.getDetachedMarker(String.format("@%s@ SUBM", dqSubmitter.getId()));
    ConversionContext.addReference(submitterContext);

    Agent gedxContributor = new Agent();

    CommonMapper.populateAgent(gedxContributor
        , dqSubmitter.getId()
        , dqSubmitter.getName()
        , dqSubmitter.getAddress()
View Full Code Here

TOP

Related Classes of org.gedcomx.agent.Agent

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.