/** * Create an instance of {@link Phone } * */ public Phone createPhone() { return new Phone(); }
private static List<Phone> MapPhone(List<org.uddi.api_v3.Phone> phone) { List<Phone> r = new ArrayList<Phone>(); if (phone == null) { return r; } for (int i = 0; i < phone.size(); i++) { Phone x = new Phone(); x.setUseType(phone.get(i).getUseType()); x.setValue(phone.get(i).getValue()); r.add(x); } return r; }