Examples of Name


Examples of com.sun.xml.registry.uddi.bindings_v2_2.Name

    /**
     * Create an instance of {@link Name }
     *
     */
    public Name createName() {
        return new Name();
    }
View Full Code Here

Examples of com.thaiopensource.xml.util.Name

                + "\u201d for attribute \u201c" + attributeName
                + "\u201d on element \u201c" + elementName + "\u201d: "
                + message, locator);
        Html5DatatypeException ex5 = new Html5DatatypeException(0,
                datatypeClass, "attribute", message, warning);
        this.element = new Name(uri, elementName);
        this.attributeName = new Name("", attributeName);
        this.attributeValue = attributeValue;
        this.exceptions = new HashMap<String, DatatypeException>();
        this.exceptions.put("", ex5);
    }
View Full Code Here

Examples of com.threerings.util.Name

        // if we're the inviter, do some inviting
        if (_body.username.equals("inviter")) {
            // send the invitation
            TestConfig config = new TestConfig();
            _pardtr.invite(new Name("invitee"), config, this);
        }
    }
View Full Code Here

Examples of com.titan.customer.Name

          CruiseLocal cruise, CabinLocal cabin,
          double amount)
  throws javax.ejb.FinderException, java.rmi.RemoteException, 
       javax.naming.NamingException {
   
    Name custname = customer.getName();
        System.out.println("Got customer Name");

    description = custname.getFirstName()+
       " " + custname.getLastName() +
       " has been booked for the "
       + cruise.getName() +
       " cruise on ship " +
       cruise.getShip().getName() + ".\n"
       " Your accommodations include " +
View Full Code Here

Examples of com.twitter.elephantbird.thrift.test.Name

    PhoneNumber ph = new PhoneNumber();
    ph.setNumber("415-555-5555");
    ph.setType(PhoneType.HOME);
    assertEquals("415-555-5555,HOME", toTuple(type, ph).toDelimitedString(","));

    Person person = new Person(new Name("bob", "jenkins"), 42, "foo@bar.com", Lists.newArrayList(ph));
    assertEquals("(bob,jenkins),42,foo@bar.com,{(415-555-5555,HOME)}", toTuple(type, person).toDelimitedString(","));

    // test Enum map
    TestPerson testPerson = new TestPerson(
                                  new TestName("bob", "jenkins"),
View Full Code Here

Examples of cpw.mods.fml.relauncher.IFMLLoadingPlugin.Name

        try
        {
            FMLRelaunchLog.fine("Instantiating coremod class %s", coreModName);
            classLoader.addTransformerExclusion(coreModClass);
            Class<?> coreModClazz = Class.forName(coreModClass, true, classLoader);
            Name coreModNameAnn = coreModClazz.getAnnotation(IFMLLoadingPlugin.Name.class);
            if (coreModNameAnn != null && !Strings.isNullOrEmpty(coreModNameAnn.value()))
            {
                coreModName = coreModNameAnn.value();
                FMLRelaunchLog.finer("coremod named %s is loading", coreModName);
            }
            MCVersion requiredMCVersion = coreModClazz.getAnnotation(IFMLLoadingPlugin.MCVersion.class);
            if (!Arrays.asList(rootPlugins).contains(coreModClass) && (requiredMCVersion == null || Strings.isNullOrEmpty(requiredMCVersion.value())))
            {
View Full Code Here

Examples of de.archivator.entities.Name

        // ein Name von beiden ist gesetzt
        q.setParameter("nachname", lastName);
        q.setParameter("vorname", firstName);
        @SuppressWarnings("unchecked")
        List<Name> selectedNames = q.getResultList();
        Name name;
        if (selectedNames.size() == 0) {
          // Name ist neu in der Datenbank
          name = new Name(lastName, firstName);
        } else {
          name = selectedNames.get(0);
        }
        if (!archivaleNames.contains(name)) {
          name = entityManager.merge(name);
          archivaleNames.add(name);
          List<Archivale> archivalien = name.getArchivalien();
          archivalien.add(aktuellesArchivale);
        }
        name.setMarked(true);
      }
    }
    for (int i = archivaleNames.size(); i > 0; i--) {
      Name archivaleName = archivaleNames.get(i - 1);
      if (!archivaleName.isMarked()) {
        archivaleName.getArchivalien().remove(aktuellesArchivale);
        archivaleNames.remove(i - 1);
      }
    }

    // speichere in den Compass-Index
View Full Code Here

Examples of demoapp.domain.Name

            } catch (Exception ex) {
              if (logger.isInfoEnabled()) logger.info("Could not generate images data (person crud widget): " + ex.getMessage());
            }
            List<Sex> sex = dao.findByNamedQuery("Sex.findAll", 0, 2, null);
            Person m = new Person();
            m.setName(new Name());
            m.getName().setName("John Smith");
            m.setSex(sex.get(0));
            m.setPhotos(new MultiDocument().addDocument(photoJohn).addDocument(house).addDocument(car).addDocument(dog));
            m.setBlog(new Link());
            m.getBlog().setReadableText(new I18nText());
            m.getBlog().getReadableText().add(new Locale("en"), "My tech blog");
            m.getBlog().getReadableText().add(new Locale("es"), "Mi blog de tecnolog�a");
            m.getBlog().setUrl("http://internna.blogspot.com");
            m.getBlog().setTooltipText(new I18nText());
            m.getBlog().getTooltipText().add(new Locale("en"), "A must read!");
            m.getBlog().getTooltipText().add(new Locale("es"), "�De lectura obligada!");
            dao.create(m, false);
            Person f = new Person();
            f.setName(new Name());
            f.getName().setName("Mary Poppins");
            f.setSex(sex.get(1));
            f.setPhotos(new MultiDocument().addDocument(photoMary));
            dao.create(f, false);
            Calendar calendar = Calendar.getInstance();
View Full Code Here

Examples of dilanperera.rapidws.services.campus.admin.Name

    Student[] students = new Student[STUDENT_COUNT];

    for (int currentStudentIndex = 0; currentStudentIndex < STUDENT_COUNT; currentStudentIndex++)
    {
      Student student = new Student();
      Name name = new Name();
      Address address = new Address();
      College college = new College();

      name.setLastName(String.valueOf(currentStudentIndex));

      student.setId(currentStudentIndex);
      student.setName(name);
      student.setAddress(address);
      student.setCollege(college);
View Full Code Here

Examples of easysm.datatypes.Name

  @Before
  public void setUp()
  {
    main = new Main(false);
    Name name = null;
    try {
      name = new Name("Test");
      stPino = new Name("Pino");
      stGino = new Name("Gino");
      stTino = new Name("Tino");
    } catch (InvalidNameException e) {
      //
    }
    ProjectInfo projectInfo = new ProjectInfo(name, "Test", "Test");
    main.doNewProject(projectInfo);
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.