c.getKeyedReference().add(new KeyedReference(domainprefix+"key", "name", "value"));
return c;
}
private static Contacts getContacts() {
Contacts c = new Contacts();
Contact admin = new Contact();
admin.setUseType("it support");
admin.getEmail().add(new Email("admin@localhost", "primary"));
admin.getDescription().add(new Description("the guy in that keeps the lights green", "en"));
admin.getPersonName().add(new PersonName("admin1", "en"));
Address r=new Address();
r.setLang("en");
r.setSortCode("none");
r.setTModelKey(domainprefix + "address");
r.setUseType("mailing address");
r.getAddressLine().add(new AddressLine("keyname","keyval","1313 mockingbird lane"));
admin.getAddress().add(r);
c.getContact().add(admin);
return c;
}