Package org.uddi.api_v2

Examples of org.uddi.api_v2.Contact


                return cc;
        }

        private Contacts ContactEmailUseTypeToolong() {
                Contacts cc = new Contacts();
                Contact c = new Contact();
                PersonName n = new PersonName();
                n.setValue("Bob");
                c.getPersonName().add(n);
                Email m = new Email();
                m.setValue(str255);
                m.setUseType(str256);
                c.getEmail().add(m);
                cc.getContact().add(c);;
                return cc;
        }
View Full Code Here


                return cc;
        }

        private Contacts ContactMaxDescription() {
                Contacts cc = new Contacts();
                Contact c = new Contact();
                PersonName n = new PersonName();
                n.setValue("Bob");
                c.getPersonName().add(n);
                Email m = new Email();
                m.setValue(str255);
                m.setUseType(str255);
                c.getEmail().add(m);
                Description d = new Description();
                d.setLang(str26);
                d.setValue(str255);
                c.getDescription().add(d);
                cc.getContact().add(c);;
                return cc;
        }
View Full Code Here

                return cc;
        }

        private Contacts ContactDescriptionTooLong() {
                Contacts cc = new Contacts();
                Contact c = new Contact();
                PersonName n = new PersonName();
                n.setValue("Bob");
                c.getPersonName().add(n);
                Email m = new Email();
                m.setValue(str255);
                m.setUseType(str255);
                c.getEmail().add(m);
                Description d = new Description();
                d.setLang(str256);
                d.setValue(str26);
                c.getDescription().add(d);
                cc.getContact().add(c);;
                return cc;
        }
View Full Code Here

                return cc;
        }

        private Contacts ContactPhoneTooLong() {
                Contacts cc = new Contacts();
                Contact c = new Contact();
                PersonName n = new PersonName();
                n.setValue("Bob");
                c.getPersonName().add(n);
                Phone p = new Phone();
                p.setValue(str51);
                c.getPhone().add(p);
                cc.getContact().add(c);;
                return cc;
        }
View Full Code Here

                return cc;
        }

        private Contacts ContactPhoneUseTypeTooLong() {
                Contacts cc = new Contacts();
                Contact c = new Contact();
                PersonName n = new PersonName();
                n.setValue("Bob");
                c.getPersonName().add(n);
                Phone p = new Phone();
                p.setValue(str50);
                p.setUseType(str256);
                c.getPhone().add(p);
                cc.getContact().add(c);;
                return cc;
        }
View Full Code Here

                List<Contact> r = new ArrayList<Contact>();
                if (contact == null) {
                        return r;
                }
                for (int i = 0; i < contact.size(); i++) {
                        Contact c = new Contact();
                        c.setUseType(contact.get(i).getUseType());
                        if (contact.get(i).getPersonName() != null) {
                                c.getPersonName().add(new PersonName(contact.get(i).getPersonName(), null));
                        }
                        c.getAddress().addAll(MapAddress(contact.get(i).getAddress()));
                        c.getDescription().addAll(MapDescription(contact.get(i).getDescription()));
                        c.getEmail().addAll(MapEmail(contact.get(i).getEmail()));
                        c.getPhone().addAll(MapPhone(contact.get(i).getPhone()));

                        r.add(c);
                }
                return r;
        }
View Full Code Here

        return cc;
    }

    private Contacts ContactEmailUseTypeToolong() {
        Contacts cc = new Contacts();
        Contact c = new Contact();
        PersonName n = new PersonName();
        n.setValue("Bob");
        c.getPersonName().add(n);
        Email m = new Email();
        m.setValue(str255);
        m.setUseType(str256);
        c.getEmail().add(m);
        cc.getContact().add(c);;
        return cc;
    }
View Full Code Here

        return cc;
    }

    private Contacts ContactMaxDescription() {
        Contacts cc = new Contacts();
        Contact c = new Contact();
        PersonName n = new PersonName();
        n.setValue("Bob");
        c.getPersonName().add(n);
        Email m = new Email();
        m.setValue(str255);
        m.setUseType(str255);
        c.getEmail().add(m);
        Description d = new Description();
        d.setLang(str26);
        d.setValue(str255);
        c.getDescription().add(d);
        cc.getContact().add(c);;
        return cc;
    }
View Full Code Here

        return cc;
    }

    private Contacts ContactDescriptionTooLong() {
        Contacts cc = new Contacts();
        Contact c = new Contact();
        PersonName n = new PersonName();
        n.setValue("Bob");
        c.getPersonName().add(n);
        Email m = new Email();
        m.setValue(str255);
        m.setUseType(str255);
        c.getEmail().add(m);
        Description d = new Description();
        d.setLang(str256);
        d.setValue(str26);
        c.getDescription().add(d);
        cc.getContact().add(c);;
        return cc;
    }
View Full Code Here

        return cc;
    }

    private Contacts ContactPhoneTooLong() {
        Contacts cc = new Contacts();
        Contact c = new Contact();
        PersonName n = new PersonName();
        n.setValue("Bob");
        c.getPersonName().add(n);
        Phone p = new Phone();
        p.setValue(str51);
        c.getPhone().add(p);
        cc.getContact().add(c);;
        return cc;
    }
View Full Code Here

TOP

Related Classes of org.uddi.api_v2.Contact

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.