Package org.gedcomx.conclusion

Examples of org.gedcomx.conclusion.NameForm


    assertEquals(result.getPersons().size(), 1);

    org.gedcomx.conclusion.Person person = result.getPersons().get(0);
    assertNotNull(person.getNames());
    assertEquals(person.getNames().size(), 1);
    NameForm nameForm = person.getNames().get(0).getNameForms().get(0);
    assertEquals(nameForm.getFullText(), "John Johnson");
    checkNamePartEquals(nameForm, "John", NamePartType.Given);
    checkNamePartEquals(nameForm, "Johnson", NamePartType.Surname);
    checkNamePartDoesNotExist(nameForm, NamePartType.Prefix);
    checkNamePartDoesNotExist(nameForm, NamePartType.Suffix);
  }
View Full Code Here


    assertEquals(result.getPersons().size(), 1);

    org.gedcomx.conclusion.Person person = result.getPersons().get(0);
    assertNotNull(person.getNames());
    assertEquals(person.getNames().size(), 1);
    NameForm nameForm = person.getNames().get(0).getNameForms().get(0);
    assertEquals(nameForm.getFullText(), "John Johnson");
    checkNamePartEquals(nameForm, "John", NamePartType.Given);
    checkNamePartEquals(nameForm, "Johnson", NamePartType.Surname);
    checkNamePartDoesNotExist(nameForm, NamePartType.Prefix);
    checkNamePartDoesNotExist(nameForm, NamePartType.Suffix);
  }
View Full Code Here

    assertEquals(result.getPersons().size(), 1);

    org.gedcomx.conclusion.Person person = result.getPersons().get(0);
    assertNotNull(person.getNames());
    assertEquals(person.getNames().size(), 1);
    NameForm nameForm = person.getNames().get(0).getNameForms().get(0);
    assertEquals(nameForm.getFullText(), "John Johnson");
    checkNamePartEquals(nameForm, "John", NamePartType.Given);
    checkNamePartEquals(nameForm, "Johnson", NamePartType.Surname);
    checkNamePartDoesNotExist(nameForm, NamePartType.Prefix);
    checkNamePartDoesNotExist(nameForm, NamePartType.Suffix);
  }
View Full Code Here

    assertEquals(result.getPersons().size(), 1);

    org.gedcomx.conclusion.Person person = result.getPersons().get(0);
    assertNotNull(person.getNames());
    assertEquals(person.getNames().size(), 1);
    NameForm nameForm = person.getNames().get(0).getNameForms().get(0);
    assertEquals(nameForm.getFullText(), "John Johnson");
    checkNamePartEquals(nameForm, "John", NamePartType.Given);
    checkNamePartEquals(nameForm, "Johnson", NamePartType.Surname);
    checkNamePartDoesNotExist(nameForm, NamePartType.Prefix);
    checkNamePartDoesNotExist(nameForm, NamePartType.Suffix);
  }
View Full Code Here

    assertEquals(result.getPersons().size(), 1);

    org.gedcomx.conclusion.Person person = result.getPersons().get(0);
    assertNotNull(person.getNames());
    assertEquals(person.getNames().size(), 1);
    NameForm nameForm = person.getNames().get(0).getNameForms().get(0);
    assertEquals(nameForm.getFullText(), "John Johnson");
    checkNamePartEquals(nameForm, "John", NamePartType.Given);
    checkNamePartEquals(nameForm, "Johnson", NamePartType.Surname);
    checkNamePartDoesNotExist(nameForm, NamePartType.Prefix);
    checkNamePartDoesNotExist(nameForm, NamePartType.Suffix);
  }
View Full Code Here

    assertEquals(result.getPersons().size(), 1);

    org.gedcomx.conclusion.Person person = result.getPersons().get(0);
    assertNotNull(person.getNames());
    assertEquals(person.getNames().size(), 1);
    NameForm nameForm = person.getNames().get(0).getNameForms().get(0);
    assertEquals(nameForm.getFullText(), "Johnson");
    checkNamePartDoesNotExist(nameForm, NamePartType.Given);
    checkNamePartEquals(nameForm, "Johnson", NamePartType.Surname);
    checkNamePartDoesNotExist(nameForm, NamePartType.Prefix);
    checkNamePartDoesNotExist(nameForm, NamePartType.Suffix);
  }
View Full Code Here

    assertEquals(result.getPersons().size(), 1);

    org.gedcomx.conclusion.Person person = result.getPersons().get(0);
    assertNotNull(person.getNames());
    assertEquals(person.getNames().size(), 1);
    NameForm nameForm = person.getNames().get(0).getNameForms().get(0);
    assertEquals(nameForm.getFullText(), "John Johnson");
    checkNamePartEquals(nameForm, "John", NamePartType.Given);
    checkNamePartEquals(nameForm, "Johnson", NamePartType.Surname);
    checkNamePartDoesNotExist(nameForm, NamePartType.Prefix);
    checkNamePartDoesNotExist(nameForm, NamePartType.Suffix);
  }
View Full Code Here

    assertEquals(result.getPersons().size(), 1);

    org.gedcomx.conclusion.Person person = result.getPersons().get(0);
    assertNotNull(person.getNames());
    assertEquals(person.getNames().size(), 1);
    NameForm nameForm = person.getNames().get(0).getNameForms().get(0);
    assertEquals(nameForm.getFullText(), "John Johnson Jr.");
    checkNamePartEquals(nameForm, "John", NamePartType.Given);
    checkNamePartEquals(nameForm, "Johnson", NamePartType.Surname);
    checkNamePartDoesNotExist(nameForm, NamePartType.Prefix);
    checkNamePartEquals(nameForm, "Jr.", NamePartType.Suffix);
  }
View Full Code Here

    assertEquals(result.getPersons().size(), 1);

    org.gedcomx.conclusion.Person person = result.getPersons().get(0);
    assertNotNull(person.getNames());
    assertEquals(person.getNames().size(), 1);
    NameForm nameForm = person.getNames().get(0).getNameForms().get(0);
    assertEquals(nameForm.getFullText(), "Johnson John");
    checkNamePartEquals(nameForm, "John", NamePartType.Given);
    checkNamePartEquals(nameForm, "Johnson", NamePartType.Surname);
    checkNamePartDoesNotExist(nameForm, NamePartType.Prefix);
    checkNamePartDoesNotExist(nameForm, NamePartType.Suffix);
  }
View Full Code Here

    assertEquals(result.getPersons().size(), 1);

    org.gedcomx.conclusion.Person person = result.getPersons().get(0);
    assertNotNull(person.getNames());
    assertEquals(person.getNames().size(), 1);
    NameForm nameForm = person.getNames().get(0).getNameForms().get(0);
    assertEquals(nameForm.getFullText(), "John Johnson");
    checkNamePartDoesNotExist(nameForm, NamePartType.Given);
    checkNamePartEquals(nameForm, "Johnson", NamePartType.Surname);
    checkNamePartDoesNotExist(nameForm, NamePartType.Prefix);
    checkNamePartDoesNotExist(nameForm, NamePartType.Suffix);
  }
View Full Code Here

TOP

Related Classes of org.gedcomx.conclusion.NameForm

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.