Examples of addName()


Examples of org.pentaho.reporting.libraries.fonts.registry.DefaultFontFamily.addName()

    final String[] allNames = table.getAllNames(NameTable.NAME_FAMILY);
    final int nameCount = allNames.length;
    for (int i = 0; i < nameCount; i++)
    {
      final String name = allNames[i];
      fontFamily.addName(name);
      registerAlternativeName(name, fontFamily);
    }

    final String[] allFullNames = table.getAllNames(NameTable.NAME_FULLNAME);
    final int allNameCount = allFullNames.length;
View Full Code Here

Examples of uk.ac.osswatch.simal.model.IOrganisation.addName()

   
    @Test
    public void testAddName() throws SimalRepositoryException {
      IOrganisation org = SimalRepositoryFactory.getOrganisationService().get("http://www.test.com/Organization");
      String name = "Test Name";
      org.addName(name);
      assertEquals("Name is not as expected after adding new name", name, org.getDefaultName());
    }
 
    @Test
    public void testAddCurrentProject() throws SimalRepositoryException {
View Full Code Here

Examples of uk.ac.osswatch.simal.model.IProject.addName()

      URISyntaxException {
    String uri = RDFUtils.PROJECT_NAMESPACE_URI + "TestingProjectFromScratch";
    IProject project;
    try {
      project = SimalRepositoryFactory.getProjectService().createProject(uri);
      project.addName("Testing");
      project.setShortDesc("Just testing adding a manually built project");

      project = SimalRepositoryFactory.getProjectService().getProject(uri);
      assertNotNull("Project has not been added to repository", project);
      assertEquals("Project name is incorrectly set", "Testing", project
View Full Code Here

Examples of uk.nhs.interoperability.payloads.templates.ChildPatientUniversal.addName()

                .setNHSNoTraceStatus(fields.getPatientNHSNoTraceStatus().code));
   
    if (fields.getPatientAddress() != null) {
      template.addAddress(fields.getPatientAddress());
    }
    template.addName(fields.getPatientName());
    template.setGender(fields.getPatientGender());
    template.setDateOfBirth(fields.getPatientBirthDate());
   
    // Guardian
    if (guardian) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.