Examples of Phone


Examples of org.apache.juddi.datatype.Phone

    //contact.setUseType("myAddressUseType");
    contact.setPersonNameValue("Bob Whatever");
    contact.addDescription(new Description("Bob is a big fat jerk"));
    contact.addDescription(new Description("obBay sIay a igBay atFay erkJay","es"));
    contact.addEmail(new Email("bob@whatever.com"));
    contact.addPhone(new Phone("(603)559-1901"));
    contact.addAddress(address);

    System.out.println();

    RegistryObject regObject = contact;
View Full Code Here

Examples of org.apache.juddi.datatype.Phone

    contact.setUseType("myAddressUseType");
    contact.setPersonNameValue("Bob Whatever");
    contact.addDescription(new Description("Bob is a big fat jerk"));
    contact.addDescription(new Description("obBay sIay a igBay atFay erkJay","es"));
    contact.addEmail(new Email("bob@whatever.com"));
    contact.addPhone(new Phone("(603)559-1901"));
    contact.addAddress(address);

    Contacts contacts = new Contacts();
    contacts.addContact(contact);
View Full Code Here

Examples of org.apache.juddi.datatype.Phone

    contact.setUseType("myAddressUseType");
    contact.setPersonNameValue("Bob Whatever");
    contact.addDescription(new Description("Bob is a big fat jerk"));
    contact.addDescription(new Description("obBay sIay a igBay atFay erkJay","es"));
    contact.addEmail(new Email("bob@whatever.com"));
    contact.addPhone(new Phone("(603)559-1901"));
    contact.addAddress(address);

    Contacts contacts = new Contacts();
    contacts.addContact(contact);
View Full Code Here

Examples of org.apache.juddi.datatype.Phone

    contact.setUseType("myAddressUseType");
    contact.setPersonNameValue("Bob Whatever");
    contact.addDescription(new Description("Bob is a big fat jerk"));
    contact.addDescription(new Description("obBay sIay a igBay atFay erkJay","es"));
    contact.addEmail(new Email("bob@whatever.com"));
    contact.addPhone(new Phone("(603)559-1901"));
    contact.addAddress(address);

    Contacts contacts = new Contacts();
    contacts.addContact(contact);
View Full Code Here

Examples of org.apache.openjpa.persistence.datacache.entities.Phone

        Person p = null;
        EntityManager em = emf.createEntityManager();
        try {
            p = new Person();
            ContactInfo ci = new ContactInfo();
            Phone phone = new Phone();

            p.setCi(ci);
            ci.setPhone(phone);
            phone.setOwner(p);

            p.setFirst("first");
            p.setMiddle("middle");
            p.setLast("last");

            phone.setNumber("507-555-1076");
            phone.setSomethingElse("something-" + System.currentTimeMillis());

            ci.setCity("cittttY");
            ci.setStreet("street-" + System.currentTimeMillis());
            ci.setZip("90210");
View Full Code Here

Examples of org.apache.ws.scout.model.uddi.v2.Phone

            Iterator it = ph.iterator();
      int phonearrPos = 0;
      while (it.hasNext()) {
                TelephoneNumber t = (TelephoneNumber) it.next();
        Phone phone = objectFactory.createPhone();
                String str = t.getNumber();
                log.debug("Telephone=" + str);
       
        // FIXME: If phone number is null, should the phone
        // not be set at all, or set to empty string?
        if (str != null) {
          phone.setValue(str);
        } else {
          phone.setValue("");
        }

        phonearr[phonearrPos] = phone;
        phonearrPos++;
            }
View Full Code Here

Examples of org.apache.ws.scout.uddi.Phone

            Iterator it = ph.iterator();
      int phonearrPos = 0;
      while (it.hasNext()) {
                TelephoneNumber t = (TelephoneNumber) it.next();
        Phone phone = Phone.Factory.newInstance();
                String str = t.getNumber();
                log.debug("Telephone=" + str);
       
        // FIXME: If phone number is null, should the phone
        // not be set at all, or set to empty string?
        if (str != null) {
          phone.setStringValue(str);
        } else {
          phone.setStringValue("");
        }

        phonearr[phonearrPos] = phone;
        phonearrPos++;
            }
View Full Code Here

Examples of org.broadleafcommerce.profile.core.domain.Phone

                        + " as a country abbreviation in BLC_COUNTRY");
            }
            billingAddress.setCountry(country);

            if (billToDTO.getAddressPhone() != null) {
                Phone billingPhone = phoneService.create();
                billingPhone.setPhoneNumber(billToDTO.getAddressPhone());
                billingAddress.setPhonePrimary(billingPhone);
            }
        }

        payment.setBillingAddress(billingAddress);
View Full Code Here

Examples of org.dozer.vo.deepindex.isaccessible.Phone

  public void testDeepMapIndexedIsAccessible() throws Exception {
    mapper = getMapper(new String[] { "deepMappingWithIndexAndIsAccessible.xml" });

    Person source = newInstance(Person.class);
    Vector<Phone> phonesList = new Vector<Phone>();
    Phone phone = new Phone();
    phone.setNumber("911");
    phonesList.add(phone);
    source.phones = phonesList;
    FlatPerson dest = newInstance(FlatPerson.class);

    mapper.map(source, dest);
View Full Code Here

Examples of org.fenixedu.academic.domain.contacts.Phone

            return null;
        }
    }

    public Phone getDefaultPhone() {
        Phone defaultPhone = getPerson().getDefaultPhone();
        if (defaultPhone != null) {
            return defaultPhone;
        }
        final List<Phone> pendingPhones = getPerson().getPendingPhones();
        for (Phone phone : pendingPhones) {
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.