final Pattern pattern = Pattern.compile("^\\+[\\d \\.\\(\\)\\-/]+");
return pattern.matcher(telephoneNumber).matches();
}
public static void populateAgent(Agent agent, String id, String name, org.folg.gedcom.model.Address address, String phone, String fax, String email, String www) {
agent.setId(id);
<BUG>agent.setName(name);
if(address != null) {</BUG>
agent.setAddresses(new ArrayList<Address>());
Address gedxAddress = new Address();
gedxAddress.setValue(address.getValue());

final Pattern pattern = Pattern.compile("^\\+[\\d \\.\\(\\)\\-/]+");
return pattern.matcher(telephoneNumber).matches();
}
public static void populateAgent(Agent agent, String id, String name, org.folg.gedcom.model.Address address, String phone, String fax, String email, String www) {
agent.setId(id);
agent.setNames(Arrays.asList(new TextValue(name)));
if(address != null) {
agent.setAddresses(new ArrayList<Address>());
Address gedxAddress = new Address();
gedxAddress.setValue(address.getValue());
