Examples of addName()


Examples of org.eclipse.cdt.core.dom.ast.cpp.ICPPASTQualifiedName.addName()

    return f.newName(simpleName.getIdentifier().toCharArray());
  }

  private IASTName convertQualifiedName(final QualifiedName qualifiedName) {
    final ICPPASTQualifiedName iastQualifiedName = f.newQualifiedName();
    iastQualifiedName.addName(new NameInfo(qualifiedName.getQualifier()).name);
    iastQualifiedName.addName(new NameInfo(qualifiedName.getName()).name);
    return iastQualifiedName;
  }

  public IASTName getName() {
View Full Code Here

Examples of org.exolab.castor.mapping.xml.Sql.addName()

        idFM.setSetMethod("setId");
        idFM.setGetMethod("getId");
        idFM.setType("integer");

        Sql idSql = new Sql();
        idSql.addName("id");
        idSql.setType("integer");

        idFM.setSql(idSql);

        // Add field mappings
View Full Code Here

Examples of org.geotools.filter.Capabilities.addName()

        //
        capabilities.addAll(Capabilities.SIMPLE_COMPARISONS);

        // Add special comparators
        //
        capabilities.addName(PropertyIsNull.NAME);

        // Add spatial operations
        //
        capabilities.addName(BBOX.NAME);
        capabilities.addName(Equals.NAME);
View Full Code Here

Examples of org.jfree.fonts.registry.DefaultFontFamily.addName()

    alternateFamilyNames.put(familyName, fontFamily);

    for (int i = 0; i < allNames.length; i++)
    {
      final String name = allNames[i];
      fontFamily.addName(name);
      alternateFamilyNames.put(name, fontFamily);
    }

    final String[] allFullNames = table.getAllNames(NameTable.NAME_FULLNAME);
    for (int i = 0; i < allFullNames.length; i++)
View Full Code Here

Examples of org.monjo.example.ListWithin.addName()

  }

  @Test
  public void shouldSaveElementWithStringList(){
    ListWithin pojo = new ListWithin();
    pojo.addName(42);
    pojo.addName(43);
   
    Monjo<ObjectId, ListWithin> monjo = new Monjo<ObjectId, ListWithin>(getMongoDB(), ListWithin.class);
    ObjectId objectId = monjo.save(pojo);
    ListWithin listWithin = monjo.findOne(objectId);
View Full Code Here

Examples of org.ontoware.semweb4j.lessons.lesson5.gen.Person.addName()

    // via lesson5.gen package (generated by rdfreactor)
    Person max = new Person(model, "http://xam.de/foaf.rdf.xml#i");
    Person konrad = new Person(model);

    max.addName("Max Völkel");
    konrad.addName("Konrad Völkel");
    max.addKnows(konrad);

    Tag java = new Tag(model);
    Tag python = new Tag(model);
    java.addName("Java related");
View Full Code Here

Examples of org.ontoware.semweb4j.lessons.lesson5.gen.Tag.addName()

    max.addKnows(konrad);

    Tag java = new Tag(model);
    Tag python = new Tag(model);
    java.addName("Java related");
    python.addName("Python related");
    python.addName("pythonic stuff");

    max.addTag(java);
    konrad.addTag(python);
View Full Code Here

Examples of org.openmrs.Concept.addName()

        Concept concept1 = new Concept();
        concept1.setConceptId(1);
        ConceptName concept1Name = new ConceptName();
        concept1Name.setName("concept1");
        concept1.addName(concept1Name);
        conceptList.add(concept1);

        Concept concept2 = new Concept();
        concept2.setConceptId(2);
        ConceptName concept2Name = new ConceptName();
View Full Code Here

Examples of org.openmrs.Patient.addName()

        name.setUuid(UUID.randomUUID().toString());
      }
     
     
      name.setPreferred(true);
      patient.addName(name);
    }

    if (genderWidget != null) {
      String value = (String) genderWidget.getValue(context, request);
      patient.setGender(value);
View Full Code Here

Examples of org.openmrs.Person.addName()

    initUserController();
    validatePost(post);
    Person person = new Person();
    PersonName name = new PersonName(post.get("firstName").toString(), null, post.get("lastName").toString());
    name.setPreferred(true);
    person.addName(name);
    person.setGender(post.get("gender").toString());
    Location location = Context.getLocationService().getLocationByUuid(post.get("location").toString());
    if (location == null) {
      throw new ResponseException(
                                  "Location uuid not found") {};
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.